about summary refs log tree commit diff
path: root/pkgs/games/gogdl
diff options
context:
space:
mode:
authorAidan Gauland <aidalgol@fastmail.net>2022-12-29 09:21:51 +1300
committerAidan Gauland <aidalgol@fastmail.net>2022-12-29 12:28:21 +1300
commitd29ebc00db1907fd28db64c296baee4857aac1e9 (patch)
treebacf328f779bd34e7a83b266c5811bb835bde6c6 /pkgs/games/gogdl
parentcd74ac90f511496fbdfacbb5eb8bb2039aa8a9d4 (diff)
gogdl: Add updateScript
Diffstat (limited to 'pkgs/games/gogdl')
-rw-r--r--pkgs/games/gogdl/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/games/gogdl/default.nix b/pkgs/games/gogdl/default.nix
index 944902bcadc38..24a9667e67999 100644
--- a/pkgs/games/gogdl/default.nix
+++ b/pkgs/games/gogdl/default.nix
@@ -1,4 +1,5 @@
 { lib
+, gitUpdater
 , buildPythonApplication
 , fetchFromGitHub
 , pythonOlder
@@ -33,4 +34,8 @@ buildPythonApplication rec {
     license = with licenses; [ gpl3 ];
     maintainers = with maintainers; [ aidalgol ];
   };
+
+  passthru.updateScript = gitUpdater {
+    rev-prefix = "v";
+  };
 }