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:
@@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
||||
cp -v *.jar "$out/share/java"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "An implementation of JavaScript written in Java";
|
||||
|
||||
longDescription =
|
||||
@@ -52,6 +52,6 @@ stdenv.mkDerivation {
|
||||
|
||||
homepage = http://www.mozilla.org/rhino/;
|
||||
|
||||
license = [ "MPLv1.1" /* or */ "GPLv2+" ];
|
||||
license = with licenses; [ mpl11 /* or */ gpl2Plus ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user