Files
garandos/modules/core/packages/appimages/helium.nix
T
GarandPLG a4f098b6bd Add Prism Launcher support and update flake lock
- Add a new home.prismlauncher module with an enable option and a
  custom package override.
- Enable Prism Launcher for the Garand‑Desktop host and remove the
  previous disabled flag.
- Add the user to the “video” group.
- Remove prismlauncher from the core packages list.
- Bump revisions and hashes for several inputs in flake.lock.
- Fix a trailing newline in the helium AppImage definition.
2026-08-12 00:00:47 +02:00

41 lines
1.4 KiB
Nix

{
lib,
appimageTools,
fetchurl,
}: let
pname = "helium";
version = "0.15.3.1";
hash = "sha256-ZCCm/prkgYgbDHW6OBPWvoIE77g7IYQpYdqc/PnIrSU=";
src = fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/helium-${version}-x86_64.AppImage";
sha256 = hash;
};
appimageContents = appimageTools.extract {inherit pname version src;};
iconSize = "256x256";
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
# mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/${iconSize}/apps/${pname}.png \
$out/share/icons/hicolor/${iconSize}/apps/${pname}.png
# substituteInPlace $out/share/applications/${pname}.desktop \
# --replace-fail 'Exec=AppRun' 'Exec=${pname}'
'';
meta = with lib; {
description = "Helium browser";
homepage = "https://github.com/imputnet/helium";
license = licenses.agpl3Plus;
platforms = ["x86_64-linux"];
sourceProvenance = with lib.sourceTypes; [binaryNativeCode];
maintainers = with lib.maintainers; [garand_plg];
};
}
# https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage