openlens: init at 6.4.5
This commit is contained in:
parent
44f3015faf
commit
a283502cd2
@ -1755,6 +1755,12 @@
|
|||||||
githubId = 442623;
|
githubId = 442623;
|
||||||
name = "Ben Pye";
|
name = "Ben Pye";
|
||||||
};
|
};
|
||||||
|
benwbooth = {
|
||||||
|
email = "benwboooth@gmail.com";
|
||||||
|
github = "benwbooth";
|
||||||
|
githubId = 75972;
|
||||||
|
name = "Ben Booth";
|
||||||
|
};
|
||||||
berberman = {
|
berberman = {
|
||||||
email = "berberman@yandex.com";
|
email = "berberman@yandex.com";
|
||||||
matrix = "@berberman:mozilla.org";
|
matrix = "@berberman:mozilla.org";
|
||||||
|
40
pkgs/applications/networking/cluster/openlens/default.nix
Normal file
40
pkgs/applications/networking/cluster/openlens/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib, fetchurl, appimageTools, wrapGAppsHook }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "openlens";
|
||||||
|
version = "6.4.5";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/MuhammedKalkan/OpenLens/releases/download/v${version}/OpenLens-${version}.x86_64.AppImage";
|
||||||
|
sha256 = "sha256-Lwl4unhXSyYCEImiPncAnmIQt26CD4horsREMyi6nuA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
appimageContents = appimageTools.extractType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
inherit pname version src;
|
||||||
|
unshareIpc = false;
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${pname}-${version} $out/bin/${pname}
|
||||||
|
|
||||||
|
install -m 444 -D ${appimageContents}/open-lens.desktop $out/share/applications/${pname}.desktop
|
||||||
|
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/open-lens.png \
|
||||||
|
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||||
|
|
||||||
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||||
|
--replace 'Icon=open-lens' 'Icon=${pname}' \
|
||||||
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "The Kubernetes IDE";
|
||||||
|
homepage = "https://github.com/MuhammedKalkan/OpenLens";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ benwbooth sebtm ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -30362,6 +30362,8 @@ with pkgs;
|
|||||||
|
|
||||||
lens = callPackage ../applications/networking/cluster/lens { };
|
lens = callPackage ../applications/networking/cluster/lens { };
|
||||||
|
|
||||||
|
openlens = callPackage ../applications/networking/cluster/openlens { };
|
||||||
|
|
||||||
leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { };
|
leo-editor = libsForQt5.callPackage ../applications/editors/leo-editor { };
|
||||||
|
|
||||||
libowfat = callPackage ../development/libraries/libowfat { };
|
libowfat = callPackage ../development/libraries/libowfat { };
|
||||||
|
Loading…
Reference in New Issue
Block a user