lib.licenses: make all licenses have free
and deprecated
attrs
This makes them consistent which eases more complex operations on licenses such as filtering etc.
This commit is contained in:
parent
65c605a662
commit
48797d7114
@ -1,8 +1,10 @@
|
||||
{ lib }:
|
||||
|
||||
lib.mapAttrs (lname: lset: let
|
||||
defaultLicense = {
|
||||
defaultLicense = rec {
|
||||
shortName = lname;
|
||||
free = true; # Most of our licenses are Free, explicitly declare unfree additions as such!
|
||||
deprecated = false;
|
||||
};
|
||||
|
||||
mkLicense = licenseDeclaration: let
|
||||
|
Loading…
Reference in New Issue
Block a user