From d29ebc00db1907fd28db64c296baee4857aac1e9 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Thu, 29 Dec 2022 09:21:51 +1300 Subject: [PATCH] gogdl: Add updateScript --- pkgs/games/gogdl/default.nix | 5 +++++ pkgs/games/legendary-gl/default.nix | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/games/gogdl/default.nix b/pkgs/games/gogdl/default.nix index 944902bcadc3..24a9667e6799 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"; + }; } diff --git a/pkgs/games/legendary-gl/default.nix b/pkgs/games/legendary-gl/default.nix index 7def07dfc07f..f867efc382d2 100644 --- a/pkgs/games/legendary-gl/default.nix +++ b/pkgs/games/legendary-gl/default.nix @@ -32,6 +32,6 @@ buildPythonApplication rec { license = licenses.gpl3; maintainers = with maintainers; [ equirosa ]; }; - + passthru.updateScript = gitUpdater { }; }