itk4: 4.13.2 -> 4.13.3

This commit is contained in:
Ben Darwin
2020-08-16 19:47:10 +00:00
committed by Alyssa Ross
parent bf48f0f535
commit 9b589c7c9a
2 changed files with 15 additions and 14 deletions
+10 -7
View File
@@ -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;