nixpkgs/pkgs/games/shattered-pixel-dungeon/experienced-pixel-dungeon.nix
2023-11-20 16:58:51 +00:00

31 lines
914 B
Nix

{ callPackage
, fetchFromGitHub
}:
callPackage ./generic.nix rec {
pname = "experienced-pixel-dungeon";
version = "2.16";
src = fetchFromGitHub {
owner = "TrashboxBobylev";
repo = "Experienced-Pixel-Dungeon-Redone";
rev = "ExpPD-${version}";
hash = "sha256-EfSByMceefUcnNmLSTnFNJs/iz1Q45X0BHHfj89d7PI=";
};
postPatch = ''
substituteInPlace build.gradle \
--replace "gdxControllersVersion = '2.2.3-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
'';
depsHash = "sha256-MUUeWZUCVPakK1MJwn0lPnjAlLpPWB/J17Ad68XRcHg=";
desktopName = "Experienced Pixel Dungeon";
meta = {
homepage = "https://github.com/TrashboxBobylev/Experienced-Pixel-Dungeon-Redone";
downloadPage = "https://github.com/TrashboxBobylev/Experienced-Pixel-Dungeon-Redone/releases";
description = "A fork of the Shattered Pixel Dungeon roguelike without limits on experience and items";
};
}