-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
271 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
pkgs/games/shattered-pixel-dungeon/tower-pixel-dungeon/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
lib, | ||
callPackage, | ||
fetchFromGitHub, | ||
}: | ||
|
||
callPackage ../generic.nix rec { | ||
pname = "tower-pixel-dungeon"; | ||
version = "0.3.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "FixAkaTheFix"; | ||
repo = "Tower-Pixel-Dungeon"; | ||
rev = "TPDv${lib.replaceStrings [ "." ] [ "" ] version}"; | ||
hash = "sha256-ZyqrrSuA++L7FOUj6Ytk2lld0YMY4B7WOCzpohOKhdU="; | ||
}; | ||
|
||
sourceRoot = src.name + "/pixel-towers-master"; | ||
|
||
desktopName = "Tower Pixel Dungeon"; | ||
|
||
# Sprite sources (Paint.NET files) interfere with the build process. | ||
postPatch = '' | ||
rm core/src/main/assets/{levelsplashes,sprites}/*.pdn | ||
''; | ||
|
||
meta = { | ||
homepage = "https://github.com/FixAkaTheFix/Tower-Pixel-Dungeon"; | ||
downloadPage = "https://github.com/FixAkaTheFix/Tower-Pixel-Dungeon/releases"; | ||
description = "Turn-based tower defense game based on Shattered Pixel Dungeon"; | ||
}; | ||
} |
238 changes: 238 additions & 0 deletions
238
pkgs/games/shattered-pixel-dungeon/tower-pixel-dungeon/deps.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters