mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
akkuPackages: parse more licenses
This commit is contained in:
@@ -44,29 +44,37 @@ lib.makeScope newScope (self: rec {
|
||||
(
|
||||
lib.licenses
|
||||
// (with lib.licenses; {
|
||||
"0bsd" = bsd0;
|
||||
"agpl" = agpl3Only;
|
||||
"apache-2.0" = asl20;
|
||||
"artistic" = artistic2;
|
||||
"bsd" = bsd3;
|
||||
"bsd-1-clause" = bsd1;
|
||||
"bsd-2-clause" = bsd2;
|
||||
"bsd-3-clause" = bsd3;
|
||||
"cc0-1.0" = cc0;
|
||||
"gpl" = gpl3Only;
|
||||
"gpl-2" = gpl2Only;
|
||||
"gpl-2.0-or-later" = gpl2Plus;
|
||||
"gplv2" = gpl2Only;
|
||||
"gpl-3" = gpl3Only;
|
||||
"gpl-3.0" = gpl3Only;
|
||||
"gpl-3.0-or-later" = gpl3Plus;
|
||||
"gplv3" = gpl3Only;
|
||||
"lgpl" = lgpl3Only;
|
||||
"lgpl-2" = lgpl2Only;
|
||||
"lgpl-2.0+" = lgpl2Plus;
|
||||
"lgpl-2.1" = lgpl21Only;
|
||||
"lgpl-2.1-or-later" = lgpl21Plus;
|
||||
"lgpl-3.0-or-later" = lgpl3Plus;
|
||||
"lgpl-3" = lgpl3Only;
|
||||
"lgplv3" = lgpl3Only;
|
||||
"public-domain" = publicDomain;
|
||||
"srfi" = bsd3;
|
||||
"unicode" = ucd;
|
||||
"xerox" = xerox;
|
||||
"zlib-acknowledgement" = zlib;
|
||||
"noassertion" = free;
|
||||
})
|
||||
).${s} or s;
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user