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