ezminc: init at 2017-08-29
This commit is contained in:
parent
c9db4cabc8
commit
de2f36982b
32
pkgs/applications/science/biology/EZminc/default.nix
Normal file
32
pkgs/applications/science/biology/EZminc/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libminc, bicpl, itk, fftwFloat, gsl }:
|
||||
|
||||
stdenv.mkDerivation rec { pname = "EZminc";
|
||||
name = "${pname}-2017-08-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BIC-MNI";
|
||||
repo = pname;
|
||||
rev = "4e017236cb6e7f6e07507446b18b759c584b6fc3";
|
||||
sha256 = "1pg06x42pgsg7zy7dz9wf6ajakkm2n8by64lg9z64qi8qqy82b8v";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ itk libminc bicpl fftwFloat gsl ];
|
||||
|
||||
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/"
|
||||
"-DEZMINC_BUILD_TOOLS=TRUE"
|
||||
"-DEZMINC_BUILD_MRFSEG=TRUE"
|
||||
"-DEZMINC_BUILD_DD=TRUE" ];
|
||||
|
||||
checkPhase = "ctest --output-on-failure ../tests/"; # but ctest doesn't find the tests ...
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/BIC-MNI/${pname}";
|
||||
description = "Collection of Perl and shell scripts for processing MINC files";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.free;
|
||||
};
|
||||
}
|
@ -19739,6 +19739,8 @@ with pkgs;
|
||||
|
||||
emboss = callPackage ../applications/science/biology/emboss { };
|
||||
|
||||
ezminc = callPackage ../applications/science/biology/EZminc { };
|
||||
|
||||
htslib = callPackage ../development/libraries/science/biology/htslib { };
|
||||
|
||||
igv = callPackage ../applications/science/biology/igv { };
|
||||
|
Loading…
Reference in New Issue
Block a user