itk: 5.0.1 -> 5.1.0
This commit is contained in:
parent
e72b2beab0
commit
404834334b
@ -1,14 +1,15 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libX11, libuuid, xz, vtk, darwin }:
|
||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper
|
||||
, pkgconfig, libX11, libuuid, xz, vtk, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "itk";
|
||||
version = "5.0.1";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "InsightSoftwareConsortium";
|
||||
repo = "ITK";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dcjsn5frjnrphfgw8alnd2ahrvicpx2a2ngb5ixaa9anaicz9z1";
|
||||
sha256 = "0rvkp00xj1js60021jv2ydyl74wvbyb205gm9d7hf8gy2q456hgl";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
@ -23,12 +24,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake xz ];
|
||||
buildInputs = [ libX11 libuuid vtk ] ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
|
||||
nativeBuildInputs = [ cmake xz makeWrapper ];
|
||||
buildInputs = [ libX11 libuuid vtk ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/h5c++" --prefix PATH ":" "${pkgconfig}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Insight Segmentation and Registration Toolkit";
|
||||
homepage = "http://www.itk.org/";
|
||||
homepage = "https://www.itk.org/";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
};
|
||||
|
@ -12285,7 +12285,7 @@ in
|
||||
itk4 = callPackage ../development/libraries/itk/4.x.nix { stdenv = gcc8Stdenv; };
|
||||
|
||||
itk = callPackage ../development/libraries/itk {
|
||||
stdenv = gcc8Stdenv;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
jasper = callPackage ../development/libraries/jasper { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user