diff --git a/pkgs/games/forge-mtg/default.nix b/pkgs/games/forge-mtg/default.nix index 8ca1675591ee3..dedce0dd3cd3f 100644 --- a/pkgs/games/forge-mtg/default.nix +++ b/pkgs/games/forge-mtg/default.nix @@ -1,20 +1,21 @@ -{ coreutils -, fetchFromGitHub -, gnused -, lib -, maven -, makeWrapper -, openjdk +{ + coreutils, + fetchFromGitHub, + gnused, + lib, + maven, + makeWrapper, + openjdk, }: let - version = "1.6.57"; + version = "1.6.65"; src = fetchFromGitHub { owner = "Card-Forge"; repo = "forge"; rev = "forge-${version}"; - hash = "sha256-pxnnqLfyblbIgIRZZrx8Y8K43zUv9mu7PzZ7zltpEUQ="; + hash = "sha256-MCJl3nBHbX/O24bzD4aQ12eMWxYY2qJC5vomvtsIBek="; }; # launch4j downloads and runs a native binary during the package phase. @@ -25,7 +26,7 @@ maven.buildMavenPackage { pname = "forge-mtg"; inherit version src patches; - mvnHash = "sha256-QK9g0tG75lIhEtf4jW03N32YbD9Fe5iI0JTuqmCTtnE="; + mvnHash = "sha256-ouF0Ja3oGrlUCcT0PzI5i9FQ+oLdEhE/LvhJ0QGErvI="; doCheck = false; # Needs a running Xorg @@ -50,7 +51,13 @@ maven.buildMavenPackage { for commandToInstall in forge forge-adventure forge-adventure-editor; do chmod 555 $out/share/forge/$commandToInstall.sh makeWrapper $out/share/forge/$commandToInstall.sh $out/bin/$commandToInstall \ - --prefix PATH : ${lib.makeBinPath [ coreutils openjdk gnused ]} \ + --prefix PATH : ${ + lib.makeBinPath [ + coreutils + openjdk + gnused + ] + } \ --set JAVA_HOME ${openjdk}/lib/openjdk \ --set SENTRY_DSN "" done