3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Martin Wurm 2023-02-20 22:47:02 +01:00 committed by Alyssa Ross
parent a4b25ea808
commit d79d7bdbf4
3 changed files with 8 additions and 2 deletions

View file

@ -618,6 +618,12 @@ in mkLicense lset) ({
fullName = "Licence Art Libre 1.3"; fullName = "Licence Art Libre 1.3";
}; };
lens = {
fullName = "Lens Terms of Service Agreement";
url = "https://k8slens.dev/licenses/tos";
free = false;
};
lgpl2Only = { lgpl2Only = {
spdxId = "LGPL-2.0-only"; spdxId = "LGPL-2.0-only";
fullName = "GNU Library General Public License v2 only"; fullName = "GNU Library General Public License v2 only";

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "The Kubernetes IDE"; description = "The Kubernetes IDE";
homepage = "https://k8slens.dev/"; homepage = "https://k8slens.dev/";
license = licenses.mit; license = licenses.lens;
maintainers = with maintainers; [ dbirks ]; maintainers = with maintainers; [ dbirks ];
platforms = [ "aarch64-darwin" ]; platforms = [ "aarch64-darwin" ];
}; };

View file

@ -37,7 +37,7 @@ appimageTools.wrapType2 {
meta = with lib; { meta = with lib; {
description = "The Kubernetes IDE"; description = "The Kubernetes IDE";
homepage = "https://k8slens.dev/"; homepage = "https://k8slens.dev/";
license = licenses.mit; license = licenses.lens;
maintainers = with maintainers; [ dbirks RossComputerGuy ]; maintainers = with maintainers; [ dbirks RossComputerGuy ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
}; };