7 callPackage ../generic.nix rec {
8 pname = "tower-pixel-dungeon";
11 src = fetchFromGitHub {
12 owner = "FixAkaTheFix";
13 repo = "Tower-Pixel-Dungeon";
14 rev = "TPDv${lib.replaceStrings [ "." ] [ "" ] version}";
15 hash = "sha256-ZyqrrSuA++L7FOUj6Ytk2lld0YMY4B7WOCzpohOKhdU=";
18 sourceRoot = src.name + "/pixel-towers-master";
20 desktopName = "Tower Pixel Dungeon";
22 # Sprite sources (Paint.NET files) interfere with the build process.
24 rm core/src/main/assets/{levelsplashes,sprites}/*.pdn
28 homepage = "https://github.com/FixAkaTheFix/Tower-Pixel-Dungeon";
29 downloadPage = "https://github.com/FixAkaTheFix/Tower-Pixel-Dungeon/releases";
30 description = "Turn-based tower defense game based on Shattered Pixel Dungeon";