opentracing-cpp: fix version in derivation

(cherry picked from commit df29219f5118dd1ae1d02108aeea4484e20d67e8)
This commit is contained in:
Rob Vermaas 2018-10-23 18:15:05 +02:00
parent 75167083e5
commit 13649b9eee

View File

@ -1,10 +1,11 @@
{ stdenv, fetchFromGitHub, cmake }: { stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "opentracing-cpp"; name = "opentracing-cpp-${version}";
version = "1.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opentracing"; owner = "opentracing";
repo = "opentracing-cpp"; repo = "opentracing-cpp";
rev = "v1.5.0"; rev = "v${version}";
sha256 = "09hxj59vvz1ncbx4iblgfc3b5i74hvb3vx5245bwwwfkx5cnj1gg"; sha256 = "09hxj59vvz1ncbx4iblgfc3b5i74hvb3vx5245bwwwfkx5cnj1gg";
}; };
buildInputs = [ cmake ]; buildInputs = [ cmake ];