diff --git a/pkgs/applications/science/biology/niftyreg/default.nix b/pkgs/applications/science/biology/niftyreg/default.nix new file mode 100644 index 000000000000..9f24046b3bf6 --- /dev/null +++ b/pkgs/applications/science/biology/niftyreg/default.nix @@ -0,0 +1,24 @@ +{ stdenv, lib, fetchurl, cmake, zlib }: + +stdenv.mkDerivation rec { + pname = "niftyreg"; + version = "1.3.9"; + name = "${pname}-${version}"; + + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 476d3be90933..84d6af1aacbe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21194,6 +21194,8 @@ with pkgs; ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { }; + niftyreg = callPackage ../applications/science/biology/niftyreg { }; + paml = callPackage ../applications/science/biology/paml { }; picard-tools = callPackage ../applications/science/biology/picard-tools { };