diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix b/nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix new file mode 100644 index 000000000000..9c99ee6027dd --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix @@ -0,0 +1,21 @@ +{ lib, 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"; + }; + + nativeBuildInputs = [ cmake ]; + + meta = { + description = "C++ implementation of the OpenTracing API"; + homepage = "https://opentracing.io"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ rob ]; + }; + +} |