Commit 32c51ff1 authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

shorter-pixel-dungeon: init at 1.2.0

parent ebc47211
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ 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";
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -38437,6 +38437,7 @@ with pkgs;
  rat-king-adventure = callPackage ../games/shattered-pixel-dungeon/rat-king-adventure.nix { };
  experienced-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/experienced-pixel-dungeon.nix { };
  summoning-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/summoning-pixel-dungeon.nix { };
  shorter-pixel-dungeon = callPackage ../games/shattered-pixel-dungeon/shorter-pixel-dungeon.nix { };
  shticker-book-unwritten = callPackage ../games/shticker-book-unwritten { };