Adding the itk libraries.
Adding a skeleton of the seg3d package. It builds, but libraries and rpaths are wrong. I hope to fix it soon. svn path=/nixpkgs/trunk/; revision=20320
This commit is contained in:
24
pkgs/development/libraries/itk/default.nix
Normal file
24
pkgs/development/libraries/itk/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{stdenv, fetchurl, cmake, libX11, libuuid}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "itk-3.16.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/itk/InsightToolkit-3.16.0.tar.gz;
|
||||
sha256 = "18r021ib2g94qlajjsny0r6cpc61rmr0zrpb2l0mx1y7j9ckr6ks";
|
||||
};
|
||||
|
||||
cmakeFlags = [ "-DBUILD_TESTING=OFF" "-DBUILD_EXAMPLES=OFF" ];
|
||||
|
||||
# makeFlags = [ "VERBOSE=1" ];
|
||||
|
||||
buildInputs = [ cmake libX11 libuuid ];
|
||||
|
||||
meta = {
|
||||
description = "Insight Segmentation and Registration Toolkit";
|
||||
homepage = http://www.itk.org/;
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user