summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
authorMartin Wurm <martin.wurm@mart-w.de>2023-02-20 22:47:02 +0100
committerAlyssa Ross <hi@alyssa.is>2023-05-22 09:46:14 +0000
commitd79d7bdbf43df9aa19f3c3234c0729c54cee6105 (patch)
tree3084b45e973755ee72ae540ec0cf90dc983975e4 /lib/licenses.nix
parenta4b25ea80898ea87ec2427719f2ec2dee427019a (diff)
downloadnixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar.gz
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar.bz2
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar.lz
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar.xz
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.tar.zst
nixpkgs-d79d7bdbf43df9aa19f3c3234c0729c54cee6105.zip
lens: Change lens' listed license from MIT to their own proprietary license.
Although Lens is based on a free core component ("OpenLens"), the tarballs
provided by Mirantis include a proprietary version of Lens that requires
a subscription.

As the proprietary option offers additional features, it would not be wise
to simply rewrite the derivation and base it on the FOSS source code.
Instead, implementing a new derivation for OpenLens is likely the better
approach.
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index b3ea106e954..142bf597661 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -618,6 +618,12 @@ in mkLicense lset) ({
     fullName = "Licence Art Libre 1.3";
   };
 
+  lens = {
+    fullName = "Lens Terms of Service Agreement";
+    url = "https://k8slens.dev/licenses/tos";
+    free = false;
+  };
+
   lgpl2Only = {
     spdxId = "LGPL-2.0-only";
     fullName = "GNU Library General Public License v2 only";