Skip to content

Commit

Permalink
lens: Change lens' listed license from MIT to their own proprietary l…
Browse files Browse the repository at this point in the history
…icense.

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.
  • Loading branch information
Martin Wurm authored and alyssais committed May 22, 2023
1 parent a4b25ea commit d79d7bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/cluster/lens/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "The Kubernetes IDE";
homepage = "https://k8slens.dev/";
license = licenses.mit;
license = licenses.lens;
maintainers = with maintainers; [ dbirks ];
platforms = [ "aarch64-darwin" ];
};
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/cluster/lens/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ appimageTools.wrapType2 {
meta = with lib; {
description = "The Kubernetes IDE";
homepage = "https://k8slens.dev/";
license = licenses.mit;
license = licenses.lens;
maintainers = with maintainers; [ dbirks RossComputerGuy ];
platforms = [ "x86_64-linux" ];
};
Expand Down

0 comments on commit d79d7bd

Please sign in to comment.