libminc: 2018-01-17 -> 2.4.03 and disable broken checkPhase on OSX
This commit is contained in:
parent
eadb57d494
commit
52d15ab28b
@ -1,17 +1,16 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, zlib, netcdf, nifticlib, hdf5 }:
|
{ stdenv, fetchFromGitHub, cmake, zlib, netcdf, nifticlib, hdf5 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libminc";
|
pname = "libminc";
|
||||||
name = "${pname}-2018-01-17";
|
version = "2.4.03";
|
||||||
|
|
||||||
owner = "BIC-MNI";
|
owner = "BIC-MNI";
|
||||||
|
|
||||||
# current master is significantly ahead of most recent release, so use Git version:
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner;
|
inherit owner;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "a9cbe1353eae9791b7d5b03af16e0f86922ce40b";
|
rev = "release-${version}";
|
||||||
sha256 = "0mn4n3ihzcr1jw2g1vy6c8p4lkc88jwljk04argmj7k4djrgpxpa";
|
sha256 = "0kpmqs9df836ywsqj749qbsfavf5bnldblxrmnmxqq9pywc8yfrm";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -27,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-DLIBMINC_USE_SYSTEM_NIFTI=ON"
|
"-DLIBMINC_USE_SYSTEM_NIFTI=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.isDarwin;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export LD_LIBRARY_PATH="$(pwd)" # see #22060
|
export LD_LIBRARY_PATH="$(pwd)" # see #22060
|
||||||
ctest -E 'ezminc_rw_test|minc_conversion' --output-on-failure
|
ctest -E 'ezminc_rw_test|minc_conversion' --output-on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user