nixpkgs-suyu/pkgs/development/libraries/opentracing-cpp/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
540 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "opentracing-cpp";
version = "1.5.1";
src = fetchFromGitHub {
owner = "opentracing";
repo = "opentracing-cpp";
rev = "v${version}";
sha256 = "04kw19g8qrv3kd40va3sqbfish7kfczkdpxdwraifk9950wfs3gx";
};
buildInputs = [ cmake ];
meta = {
description = "C++ implementation of the OpenTracing API";
homepage = https://opentracing.io;
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [ rob ];
};
}