lib: with lib.licenses; { BSD-3-Clause = bsd3; BSD-2-Clause = bsd2; MIT = mit; "MPL-2.0" = mpl20; ISC = isc; "LGPL-2.1-only" = lgpl21; "LGPL-3.0-only" = lgpl3; "GPL-2.0-only" = gpl2; "GPL-2.0-or-later" = gpl2Plus; "GPL-3.0-only" = gpl3; "AGPL-3.0-only" = agpl3; "AGPL-3.0-or-later" = agpl3Plus; "Apache-2.0" = asl20; "GPL-2.0-or-later AND BSD-3-Clause" = [gpl2Plus bsd3]; # Generic LicenseRef-Apache = "Apache"; LicenseRef-GPL = "GPL"; LicenseRef-LGPL = "LGPL"; LicenseRef-NCSA = ncsa; LicenseRef-PublicDomain = publicDomain; LicenseRef-OtherLicense = null; NONE = null; }