summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2023-09-12 14:53:13 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2023-10-28 15:32:58 +0200
commit32c51ff1df1ea89bbb6cefcf0e7584ac114431dc (patch)
treef4d6b08001cee8bc059fbd1b12adcff3eeef9d5a /pkgs/games
parentebc472116ee184ad786c746b4931858f99599090 (diff)
downloadnixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar.gz
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar.bz2
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar.lz
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar.xz
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.tar.zst
nixpkgs-32c51ff1df1ea89bbb6cefcf0e7584ac114431dc.zip
shorter-pixel-dungeon: init at 1.2.0
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix b/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix
new file mode 100644
index 00000000000..062e76cf852
--- /dev/null
+++ b/pkgs/games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix
@@ -0,0 +1,30 @@
+{ 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";
+  };
+}