diff --git a/pkgs/development/libraries/opentracing-cpp/default.nix b/pkgs/development/libraries/opentracing-cpp/default.nix index e4bb9bb8ca50..3b0354b9fe8e 100644 --- a/pkgs/development/libraries/opentracing-cpp/default.nix +++ b/pkgs/development/libraries/opentracing-cpp/default.nix @@ -1,10 +1,11 @@ { stdenv, fetchFromGitHub, cmake }: -stdenv.mkDerivation { - name = "opentracing-cpp"; +stdenv.mkDerivation rec { + name = "opentracing-cpp-${version}"; + version = "1.5.0"; src = fetchFromGitHub { owner = "opentracing"; repo = "opentracing-cpp"; - rev = "v1.5.0"; + rev = "v${version}"; sha256 = "09hxj59vvz1ncbx4iblgfc3b5i74hvb3vx5245bwwwfkx5cnj1gg"; }; buildInputs = [ cmake ];