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:
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
export PREFIX=$out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pauillac.inria.fr/~fpottier/menhir/;
|
||||
description = "A LR(1) parser generator for OCaml";
|
||||
longDescription = ''
|
||||
@@ -41,10 +41,11 @@ stdenv.mkDerivation {
|
||||
to OCaml code. Menhir was designed and implemented by François Pottier
|
||||
and Yann Régis-Gianas.
|
||||
'';
|
||||
license = [ "QPL" /* generator */ "LGPLv2" /* library */ ];
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [
|
||||
stdenv.lib.maintainers.z77z
|
||||
license = with licenses; [
|
||||
qpl /* generator */
|
||||
lgpl2 /* library */
|
||||
];
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = with maintainers; [ z77z ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user