Files
nixos-config/modules/pkgs/helium.nix
T
thomas 0d2877a861
helium update / update-helium (push) Successful in 6s
zen browser update / update-zen-browser (push) Successful in 8s
handy update / update-handy (push) Successful in 11s
update helium to 0.10.5.1 (#13)
automated update of helium appimage version and hash

## changelog
from `0.10.2.1` to `0.10.5.1`

upstream release: https://github.com/imputnet/helium-linux/releases/tag/0.10.5.1

Co-authored-by: gitea actions <actions@localhost>
Reviewed-on: #13
2026-03-16 19:09:31 +00:00

23 lines
784 B
Nix

{ ... }: {
perSystem = { pkgs, ... }: {
packages.helium = pkgs.appimageTools.wrapType2 rec {
pname = "helium";
version = "0.10.5.1";
src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/${version}/${pname}-${version}-x86_64.AppImage";
hash = "sha256-c/ea8C1XjTkBo0/ujGHEbKWyCmRMxyuiuOzAO9AMf1o=";
};
extraInstallCommands = let
contents = pkgs.appimageTools.extract { inherit pname version src; };
in ''
install -m 444 -D ${contents}/${pname}.desktop -t $out/share/applications
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
cp -r ${contents}/usr/share/icons $out/share
'';
};
};
}