{ appimageTools, fetchurl, ... }: let hashes = (builtins.import ../hashes.nix).emudeck; in appimageTools.wrapType1 { name = "emudeck"; inherit (hashes) version; src = fetchurl { url = "https://github.com/EmuDeck/emudeck-electron/releases/download/v${hashes.version}/EmuDeck-${hashes.version}.AppImage"; inherit (hashes) hash; }; extraPkgs = pkgs: with pkgs; [ jq gnome.zenity unzip bash fuse git rsync newt ]; extraInstallCommands = '' mkdir -p $out/share/applications cat > $out/share/applications/EmuDeck-Nix.desktop << EOF [Desktop Entry] Name=EmuDeck-Nix Exec=emudeck Terminal=false Type=Application Categories=Game; EOF ''; }