docopt_cpp: 0.6.2 -> 0.6.3
This commit is contained in:
parent
45d0002b90
commit
f1e713feb1
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, python }:
|
{ stdenv, fetchFromGitHub, cmake, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.6.2";
|
version = "0.6.3";
|
||||||
pname = "docopt.cpp";
|
pname = "docopt.cpp";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "docopt";
|
owner = "docopt";
|
||||||
repo = "docopt.cpp";
|
repo = "docopt.cpp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rgkc8nsc2zz2lkyai0y68vrd6i6kbq63hm3vdza7ab6ghq0n1dd";
|
sha256 = "0cz3vv7g5snfbsqcf3q8bmd6kv5qp84gj3avwkn4vl00krw13bl7";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python ];
|
||||||
|
@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace docopt.pc.in \
|
||||||
|
--replace "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@" \
|
||||||
|
"@CMAKE_INSTALL_LIBDIR@"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = "LD_LIBRARY_PATH=$(pwd) python ./run_tests";
|
checkPhase = "LD_LIBRARY_PATH=$(pwd) python ./run_tests";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -27,4 +33,3 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ knedlsepp ];
|
maintainers = with maintainers; [ knedlsepp ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue