mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
cc068f0be8
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
25 lines
645 B
Nix
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;
|
|
};
|
|
}
|