Merge pull request '📦 Add OpenGOAL package' (#11) from opengoal into master
Publish packages to Attic / publish (push) Successful in 8m43s

Reviewed-on: #11
This commit was merged in pull request #11.
This commit is contained in:
2026-09-02 12:42:03 -05:00
3 changed files with 53 additions and 2 deletions
+1
View File
@@ -74,6 +74,7 @@ jobs:
".#packages.${system}.swaytreesave" \ ".#packages.${system}.swaytreesave" \
".#packages.${system}.archon" \ ".#packages.${system}.archon" \
".#packages.${system}.ani-cli-rs" \ ".#packages.${system}.ani-cli-rs" \
".#packages.${system}.opengoal" \
| tee built-paths.txt | tee built-paths.txt
- name: Push packages to Attic - name: Push packages to Attic
+3 -2
View File
@@ -1,7 +1,7 @@
{ {
pkgs, pkgs,
hildibrand ? null, hildibrand ? null,
caitsith ? null caitsith ? null,
}: }:
{ {
# any overlays we define here # any overlays we define here
@@ -20,4 +20,5 @@
archon = pkgs.callPackage ./linux/archon.nix { }; archon = pkgs.callPackage ./linux/archon.nix { };
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { }; yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { }; ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
opengoal = pkgs.callPackage ./linux/opengoal.nix { };
} }
+49
View File
@@ -0,0 +1,49 @@
{ pkgs }:
let
pname = "OpenGOAL-Launcher";
version = "2.10.4";
src = pkgs.fetchurl {
url = "https://github.com/open-goal/launcher/releases/download/v${version}/${pname}_${version}_amd64.AppImage";
hash = "sha256-eikzjdOYNdJM9FM3O/HuCFDzf97Fm1nhbRedDyKZ1/s=";
};
in
pkgs.stdenvNoCC.mkDerivation {
inherit pname version src;
nativeBuildInputs = [ pkgs.makeWrapper ];
dontUnpack = true;
dontPatchELF = true;
installPhase = ''
runHook preInstall
cp "$src" "${pname}.AppImage"
chmod +x "${pname}.AppImage"
./"${pname}.AppImage" --appimage-extract
mkdir -p "$out/opt"
cp -a AppDir "$out/opt/opengoal-launcher"
rm -f "$out/opt/opengoal-launcher/share/icons/hicolor/scalable/apps/byobu.svg"
makeWrapper "$out/opt/opengoal-launcher/AppRun" "$out/bin/${pname}"
install -Dm444 "AppDir/${pname}.desktop" \
"$out/share/applications/${pname}.desktop"
install -Dm444 "AppDir/${pname}.png" \
"$out/share/icons/hicolor/256x256/apps/${pname}.png"
runHook postInstall
'';
passthru.updateScript = pkgs.nix-update-script { };
meta = with pkgs.lib; {
description = "Launcher for the OpenGOAL project";
homepage = "https://github.com/open-goal/launcher";
license = licenses.mit;
platforms = [ "x86_64-linux" ];
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
mainProgram = pname;
};
}