cmtk: fix format

- use finalAttrs instead of rec
- fix license
- remove trailing space from description
This commit is contained in:
natsukium 2023-06-09 17:19:17 +09:00
parent 7014b723d9
commit e7c8cbc2b1
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -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/";
};
}
})