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

24 lines
614 B
Nix
Raw Normal View History

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";
version = "5.0.0";
2017-05-23 15:12:23 -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; {
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 ];
platforms = platforms.linux;
2017-05-23 15:12:23 -07:00
license = licenses.asl20;
};
}