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:
Atemu 2021-07-20 21:16:57 +02:00
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