nixpkgs/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
843 B
Nix
Raw Normal View History

2023-09-12 14:53:13 +02:00
{ callPackage
, fetchFromGitHub
}:
callPackage ./generic.nix rec {
pname = "shorter-pixel-dungeon";
version = "1.2.0";
src = fetchFromGitHub {
owner = "TrashboxBobylev";
repo = "Shorter-Pixel-Dungeon";
rev = "Short-${version}";
hash = "sha256-8vmh65XlNqfIh4WHLPuWU68tb3ajKI8kBMI68CYlsSk=";
};
postPatch = ''
substituteInPlace build.gradle \
--replace "gdxControllersVersion = '2.2.4-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
'';
depsHash = "sha256-MUUeWZUCVPakK1MJwn0lPnjAlLpPWB/J17Ad68XRcHg=";
desktopName = "Shorter Pixel Dungeon";
meta = {
homepage = "https://github.com/TrashboxBobylev/Shorter-Pixel-Dungeon";
downloadPage = "https://github.com/TrashboxBobylev/Shorter-Pixel-Dungeon/releases";
description = "A shorter fork of the Shattered Pixel Dungeon roguelike";
};
}