simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings) (#27451)
* conglomerate: init at 2017-09-10 * simpleitk: init at 1.1.0 (note this only builds the C++ libs, not the Python/Lua/... bindings)
This commit is contained in:
parent
8a98cf97e9
commit
1e50e178ae
29
pkgs/development/libraries/simpleitk/default.nix
Normal file
29
pkgs/development/libraries/simpleitk/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl, cmake, git, swig, lua, itk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "simpleitk";
|
||||
version = "1.0.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://sourceforge.net/projects/${pname}/files/SimpleITK/${version}/Source/SimpleITK-${version}.tar.gz";
|
||||
sha256 = "0554j0zp314zhs8isfg31fi6gvsl7xq3xjyyxkx1b1mjkn5qx673";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake git swig ];
|
||||
buildInputs = [ lua itk ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];
|
||||
|
||||
checkPhase = "ctest";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.simpleitk.org;
|
||||
description = "Simplified interface to ITK";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
@ -11519,6 +11519,8 @@ with pkgs;
|
||||
|
||||
simp_le = callPackage ../tools/admin/simp_le { };
|
||||
|
||||
simpleitk = callPackage ../development/libraries/simpleitk { lua = lua51Packages.lua; };
|
||||
|
||||
sfml = callPackage ../development/libraries/sfml { };
|
||||
csfml = callPackage ../development/libraries/csfml { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user