1{ lib, stdenv, fetchFromGitHub, cmake }: 2stdenv.mkDerivation rec { 3 pname = "opentracing-cpp"; 4 version = "1.5.1"; 5 src = fetchFromGitHub { 6 owner = "opentracing"; 7 repo = "opentracing-cpp"; 8 rev = "v${version}"; 9 sha256 = "04kw19g8qrv3kd40va3sqbfish7kfczkdpxdwraifk9950wfs3gx"; 10 }; 11 12 nativeBuildInputs = [ cmake ]; 13 14 meta = { 15 description = "C++ implementation of the OpenTracing API"; 16 homepage = "https://opentracing.io"; 17 license = lib.licenses.asl20; 18 maintainers = with lib.maintainers; [ rob ]; 19 }; 20 21}