2019-02-08 22:41:14 +00:00
|
|
|
{stdenv, fetchurl, cmake}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-02-08 22:41:14 +00:00
|
|
|
name = "cmtk-3.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
name = "cmtk-source.tar.gz";
|
|
|
|
url = "https://www.nitrc.org/frs/download.php/8198/CMTK-3.3.1-Source.tar.gz//?i_agree=1&download_now=1";
|
|
|
|
sha256 = "1nmsga9m7vcc4y4a6zl53ra3mwlgjwdgsq1j291awkn7zr1az6qs";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [cmake];
|
|
|
|
|
2019-04-30 02:28:43 +01:00
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
|
2019-04-23 03:36:35 +01:00
|
|
|
|
2019-02-08 22:41:14 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Computational Morphometry Toolkit ";
|
|
|
|
longDescription = ''A software toolkit for computational morphometry of
|
|
|
|
biomedical images, CMTK comprises a set of command line tools and a
|
|
|
|
back-end general-purpose library for processing and I/O'';
|
|
|
|
maintainers = with maintainers; [ tbenst ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.gpl3;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.nitrc.org/projects/cmtk/";
|
2019-02-08 22:41:14 +00:00
|
|
|
};
|
|
|
|
}
|