9b784e9309
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/itk/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 4.13.0 with grep in /nix/store/9dfpbhp02y597y9zw3xvdcjsb8w3gqjv-itk-4.13.0 - directory tree listing: https://gist.github.com/4a6da5cc90a5718caa480eba957def8f
33 lines
856 B
Nix
33 lines
856 B
Nix
{ stdenv, fetchurl, fetchpatch, cmake, libX11, libuuid, xz, vtk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "itk-4.13.0";
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/itk/InsightToolkit-4.13.0.tar.xz;
|
|
sha256 = "09d1gmqx3wbdfgwf7r91r12m2vknviv0i8wxwh2q9w1vrpizrczy";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DBUILD_TESTING=OFF"
|
|
"-DBUILD_EXAMPLES=OFF"
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
"-DModule_ITKIOMINC=ON"
|
|
"-DModule_ITKVtkGlue=ON"
|
|
"-DModule_ITKReview=ON"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
nativeBuildInputs = [ cmake xz ];
|
|
buildInputs = [ libX11 libuuid vtk ];
|
|
|
|
meta = {
|
|
description = "Insight Segmentation and Registration Toolkit";
|
|
homepage = http://www.itk.org/;
|
|
license = stdenv.lib.licenses.asl20;
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|