aptakube: init at 1.11.10 (#407913)

This commit is contained in:
Wolfgang Walther
2025-06-26 18:19:32 +00:00
committed by GitHub
4 changed files with 119 additions and 0 deletions
+6
View File
@@ -12628,6 +12628,12 @@
github = "juliadin";
githubId = 7837969;
};
juliamertz = {
email = "info@juliamertz.nl";
name = "Julia Mertz";
github = "juliamertz";
githubId = 35079666;
};
JulianFP = {
name = "Julian Partanen";
github = "JulianFP";
+36
View File
@@ -0,0 +1,36 @@
{
stdenvNoCC,
fetchurl,
undmg,
pname,
version,
meta,
}:
stdenvNoCC.mkDerivation {
inherit
pname
version
meta
;
src = fetchurl {
url = "https://github.com/aptakube/aptakube/releases/download/${version}/Aptakube_${version}_universal.dmg";
sha256 = "sha256-ljVl490cZuIcRSP8RKmf8Eq5D4OibLfuA8SugUlf1Yw=";
};
nativeBuildInputs = [ undmg ];
unpackPhase = ''
runHook preUnpack
undmg $src
runHook postUnpack
'';
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r Aptakube.app $out/Applications/Aptakube.app
runHook postInstall
'';
}
+43
View File
@@ -0,0 +1,43 @@
{
stdenvNoCC,
fetchurl,
dpkg,
autoPatchelfHook,
webkitgtk_4_1,
pname,
version,
meta,
}:
stdenvNoCC.mkDerivation {
inherit
pname
version
meta
;
src = fetchurl {
url = "https://github.com/aptakube/aptakube/releases/download/${version}/aptakube_${version}_amd64.deb";
sha256 = "sha256-lT8v2nXVfZb5W/FP/ymWjGypQLz7ONlp9+GblMKKXuw=";
};
nativeBuildInputs = [
autoPatchelfHook
dpkg
];
buildInputs = [ webkitgtk_4_1 ];
unpackPhase = ''
runHook preUnpack
dpkg -X $src .
runHook postUnpack
'';
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r usr/share usr/bin $out
runHook postInstall
'';
}
+34
View File
@@ -0,0 +1,34 @@
{
lib,
stdenv,
callPackage,
...
}:
let
pname = "aptakube";
version = "1.11.10";
meta = {
homepage = "https://aptakube.com/";
description = "Modern, lightweight and multi-cluster Kubernetes GUI";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.juliamertz ];
platforms = lib.platforms.darwin ++ [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
in
if stdenv.hostPlatform.isDarwin then
callPackage ./darwin.nix {
inherit
pname
version
meta
;
}
else
callPackage ./linux.nix {
inherit
pname
version
meta
;
}