2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, cmake, zlib }:
|
2018-11-15 23:20:24 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2019-11-03 13:36:25 +01:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ];
|
|
|
|
|
2018-11-15 23:20:24 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftyReg";
|
2018-11-15 23:20:24 +01:00
|
|
|
description = "Medical image registration software";
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|