1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/itk/default.nix
Lluís Batlle i Rossell cc068f0be8 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
2010-03-01 23:31:35 +00:00

25 lines
645 B
Nix

{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;
};
}