lib.licenses: add missing spdxId's

also remove shortName and url from those
This commit is contained in:
jopejoe1
2025-08-30 12:53:32 +02:00
committed by Alyssa Ross
parent 2e36ec9cee
commit ec03e1d46a

View File

@@ -410,9 +410,8 @@ lib.mapAttrs mkLicense (
}; };
cc-sa-10 = { cc-sa-10 = {
shortName = "CC-SA-1.0"; spdxId = "CC-SA-1.0";
fullName = "Creative Commons Share Alike 1.0"; fullName = "Creative Commons Share Alike 1.0";
url = "https://creativecommons.org/licenses/sa/1.0";
}; };
cddl = { cddl = {
@@ -588,14 +587,14 @@ lib.mapAttrs mkLicense (
fsl11Mit = { fsl11Mit = {
fullName = "Functional Source License, Version 1.1, MIT Future License"; fullName = "Functional Source License, Version 1.1, MIT Future License";
url = "https://fsl.software/FSL-1.1-MIT.template.md"; spdxId = "FSL-1.1-MIT";
free = false; free = false;
redistributable = true; redistributable = true;
}; };
fsl11Asl20 = { fsl11Asl20 = {
fullName = "Functional Source License, Version 1.1, Apache 2.0 Future License"; fullName = "Functional Source License, Version 1.1, Apache 2.0 Future License";
url = "https://fsl.software/FSL-1.1-Apache-2.0.template.md"; spdxId = "FSL-1.1-ALv2";
free = false; free = false;
redistributable = true; redistributable = true;
}; };
@@ -1235,9 +1234,8 @@ lib.mapAttrs mkLicense (
}; };
smail = { smail = {
shortName = "smail"; spdxId = "SMAIL-GPL";
fullName = "SMAIL General Public License"; fullName = "SMAIL General Public License";
url = "https://sources.debian.org/copyright/license/debianutils/4.9.1/";
}; };
smlnj = { smlnj = {
@@ -1246,9 +1244,8 @@ lib.mapAttrs mkLicense (
}; };
sspl = { sspl = {
shortName = "SSPL"; spdxId = "SSPL-1.0";
fullName = "Server Side Public License"; fullName = "Server Side Public License";
url = "https://www.mongodb.com/licensing/server-side-public-license";
free = false; free = false;
# NOTE Debatable. # NOTE Debatable.
# The license a slightly modified AGPL but still considered unfree by the # The license a slightly modified AGPL but still considered unfree by the
@@ -1269,9 +1266,8 @@ lib.mapAttrs mkLicense (
}; };
sustainableUse = { sustainableUse = {
shortName = "sustainable"; spdxId = "SUL-1.0";
fullName = "Sustainable Use License"; fullName = "Sustainable Use License";
url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md";
free = false; free = false;
redistributable = false; # only free to redistribute "for non-commercial purposes" redistributable = false; # only free to redistribute "for non-commercial purposes"
}; };