mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
simpleitk: 1.2.0 -> 1.2.2
Changing the source from sourceforge to github.
This commit is contained in:
parent
391945170c
commit
aa239e96b4
@ -1,13 +1,14 @@
|
|||||||
{ stdenv, fetchurl, cmake, git, swig, lua, itk }:
|
{ stdenv, fetchFromGitHub, cmake, git, swig, lua, itk, tcl, tk }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "simpleitk";
|
pname = "simpleitk";
|
||||||
version = "1.2.0";
|
version = "1.2.2";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://sourceforge.net/projects/${pname}/files/SimpleITK/${version}/Source/SimpleITK-${version}.tar.gz";
|
owner = "SimpleITK";
|
||||||
sha256 = "10lxsr0144li6bmfgs646cvczczqkgmvvs3ndds66q8lg9zwbnky";
|
repo = "SimpleITK";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1cgq9cxxplv6bkm2zfvcc0lgyh5zw1hbry30k1429n9737wnadaw";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake git swig ];
|
nativeBuildInputs = [ cmake git swig ];
|
||||||
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://www.simpleitk.org;
|
homepage = http://www.simpleitk.org;
|
||||||
description = "Simplified interface to ITK";
|
description = "Simplified interface to ITK";
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.linux;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user