1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/libraries/itk/default.nix
Lluís Batlle i Rossell 7a5a0c24df Updating itk to 4.0.0, so they may also build in stdenv-updates.
svn path=/nixpkgs/trunk/; revision=32603
2012-02-26 21:23:59 +00:00

26 lines
677 B
Nix

{stdenv, fetchurl, cmake, libX11, libuuid, xz}:
stdenv.mkDerivation rec {
name = "itk-4.0.0";
src = fetchurl {
url = mirror://sourceforge/itk/InsightToolkit-4.0.0.tar.xz;
sha256 = "05z49sw612cbyiaghcsda0xylrkf06jh81ql79si5632w1hpgbd9";
};
cmakeFlags = [ "-DBUILD_TESTING=OFF" "-DBUILD_EXAMPLES=OFF" ];
enableParallelBuilding = true;
buildNativeInputs = [ cmake xz ];
buildInputs = [ 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;
};
}