itk4: 4.13.2 -> 4.13.3
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
{ stdenv, fetchurl, cmake, libX11, libuuid, xz, vtk_7 }:
|
||||
{ stdenv, fetchFromGitHub, cmake, libX11, libuuid, xz, vtk_7, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "itk-4.13.2";
|
||||
pname = "itk";
|
||||
version = "4.13.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/itk/InsightToolkit-4.13.2.tar.xz";
|
||||
sha256 = "19cgfpd63gqrvc3m27m394gy2d7w79g5y6lvznb5qqr49lihbgns";
|
||||
src = fetchFromGitHub {
|
||||
owner = "InsightSoftwareConsortium";
|
||||
repo = "ITK";
|
||||
rev = "v${version}";
|
||||
sha256 = "067vkh39jxcvyvn69qjh4vi3wa7vdvm9m6qsg3jmnmm7gzw0kjlm";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -22,11 +25,11 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ cmake xz ];
|
||||
buildInputs = [ libX11 libuuid vtk_7 ];
|
||||
buildInputs = [ libX11 libuuid vtk_7 ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
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];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
|
||||
Reference in New Issue
Block a user