mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
cmtk: fix format
- use finalAttrs instead of rec - fix license - remove trailing space from description
This commit is contained in:
parent
7014b723d9
commit
e7c8cbc2b1
@ -8,13 +8,13 @@
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cmtk";
|
||||
version = "3.3.2";
|
||||
|
||||
src = fetchurl {
|
||||
name = "cmtk-source.tar.gz";
|
||||
url = "https://www.nitrc.org/frs/download.php/13188/CMTK-${version}-Source.tar.gz//?i_agree=1&download_now=1";
|
||||
url = "https://www.nitrc.org/frs/download.php/13188/CMTK-${finalAttrs.version}-Source.tar.gz//?i_agree=1&download_now=1";
|
||||
hash = "sha256-iE164NCOSOypZLLZfZy9RTyrS+YnY9ECqfb4QhlsMS4=";
|
||||
};
|
||||
|
||||
@ -35,13 +35,13 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Computational Morphometry Toolkit ";
|
||||
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;
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "https://www.nitrc.org/projects/cmtk/";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user