From 3301bbda6e7243c7dd43d957a76ae7a46c01260e Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Fri, 4 Oct 2024 13:07:41 +0800 Subject: [PATCH] forge-mtg: 1.6.57 -> 1.6.65 Diff: https://github.com/Card-Forge/forge/compare/refs/tags/1.6.57...1.6.65 Changelog: https://github.com/Card-Forge/forge/releases/tag/forge-1.6.65 --- pkgs/games/forge-mtg/default.nix | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/pkgs/games/forge-mtg/default.nix b/pkgs/games/forge-mtg/default.nix index 8ca1675591ee..dedce0dd3cd3 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