nixpkgs/pkgs/development/libraries/science/biology/elastix/default.nix

25 lines
664 B
Nix
Raw Normal View History

2018-04-10 17:34:29 +00:00
{ stdenv, fetchurl, cmake, itk, python }:
2017-05-23 22:12:23 +00:00
stdenv.mkDerivation rec {
2018-04-10 17:34:29 +00:00
pname = "elastix";
pversion = "4.9.0";
name = "${pname}-${pversion}";
2017-05-23 22:12:23 +00:00
2018-04-10 17:34:29 +00:00
src = fetchurl {
url = "https://github.com/SuperElastix/${pname}/archive/${pversion}.tar.gz";
sha256 = "02pbln36nq98xxfyqwlxg7b6gmigdq4fgfqr9mym1qn58aj04shg";
2017-05-23 22:12:23 +00:00
};
nativeBuildInputs = [ cmake python ];
buildInputs = [ itk ];
meta = with stdenv.lib; {
homepage = http://elastix.isi.uu.nl/;
description = "Image registration toolkit based on ITK";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux;
2017-05-23 22:12:23 +00:00
license = licenses.asl20;
broken = true;
2017-05-23 22:12:23 +00:00
};
}