Skip to content

Commit

Permalink
lib/licenses: remove urls from licenses that have a spdxId
Browse files Browse the repository at this point in the history
if the licenses have a spdxId the url get auto-generated from it.
  • Loading branch information
jopejoe1 committed Nov 6, 2024
1 parent bafae5b commit 568bb8c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ lib.mapAttrs mkLicense ({
arphicpl = {
spdxId = "Arphic-1999";
fullName = "Arphic Public License";
url = "https://www.freedesktop.org/wiki/Arphic_Public_License/";
};

artistic1 = {
Expand Down Expand Up @@ -236,7 +235,6 @@ lib.mapAttrs mkLicense ({
bsl11 = {
spdxId = "BUSL-1.1";
fullName = "Business Source License 1.1";
url = "https://mariadb.com/bsl11";
free = false;
redistributable = true;
};
Expand All @@ -249,13 +247,11 @@ lib.mapAttrs mkLicense ({
cal10 = {
spdxId = "CAL-1.0";
fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
url = "https://opensource.org/licenses/CAL-1.0";
};

caldera = {
spdxId = "Caldera";
fullName = "Caldera License";
url = "http://www.lemis.com/grog/UNIX/ancient-source-all.pdf";
};

capec = {
Expand Down Expand Up @@ -459,7 +455,6 @@ lib.mapAttrs mkLicense ({

ecl20 = {
fullName = "Educational Community License, Version 2.0";
url = "https://opensource.org/licenses/ECL-2.0";
shortName = "ECL 2.0";
spdxId = "ECL-2.0";
};
Expand All @@ -477,7 +472,6 @@ lib.mapAttrs mkLicense ({
elastic20 = {
spdxId = "Elastic-2.0";
fullName = "Elastic License 2.0";
url = "https://github.com/elastic/elasticsearch/blob/main/licenses/ELASTIC-LICENSE-2.0.txt";
free = false;
};

Expand Down Expand Up @@ -671,7 +665,6 @@ lib.mapAttrs mkLicense ({
iasl = {
spdxId = "Intel-ACPI";
fullName = "Intel ACPI Software License Agreement";
url = "https://old.calculate-linux.org/packages/licenses/iASL";
};

icu = {
Expand All @@ -697,7 +690,6 @@ lib.mapAttrs mkLicense ({
info-zip = {
spdxId = "Info-ZIP";
fullName = "Info-ZIP License";
url = "https://infozip.sourceforge.net/license.html";
};

inria-compcert = {
Expand Down Expand Up @@ -882,7 +874,6 @@ lib.mapAttrs mkLicense ({
miros = {
spdxId = "MirOS";
fullName = "MirOS License";
url = "https://opensource.org/licenses/MirOS";
};

mit = {
Expand Down Expand Up @@ -939,7 +930,6 @@ lib.mapAttrs mkLicense ({
mulan-psl2 = {
spdxId = "MulanPSL-2.0";
fullName = "Mulan Permissive Software License, Version 2";
url = "https://license.coscl.org.cn/MulanPSL2";
};

naist-2003 = {
Expand Down Expand Up @@ -974,7 +964,6 @@ lib.mapAttrs mkLicense ({
fullName = "Netdata Cloud UI License v1.0";
free = false;
redistributable = true; # Only if used in Netdata products.
url = "https://raw.githubusercontent.com/netdata/netdata/master/web/gui/v2/LICENSE.md";
};

nistSoftware = {
Expand Down Expand Up @@ -1072,7 +1061,6 @@ lib.mapAttrs mkLicense ({
parity70 = {
spdxId = "Parity-7.0.0";
fullName = "Parity Public License 7.0.0";
url = "https://paritylicense.com/versions/7.0.0.html";
};

php301 = {
Expand All @@ -1094,7 +1082,6 @@ lib.mapAttrs mkLicense ({
psfl = {
spdxId = "Python-2.0";
fullName = "Python Software Foundation License version 2";
url = "https://docs.python.org/license.html";
};

publicDomain = {
Expand Down Expand Up @@ -1225,7 +1212,6 @@ lib.mapAttrs mkLicense ({
ufl = {
spdxId = "Ubuntu-font-1.0";
fullName = "Ubuntu Font License 1.0";
url = "https://ubuntu.com/legal/font-licence";
};

unfree = {
Expand Down Expand Up @@ -1269,7 +1255,6 @@ lib.mapAttrs mkLicense ({
upl = {
spdxId = "UPL-1.0";
fullName = "Universal Permissive License";
url = "https://oss.oracle.com/licenses/upl/";
};

vim = {
Expand Down Expand Up @@ -1335,7 +1320,6 @@ lib.mapAttrs mkLicense ({
xfig = {
spdxId = "Xfig";
fullName = "xfig";
url = "https://mcj.sourceforge.net/authors.html#xfig";
};

xinetd = {
Expand Down

0 comments on commit 568bb8c

Please sign in to comment.