From 1cb81a69a025cf5abc7a3d4f13436fb299043bd5 Mon Sep 17 00:00:00 2001 From: tbenst Date: Fri, 8 Feb 2019 14:41:14 -0800 Subject: [PATCH] cmtk: init at 3.3.1 (#54016) * cmtk: init at 3.3.1 --- .../science/biology/cmtk/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/applications/science/biology/cmtk/default.nix diff --git a/pkgs/applications/science/biology/cmtk/default.nix b/pkgs/applications/science/biology/cmtk/default.nix new file mode 100644 index 000000000000..ed661db23e0a --- /dev/null +++ b/pkgs/applications/science/biology/cmtk/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl, cmake}: + +stdenv.mkDerivation rec { + 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]; + + 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; + homepage = https://www.nitrc.org/projects/cmtk/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb54ee48b1d1..4a53f0c0d2f1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21499,6 +21499,8 @@ in bftools = callPackage ../applications/science/biology/bftools { }; + cmtk = callPackage ../applications/science/biology/cmtk { }; + conglomerate = callPackage ../applications/science/biology/conglomerate { }; dcm2niix = callPackage ../applications/science/biology/dcm2niix { };