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:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = "rm -rf $out/share/doc";
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://tukaani.org/xz/;
|
||||
description = "XZ, general-purpose data compression software, successor of LZMA";
|
||||
|
||||
@@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
|
||||
bzip2.
|
||||
'';
|
||||
|
||||
license = [ "GPLv2+" "LGPLv2.1+" ];
|
||||
maintainers = with stdenv.lib.maintainers; [ sander ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = with licenses; [ gpl2Plus lgpl21Plus ];
|
||||
maintainers = with maintainers; [ sander ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user