about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSandro2024-08-24 12:39:30 +0200
committerGitHub2024-08-24 12:39:30 +0200
commit771c5644e82f5cfba6673771f7dab77c5c46995f (patch)
tree0a97600324f3999364440b377f37fe86b0169929 /lib
parent2436607a05d7201c2c86833cf49454a4f96d9d7d (diff)
parentfddb874f91c21833f0e76fa9fbc43beaf8bcb733 (diff)
Merge pull request #333915 from jopejoe1/license
lib/licenses: some corrections
Diffstat (limited to 'lib')
-rw-r--r--lib/licenses.nix19
1 files changed, 7 insertions, 12 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 9b25bd4bcea8..ff68d1486437 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -229,6 +229,7 @@ lib.mapAttrs mkLicense ({
   };
 
   bsl11 = {
+    spdxId = "BUSL-1.1";
     fullName = "Business Source License 1.1";
     url = "https://mariadb.com/bsl11";
     free = false;
@@ -826,11 +827,6 @@ lib.mapAttrs mkLicense ({
     fullName = "PNG Reference Library version 2";
   };
 
-  libssh2 = {
-    fullName = "libssh2 License";
-    url = "https://www.libssh2.org/license.html";
-  };
-
   libtiff = {
     spdxId = "libtiff";
     fullName = "libtiff License";
@@ -872,8 +868,6 @@ lib.mapAttrs mkLicense ({
     url = "https://opensource.org/licenses/MirOS";
   };
 
-  # spdx.org does not (yet) differentiate between the X11 and Expat versions
-  # for details see https://en.wikipedia.org/wiki/MIT_License#Various_versions
   mit = {
     spdxId = "MIT";
     fullName = "MIT License";
@@ -884,6 +878,12 @@ lib.mapAttrs mkLicense ({
     fullName = "feh License";
   };
 
+  mit-modern = {
+    # Also known as Zsh license
+    spdxId = "MIT-Modern-Variant";
+    fullName = "MIT License Modern Variant";
+  };
+
   mitAdvertising = {
     spdxId = "MIT-advertising";
     fullName = "Enlightenment License (e16)";
@@ -1316,11 +1316,6 @@ lib.mapAttrs mkLicense ({
     fullName = "zlib License";
   };
 
-  zsh = {
-    url = "https://github.com/zsh-users/zsh/blob/master/LICENCE";
-    fullName = "Zsh License";
-  };
-
   zpl20 = {
     spdxId = "ZPL-2.0";
     fullName = "Zope Public License 2.0";