2023-09-12 14:52:42 +02:00
|
|
|
{ callPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gradle_6
|
|
|
|
, substitute
|
|
|
|
}:
|
|
|
|
|
|
|
|
callPackage ./generic.nix rec {
|
|
|
|
pname = "summoning-pixel-dungeon";
|
2023-11-07 09:50:42 +01:00
|
|
|
version = "1.2.5a";
|
2023-09-12 14:52:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TrashboxBobylev";
|
|
|
|
repo = "Summoning-Pixel-Dungeon";
|
|
|
|
# The GH release is named "$version-$hash", but it's actually a mutable "_latest" tag
|
2023-11-07 09:50:42 +01:00
|
|
|
rev = "89ff59e7f42abcc88b7a1f24391f95ddc30f9d29";
|
|
|
|
hash = "sha256-VQcWkbGe/0qyt3M5WWgTxczwC5mE3lRHbYidOwRoukI=";
|
2023-09-12 14:52:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [(substitute {
|
|
|
|
src = ./disable-git-version.patch;
|
2024-02-09 04:30:09 +01:00
|
|
|
substitutions = [ "--subst-var-by" "version" version ];
|
2023-09-12 14:52:42 +02:00
|
|
|
})];
|
|
|
|
|
|
|
|
depsHash = "sha256-0P/BcjNnbDN25DguRcCyzPuUG7bouxEx1ySodIbSwvg=";
|
|
|
|
|
|
|
|
desktopName = "Summoning Pixel Dungeon";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/TrashboxBobylev/Summoning-Pixel-Dungeon";
|
|
|
|
downloadPage = "https://github.com/TrashboxBobylev/Summoning-Pixel-Dungeon/releases";
|
|
|
|
description = "A fork of the Shattered Pixel Dungeon roguelike with added summoning mechanics";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Probably due to https://github.com/gradle/gradle/issues/17236
|
|
|
|
gradle = gradle_6;
|
|
|
|
}
|