mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
cimg: cosmetic changes
- use rec-less, finalAttrs-style attributes - remove nested `with` from meta attributes
This commit is contained in:
parent
5cce9f0c44
commit
9735d32e8b
@ -5,14 +5,14 @@
|
||||
, gmic-qt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cimg";
|
||||
version = "3.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GreycLab";
|
||||
repo = "CImg";
|
||||
rev = "v.${version}";
|
||||
rev = "v.${finalAttrs.version}";
|
||||
hash = "sha256-CQYY5aKRDe6F7GrBJfqt0t/rjjdZnr/c/cqhr6yVACA=";
|
||||
};
|
||||
|
||||
@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
# Need to update in lockstep.
|
||||
# Needs to update them all in lockstep.
|
||||
inherit gmic gmic-qt;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "http://cimg.eu/";
|
||||
description = "A small, open source, C++ toolkit for image processing";
|
||||
longDescription = ''
|
||||
@ -44,8 +44,11 @@ stdenv.mkDerivation rec {
|
||||
C++. Due to its generic conception, it can cover a wide range of image
|
||||
processing applications.
|
||||
'';
|
||||
license = licenses.cecill-c;
|
||||
maintainers = [ maintainers.AndersonTorres maintainers.lilyinstarlight ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.cecill-c;
|
||||
maintainers = [
|
||||
lib.maintainers.AndersonTorres
|
||||
lib.maintainers.lilyinstarlight
|
||||
];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user