@@ -1,10 +1,11 @@
11{ stdenv, fetchFromGitHub, cmake }:
2−stdenv.mkDerivation {
3− name = "opentracing-cpp";
2+stdenv.mkDerivation rec {
3+ name = "opentracing-cpp-${version}";
4+ version = "1.5.0";
45 src = fetchFromGitHub {
56 owner = "opentracing";
67 repo = "opentracing-cpp";
7− rev = "v1.5.0";
8+ rev = "v${version}";
89 sha256 = "09hxj59vvz1ncbx4iblgfc3b5i74hvb3vx5245bwwwfkx5cnj1gg";
910 };
1011 buildInputs = [ cmake ];