about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/opentracing-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/opentracing-cpp')
-rw-r--r--nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix21
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..c11098c52ab8
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/opentracing-cpp/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchFromGitHub, cmake }:
+stdenv.mkDerivation rec {
+  name = "opentracing-cpp-${version}";
+  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 = http://opentracing.io;
+    license = stdenv.lib.licenses.asl20;
+    maintainers = with stdenv.lib.maintainers; [ rob ];
+  };
+
+}
+