forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
664 B
Nix
24 lines
664 B
Nix
{ stdenv, fetchurl, cmake, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "niftyreg";
|
|
version = "1.3.9";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/${pname}/nifty_reg-${version}/nifty_reg-${version}.tar.gz";
|
|
sha256 = "07v9v9s41lvw72wpb1jgh2nzanyc994779bd35p76vg8mzifmprl";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ zlib ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftyReg;
|
|
description = "Medical image registration software";
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
platforms = [ "x86_64-linux" ];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|