Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings remain. Where there was any possible ambiguity about the exact version or variant intended, nothing was changed. IANAL, nor a search robot. Use `with stdenv.lib` wherever it makes sense.
This commit is contained in:
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
|
||||
'' + glib.flattenInclude
|
||||
);
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A 2D graphics library with support for multiple output devices";
|
||||
|
||||
longDescription = ''
|
||||
@@ -77,8 +77,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = http://cairographics.org/;
|
||||
|
||||
license = [ "LGPLv2+" "MPLv1" ];
|
||||
license = with licenses; [ lgpl2Plus mpl10 ];
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user