aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/simpleitk
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-13 18:48:02 +0200
committerMarek Mahut <marek.mahut@gmail.com>2019-08-19 13:44:15 +0200
commitaa239e96b4c0b3c813371c4d93cf59b8d6cf1dc2 (patch)
tree5ab5f627106aac433124a615fa008fc1595c59c0 /pkgs/development/libraries/simpleitk
parent391945170ce8292ce751fac37feec002a9fcffdd (diff)
simpleitk: 1.2.0 -> 1.2.2
Changing the source from sourceforge to github.
Diffstat (limited to 'pkgs/development/libraries/simpleitk')
-rw-r--r--pkgs/development/libraries/simpleitk/default.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/libraries/simpleitk/default.nix b/pkgs/development/libraries/simpleitk/default.nix
index 90dfe8ebfab8..1cf40c92db66 100644
--- a/pkgs/development/libraries/simpleitk/default.nix
+++ b/pkgs/development/libraries/simpleitk/default.nix
@@ -1,13 +1,14 @@
-{ stdenv, fetchurl, cmake, git, swig, lua, itk }:
+{ stdenv, fetchFromGitHub, cmake, git, swig, lua, itk, tcl, tk }:
stdenv.mkDerivation rec {
- pname = "simpleitk";
- version = "1.2.0";
- name = "${pname}-${version}";
+ pname = "simpleitk";
+ version = "1.2.2";
- src = fetchurl {
- url = "https://sourceforge.net/projects/${pname}/files/SimpleITK/${version}/Source/SimpleITK-${version}.tar.gz";
- sha256 = "10lxsr0144li6bmfgs646cvczczqkgmvvs3ndds66q8lg9zwbnky";
+ src = fetchFromGitHub {
+ owner = "SimpleITK";
+ repo = "SimpleITK";
+ rev = "v${version}";
+ sha256 = "1cgq9cxxplv6bkm2zfvcc0lgyh5zw1hbry30k1429n9737wnadaw";
};
nativeBuildInputs = [ cmake git swig ];
@@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
homepage = http://www.simpleitk.org;
description = "Simplified interface to ITK";
maintainers = with maintainers; [ bcdarwin ];
- platforms = platforms.unix;
+ platforms = platforms.linux;
license = licenses.asl20;
};
}