12 stdenv.mkDerivation rec {
14 version = "unstable-2014-10-21";
16 src = fetchFromGitHub {
19 rev = "79cea9cdfe7b99abfd40afda89ab2253b596ad2f";
20 sha256 = "1ahqv5q0ljvji99a5q8azjkdf6bgp6nr8lwivkqwqs3jm0k5clq7";
25 ./nu_correct_norm-interp.patch
29 substituteInPlace inormalize.cc \
30 --replace "clamp" "::clamp"
41 propagatedBuildInputs = with perlPackages; [
48 "-DLIBMINC_DIR=${libminc}/lib/cmake"
49 "-DEBTKS_DIR=${ebtks}/lib/"
53 for p in $out/bin/*; do
54 wrapProgram $p --prefix PERL5LIB : $PERL5LIB
59 homepage = "https://github.com/BIC-MNI/${pname}";
60 description = "Program to normalize intensity of MINC files";
61 maintainers = with maintainers; [ bcdarwin ];
62 platforms = platforms.unix;
63 license = licenses.free;