Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}:
let
pname = "maptool";
version = "1.17.1";
version = "1.18.5";
repoBase = "https://github.com/RPTools/maptool";
src = fetchurl {
url = "${repoBase}/releases/download/${version}/maptool-${version}-x86_64.pkg.tar.zst";
hash = "sha256-yPuZUPRP0O+5Grj53xteZovowuFxOo4q6qL3mnjgIu0=";
hash = "sha256-67szWKgx3B5HacpzYThxGDHKHK5qz2GQ15+ZEuEGlAU=";
};

meta = with lib; {
Expand Down Expand Up @@ -124,7 +124,7 @@ stdenvNoCC.mkDerivation {

dest=$out/bin
install -dm755 "$dest"
makeWrapper ${jre}/bin/java "$dest"/${binName} \
makeWrapper ${lib.getExe jre} "$dest"/${binName} \
"''${gappsWrapperArgs[@]}" \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ ffmpeg ]} \
--add-flags "${lib.concatStringsSep " " jvmArgs} net.rptools.maptool.client.LaunchInstructions"
Expand Down
8 changes: 0 additions & 8 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13862,14 +13862,6 @@ with pkgs;

liquidwar5 = callPackage ../games/liquidwar/5.nix { };

maptool = callPackage ../games/maptool {
# MapTool is fussy about which JRE it uses; OpenJDK will leave it hanging
# at launch in a class initialization deadlock. MapTool ships Temurin with
# their pre-built releases so we might as well use it too.
jre = temurin-bin-21;
openjfx = openjfx21;
};

mindustry-wayland = callPackage ../by-name/mi/mindustry/package.nix {
enableWayland = true;
};
Expand Down
Loading