nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix

22 lines
540 B
Nix
Raw Normal View History

{ 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 ];
};
}