summary refs log tree commit diff
path: root/pkgs/development/libraries/science/biology/elastix/default.nix
blob: 5f4cbbaa5670d8f63ba5e9940b6a64b9b1f079bb (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, fetchurl, cmake, itk, python }:

stdenv.mkDerivation rec {
  pname    = "elastix";
  pversion = "4.9.0";
  name  = "${pname}-${pversion}";

  src = fetchurl {
    url    = "https://github.com/SuperElastix/${pname}/archive/${pversion}.tar.gz";
    sha256 = "02pbln36nq98xxfyqwlxg7b6gmigdq4fgfqr9mym1qn58aj04shg";
  };

  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;
  };
}