diff options
author | Tristan Ross <tristan.ross@midstall.com> | 2023-01-12 09:28:02 -0800 |
---|---|---|
committer | Tristan Ross <tristan.ross@midstall.com> | 2023-01-12 09:28:02 -0800 |
commit | 39d228cf6b8e6961dd97050a9fbebe8ff09893d5 (patch) | |
tree | f6b4a1e7636615a2c1737374cfdda5d948002f22 | |
parent | 5e7a6742032f5ae5ff974723d8baf7bdfe7f4427 (diff) | |
download | nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar.gz nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar.bz2 nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar.lz nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar.xz nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.tar.zst nixpkgs-39d228cf6b8e6961dd97050a9fbebe8ff09893d5.zip |
lens: 5.5.3 -> 6.3.0
-rw-r--r-- | pkgs/applications/networking/cluster/lens/default.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/applications/networking/cluster/lens/default.nix b/pkgs/applications/networking/cluster/lens/default.nix index ef70e283280..cd75bad0a0f 100644 --- a/pkgs/applications/networking/cluster/lens/default.nix +++ b/pkgs/applications/networking/cluster/lens/default.nix @@ -1,14 +1,14 @@ -{ lib, fetchurl, appimageTools, wrapGAppsHook }: +{ lib, fetchurl, appimageTools, wrapGAppsHook, makeWrapper }: let pname = "lens"; - version = "5.5.3"; - build = "${version}-latest.20220602.2"; + version = "6.3.0"; + build = "2022.12.221341-latest"; name = "${pname}-${version}"; src = fetchurl { url = "https://api.k8slens.dev/binaries/Lens-${build}.x86_64.AppImage"; - sha256 = "sha256-lwiwyXoO+7KgDnQ2Ly0QK0oEVHR73nsMZMGOd2j48dg="; + sha256 = "sha256-IJkm2Woz362jydFph9ek+5Jh2jtDH8kKvWoLQhTZPvc="; name = "${pname}.AppImage"; }; @@ -23,11 +23,12 @@ appimageTools.wrapType2 { extraInstallCommands = '' mv $out/bin/${name} $out/bin/${pname} - + source "${makeWrapper}/nix-support/setup-hook" + wrapProgram $out/bin/${pname} \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" install -m 444 -D ${appimageContents}/lens.desktop $out/share/applications/${pname}.desktop install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/lens.png \ $out/share/icons/hicolor/512x512/apps/${pname}.png - substituteInPlace $out/share/applications/${pname}.desktop \ --replace 'Icon=lens' 'Icon=${pname}' \ --replace 'Exec=AppRun' 'Exec=${pname}' @@ -37,7 +38,7 @@ appimageTools.wrapType2 { description = "The Kubernetes IDE"; homepage = "https://k8slens.dev/"; license = licenses.mit; - maintainers = with maintainers; [ dbirks ]; + maintainers = with maintainers; [ dbirks RossComputerGuy ]; platforms = [ "x86_64-linux" ]; }; } |