about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/science/biology/elastix/default.nix
blob: 4cfc07c1cbaab8960942abdebd03fcbf999167ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, cmake, itk, python }:

stdenv.mkDerivation rec {
  pname    = "elastix";
  version = "5.0.0";

  src = fetchFromGitHub {
    owner  = "SuperElastix";
    repo   = pname;
    rev    = version;
    sha256 = "1zrl7rz4lwsx88b2shnl985f3a97lmp4ksbd437h9y0hfjq8l0lj";
  };
  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;
    license = licenses.asl20;
  };
}