Skip to content

Commit edd1740

Browse files
authored
lib.licenses: add new spdxIds
These licenses gained a `spdxId` since they were added to nixpkgs
1 parent 5beb918 commit edd1740

1 file changed

Lines changed: 11 additions & 20 deletions

File tree

lib/licenses/licenses.nix

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ lib.mapAttrs mkLicense (
204204
};
205205

206206
bola11 = {
207-
url = "https://blitiri.com.ar/p/bola/";
208-
fullName = "Buena Onda License Agreement 1.1";
207+
spdxId = "BOLA-1.1";
208+
fullName = "Buena Onda License Agreement v1.1";
209209
};
210210

211211
boost = {
@@ -326,8 +326,8 @@ lib.mapAttrs mkLicense (
326326
};
327327

328328
capec = {
329-
fullName = "Common Attack Pattern Enumeration and Classification";
330-
url = "https://capec.mitre.org/about/termsofuse.html";
329+
fullName = "Common Attack Pattern Enumeration and Classification License";
330+
spdxId = "CAPEC-tou";
331331
};
332332

333333
clArtistic = {
@@ -760,14 +760,7 @@ lib.mapAttrs mkLicense (
760760

761761
hpndSellVariantSafetyClause = {
762762
fullName = "HPND - sell variant with safety critical systems clause";
763-
url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/blob/68a5b6d98ae34749cca889f4373b4043d00bfe6a/src/voodoo_dga.c#L12-33";
764-
# TODO: if the license gets accepted to spdx then
765-
# add spdxId
766-
# else
767-
# remove license
768-
# && replace reference with whatever this license is supposed to be then
769-
# https://github.com/spdx/license-list-XML/issues/2922
770-
# spdxId = "HPND-sell-variant-safety-clause";
763+
spdxId = "HPND-sell-variant-critical-systems";
771764
};
772765

773766
hpndDec = {
@@ -1251,8 +1244,8 @@ lib.mapAttrs mkLicense (
12511244
};
12521245

12531246
paratype = {
1254-
fullName = "ParaType Free Font Licensing Agreement";
1255-
url = "https://web.archive.org/web/20161209023955/http://www.paratype.ru/public/pt_openlicense_eng.asp";
1247+
spdxId = "ParaType-Free-Font-1.3";
1248+
fullName = "ParaType Free Font Licensing Agreement v1.3";
12561249
};
12571250

12581251
parity70 = {
@@ -1331,7 +1324,8 @@ lib.mapAttrs mkLicense (
13311324
# Gentoo seems to treat it as a license:
13321325
# https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/SGMLUG?id=7d999af4a47bf55e53e54713d98d145f935935c1
13331326
sgmlug = {
1334-
fullName = "SGML UG SGML Parser Materials license";
1327+
spdxId = "SGMLUG-PM";
1328+
fullName = "SGMLUG Parser Materials License";
13351329
};
13361330

13371331
sissl11 = {
@@ -1428,11 +1422,8 @@ lib.mapAttrs mkLicense (
14281422
};
14291423

14301424
tekHvcLicense = {
1425+
spdxId = "TekHVC";
14311426
fullName = "TekHVC License";
1432-
url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/7f8305c779ac6948d7261764f5ffb8ae9aa975b1/COPYING#L138-171";
1433-
# TODO: add spdxId when it gets accepted to spdx
1434-
# https://tools.spdx.org/app/license_requests/458
1435-
# https://github.com/spdx/license-list-XML/issues/2757
14361427
};
14371428

14381429
torque11 = {
@@ -1453,8 +1444,8 @@ lib.mapAttrs mkLicense (
14531444
};
14541445

14551446
tost = {
1447+
spdxId = "Pixar";
14561448
fullName = "Tomorrow Open Source Technology License 1.0";
1457-
url = "https://github.com/PixarAnimationStudios/OpenUSD/blob/release/LICENSE.txt";
14581449
};
14591450

14601451
ubdlException = {

0 commit comments

Comments
 (0)