diff options
author | Ben Darwin <bcdarwin@gmail.com> | 2020-08-03 19:08:57 -0400 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-08-16 19:47:10 +0000 |
commit | 9b589c7c9ad67e1296ad80556bb3f6d5b370a655 (patch) | |
tree | 659b1b9ef10bf4a7a6da5f44aad54b98be183d9b /pkgs/development/libraries/itk | |
parent | bf48f0f535cbd55a60d0496a08c2d28069f1bb9a (diff) |
itk4: 4.13.2 -> 4.13.3
Diffstat (limited to 'pkgs/development/libraries/itk')
-rw-r--r-- | pkgs/development/libraries/itk/4.x.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/itk/4.x.nix b/pkgs/development/libraries/itk/4.x.nix index cd8e70a99767b..112b77650d299 100644 --- a/pkgs/development/libraries/itk/4.x.nix +++ b/pkgs/development/libraries/itk/4.x.nix @@ -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; |