nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, cmake }:
2stdenv.mkDerivation rec {
3 name = "opentracing-cpp-${version}";
4 version = "1.5.0";
5 src = fetchFromGitHub {
6 owner = "opentracing";
7 repo = "opentracing-cpp";
8 rev = "v${version}";
9 sha256 = "09hxj59vvz1ncbx4iblgfc3b5i74hvb3vx5245bwwwfkx5cnj1gg";
10 };
11 buildInputs = [ cmake ];
12
13 meta = {
14 description = "C++ implementation of the OpenTracing API";
15 homepage = http://opentracing.io;
16 license = stdenv.lib.licenses.asl20;
17 maintainers = with stdenv.lib.maintainers; [ rob ];
18 };
19
20}
21