universedesktop: game: shattered-pixel-dungeon

This commit is contained in:
2025-10-24 23:10:19 -04:00
parent c1ab929c4e
commit 32e806e54e
2 changed files with 312 additions and 0 deletions

View File

@@ -10,6 +10,26 @@
# Game compat
programs.gamemode.enable = true;
nixpkgs.overlays = [(final: prev: {
shattered-pixel-dungeon = prev.shattered-pixel-dungeon.overrideAttrs (old: rec {
version = "3.2.5";
patches = [];
mitmCache = gradle.fetchDeps {
inherit (old) pname;
data = ./shattered-pixel-dungeon/deps.json;
};
src = pkgs.fetchFromGitHub {
owner = "00-Evan";
repo = "shattered-pixel-dungeon";
rev = "v${version}";
hash = "sha256-ltCKM46nzZZVJqHzo3V0Igyd4q+uD95fuLMWCi18jbQ=";
};
});
})];
environment.systemPackages = with pkgs; [
# For Steam
protontricks
@@ -20,5 +40,8 @@
# PS2 Games
pcsx2
# Standalone
shattered-pixel-dungeon
];
}