depot/third_party/nixpkgs/pkgs/applications/science/biology/niftyreg/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
718 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";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ];
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;
};
}