feat(polymita-picta): experiment with emudeck packaging for the deck
This commit is contained in:
parent
64bd1426a3
commit
fbdf5e0fbd
|
@ -32,4 +32,8 @@
|
|||
hash = "sha256-NVlK2lA0TBtCdR1Yjq2cV+ML+bJjBKk/oCEIaBzZDOE=";
|
||||
vendorHash = "sha256-xEPmNnaDwFU4l2G4cMvtNeQ9KneF5g9ViQSFrDkrafY=";
|
||||
};
|
||||
emudeck = {
|
||||
version = "2.1.4";
|
||||
hash = "sha256-tpJap4Kg+GxB5vAA8qAcBPUl6GZgMYrVWv4KwKue2VY=";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.self.packages.x86_64-linux.emudeck
|
||||
steam-rom-manager
|
||||
boilr
|
||||
electron
|
||||
|
|
28
pkgs/emudeck.nix
Normal file
28
pkgs/emudeck.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
...
|
||||
}: let
|
||||
hashes = (builtins.import ../hashes.nix).emudeck;
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue