forge-mtg: add updateScript

Co-authored-by: Christopher Fredén <me@icetan.org>
This commit is contained in:
Dyego Aurélio
2025-08-21 09:41:28 -03:00
parent 8ab7ff673e
commit b7609ba68d
+5
View File
@@ -10,6 +10,7 @@
makeDesktopItem,
copyDesktopItems,
imagemagick,
nix-update-script,
}:
let
@@ -122,6 +123,10 @@ maven.buildMavenPackage {
done
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=forge-(.*)" ];
};
meta = with lib; {
description = "Magic: the Gathering card game with rules enforcement";
homepage = "https://card-forge.github.io/forge";