depot/third_party/nixpkgs/pkgs/applications/science/biology/niftyseg/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

22 lines
708 B
Nix

{ lib, stdenv, fetchurl, cmake, eigen, zlib }:
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 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.unix;
license = licenses.bsd3;
};
}