2020-03-13 08:15:57 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, itk, python3 }:
|
2017-05-23 15:12:23 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-10 10:34:29 -07:00
|
|
|
pname = "elastix";
|
2019-10-22 12:24:51 -07:00
|
|
|
version = "5.0.0";
|
2017-05-23 15:12:23 -07:00
|
|
|
|
2019-10-22 12:24:51 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SuperElastix";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1zrl7rz4lwsx88b2shnl985f3a97lmp4ksbd437h9y0hfjq8l0lj";
|
2017-05-23 15:12:23 -07:00
|
|
|
};
|
2020-03-13 08:15:57 -07:00
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
2017-05-23 15:12:23 -07:00
|
|
|
buildInputs = [ itk ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://elastix.isi.uu.nl/";
|
2017-05-23 15:12:23 -07:00
|
|
|
description = "Image registration toolkit based on ITK";
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
2017-07-19 14:41:14 -07:00
|
|
|
platforms = platforms.linux;
|
2017-05-23 15:12:23 -07:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|