tome4: add update script
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
SDL2_image,
|
||||
SDL2_ttf,
|
||||
xorg,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -125,6 +126,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"tome-(.*)"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Tales of Maj'eyal (rogue-like game)";
|
||||
mainProgram = "tome4";
|
||||
|
||||
Reference in New Issue
Block a user