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:
Ben Darwin 2018-05-09 13:50:01 -07:00 committed by Matthew Justin Bauer
parent 8a98cf97e9
commit 1e50e178ae
2 changed files with 31 additions and 0 deletions

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

View File

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