From 13649b9eee16174f2e90369cfe68b017ea1d1014 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 23 Oct 2018 18:15:05 +0200 Subject: [PATCH] opentracing-cpp: fix version in derivation (cherry picked from commit df29219f5118dd1ae1d02108aeea4484e20d67e8) --- pkgs/development/libraries/opentracing-cpp/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ];