2019-06-16 20:59:06 +01:00
|
|
|
{ stdenv, fetchurl, cmake, eigen, zlib }:
|
2018-11-15 22:34:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "niftyseg";
|
|
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/KCL-BMEIS/NiftySeg/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "11q6yldsxp3k6gfp94c0xhcan2y3finzv8lzizmrc79yps3wjkn0";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ eigen zlib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://cmictig.cs.ucl.ac.uk/research/software/software-nifty/niftyseg";
|
2018-11-15 22:34:57 +00:00
|
|
|
description = "Software for medical image segmentation, bias field correction, and cortical thickness calculation";
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
2019-11-15 02:25:10 +00:00
|
|
|
platforms = platforms.unix;
|
2018-11-15 22:34:57 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|