Refresh locked revisions for several dependencies and bump helium AppImage to 0.16.5.1. Remove dead commented example from the noctalia home module.
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
}: let
|
|
pname = "helium";
|
|
version = "0.16.5.1";
|
|
hash = "sha256-N6+wwg46ufsbCqEJv/WpTWDCnI3tnFt58cG6TsGxXew=";
|
|
|
|
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
|