mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
simpleitk: 1.2.4 -> 2.0.0
This commit is contained in:
parent
8403806a39
commit
502721e0a5
@ -1,25 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, git, swig, lua, itk4, tcl, tk }:
|
||||
{ stdenv, fetchFromGitHub, cmake, swig, lua, itk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "simpleitk";
|
||||
version = "1.2.4";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SimpleITK";
|
||||
repo = "SimpleITK";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dvf2407z9n6lczm0l5vzcvpw6r6z1wzrs2gk3dqjrgynq6952qr";
|
||||
sha256 = "1nf3cl3ywqg04446xhkb97kcashrgibsihxn2sqrs81i9d0rw5kn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake git swig ];
|
||||
buildInputs = [ lua itk4 ];
|
||||
nativeBuildInputs = [ cmake swig ];
|
||||
buildInputs = [ lua itk ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
# 2.0.0: linker error building examples
|
||||
cmakeFlags = [ "-DBUILD_EXAMPLES=OFF" "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.simpleitk.org";
|
||||
homepage = "https://www.simpleitk.org";
|
||||
description = "Simplified interface to ITK";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.linux;
|
||||
|
@ -15340,9 +15340,7 @@ in
|
||||
|
||||
simp_le = callPackage ../tools/admin/simp_le { };
|
||||
|
||||
simpleitk = callPackage ../development/libraries/simpleitk {
|
||||
lua = lua51Packages.lua;
|
||||
};
|
||||
simpleitk = callPackage ../development/libraries/simpleitk { };
|
||||
|
||||
sfml = callPackage ../development/libraries/sfml {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit Foundation AppKit OpenAL;
|
||||
|
Loading…
Reference in New Issue
Block a user