Merge pull request #23376 from bcdarwin/ants
ANTs: init at 2.1.0 (0gyys1lf) and update ITK accordingly
This commit is contained in:
commit
4d5f33deff
|
@ -48,4 +48,8 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ cmake wxGTK itk mesa libXft libXext libXi zlib libXmu libuuid ];
|
buildInputs = [ cmake wxGTK itk mesa libXft libXext libXi zlib libXmu libuuid ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
broken = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, fetchFromGitHub, cmake, itk, vtk }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
_name = "ANTs";
|
||||||
|
_version = "2.1.0";
|
||||||
|
name = "${_name}-${_version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stnava";
|
||||||
|
repo = "ANTs";
|
||||||
|
rev = "4e02aa76621698e3513330dd9e863e22917e14b7";
|
||||||
|
sha256 = "0gyys1lf69bl3569cskxc8r5llwcr0dsyzvlby5skhfpsyw0dh8r";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ itk vtk ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
||||||
|
|
||||||
|
checkPhase = "ctest";
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/stnava/ANTs;
|
||||||
|
description = "Advanced normalization toolkit for medical image registration and other processing";
|
||||||
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, cmake, libX11, libuuid, xz}:
|
{ stdenv, fetchurl, cmake, libX11, libuuid, xz, vtk }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "itk-4.10.0";
|
name = "itk-4.10.0";
|
||||||
|
@ -12,12 +12,15 @@ stdenv.mkDerivation rec {
|
||||||
"-DBUILD_TESTING=OFF"
|
"-DBUILD_TESTING=OFF"
|
||||||
"-DBUILD_EXAMPLES=OFF"
|
"-DBUILD_EXAMPLES=OFF"
|
||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
|
"-DModule_ITKIOMINC=ON"
|
||||||
|
"-DModule_ITKVtkGlue=ON"
|
||||||
|
"-DModule_ITKReview=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake xz ];
|
nativeBuildInputs = [ cmake xz ];
|
||||||
buildInputs = [ libX11 libuuid ];
|
buildInputs = [ libX11 libuuid vtk ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Insight Segmentation and Registration Toolkit";
|
description = "Insight Segmentation and Registration Toolkit";
|
||||||
|
|
|
@ -17063,6 +17063,8 @@ with pkgs;
|
||||||
|
|
||||||
alliance = callPackage ../applications/science/electronics/alliance { };
|
alliance = callPackage ../applications/science/electronics/alliance { };
|
||||||
|
|
||||||
|
ants = callPackage ../applications/science/biology/ants { };
|
||||||
|
|
||||||
archimedes = callPackage ../applications/science/electronics/archimedes {
|
archimedes = callPackage ../applications/science/electronics/archimedes {
|
||||||
stdenv = overrideCC stdenv gcc49;
|
stdenv = overrideCC stdenv gcc49;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue