forked from mirrors/nixpkgs
Merge pull request #50434 from bcdarwin/nifty_reg
niftyreg: init at 1.3.9; niftyseg: init at 1.0.0
This commit is contained in:
commit
d1eb06cb18
24
pkgs/applications/science/biology/niftyreg/default.nix
Normal file
24
pkgs/applications/science/biology/niftyreg/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
24
pkgs/applications/science/biology/niftyseg/default.nix
Normal file
24
pkgs/applications/science/biology/niftyseg/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, lib, fetchurl, cmake, eigen, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "niftyseg";
|
||||
version = "1.0";
|
||||
name = "${pname}-${version}";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/KCL-BMEIS/NiftySeg/archive/v${version}.tar.gz";
|
||||
sha256 = "11q6yldsxp3k6gfp94c0xhcan2y3finzv8lzizmrc79yps3wjkn0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ eigen zlib ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://cmictig.cs.ucl.ac.uk/research/software/software-nifty/niftyseg;
|
||||
description = "Software for medical image segmentation, bias field correction, and cortical thickness calculation";
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
|
@ -21194,6 +21194,10 @@ with pkgs;
|
|||
|
||||
ncbi_tools = callPackage ../applications/science/biology/ncbi-tools { };
|
||||
|
||||
niftyreg = callPackage ../applications/science/biology/niftyreg { };
|
||||
|
||||
niftyseg = callPackage ../applications/science/biology/niftyseg { };
|
||||
|
||||
paml = callPackage ../applications/science/biology/paml { };
|
||||
|
||||
picard-tools = callPackage ../applications/science/biology/picard-tools { };
|
||||
|
|
Loading…
Reference in a new issue