Skip to content

Commit 3570433

Browse files
authored
lib.licenses: add new spdxIds (#519321)
2 parents baaf0a7 + edd1740 commit 3570433

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 = {
@@ -765,14 +765,7 @@ lib.mapAttrs mkLicense (
765765

766766
hpndSellVariantSafetyClause = {
767767
fullName = "HPND - sell variant with safety critical systems clause";
768-
url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/blob/68a5b6d98ae34749cca889f4373b4043d00bfe6a/src/voodoo_dga.c#L12-33";
769-
# TODO: if the license gets accepted to spdx then
770-
# add spdxId
771-
# else
772-
# remove license
773-
# && replace reference with whatever this license is supposed to be then
774-
# https://github.com/spdx/license-list-XML/issues/2922
775-
# spdxId = "HPND-sell-variant-safety-clause";
768+
spdxId = "HPND-sell-variant-critical-systems";
776769
};
777770

778771
hpndDec = {
@@ -1262,8 +1255,8 @@ lib.mapAttrs mkLicense (
12621255
};
12631256

12641257
paratype = {
1265-
fullName = "ParaType Free Font Licensing Agreement";
1266-
url = "https://web.archive.org/web/20161209023955/http://www.paratype.ru/public/pt_openlicense_eng.asp";
1258+
spdxId = "ParaType-Free-Font-1.3";
1259+
fullName = "ParaType Free Font Licensing Agreement v1.3";
12671260
};
12681261

12691262
parity70 = {
@@ -1342,7 +1335,8 @@ lib.mapAttrs mkLicense (
13421335
# Gentoo seems to treat it as a license:
13431336
# https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/SGMLUG?id=7d999af4a47bf55e53e54713d98d145f935935c1
13441337
sgmlug = {
1345-
fullName = "SGML UG SGML Parser Materials license";
1338+
spdxId = "SGMLUG-PM";
1339+
fullName = "SGMLUG Parser Materials License";
13461340
};
13471341

13481342
sissl11 = {
@@ -1439,11 +1433,8 @@ lib.mapAttrs mkLicense (
14391433
};
14401434

14411435
tekHvcLicense = {
1436+
spdxId = "TekHVC";
14421437
fullName = "TekHVC License";
1443-
url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/7f8305c779ac6948d7261764f5ffb8ae9aa975b1/COPYING#L138-171";
1444-
# TODO: add spdxId when it gets accepted to spdx
1445-
# https://tools.spdx.org/app/license_requests/458
1446-
# https://github.com/spdx/license-list-XML/issues/2757
14471438
};
14481439

14491440
torque11 = {
@@ -1464,8 +1455,8 @@ lib.mapAttrs mkLicense (
14641455
};
14651456

14661457
tost = {
1458+
spdxId = "Pixar";
14671459
fullName = "Tomorrow Open Source Technology License 1.0";
1468-
url = "https://github.com/PixarAnimationStudios/OpenUSD/blob/release/LICENSE.txt";
14691460
};
14701461

14711462
ubdlException = {

0 commit comments

Comments
 (0)