2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, eigen, zlib }:
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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.unix;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|