From a32efffecd498651a83277b8edbd7dd425a376b7 Mon Sep 17 00:00:00 2001 From: Aidan Gauland Date: Tue, 17 Sep 2024 10:34:18 +1200 Subject: [PATCH] nile: use gitUpdater Upstream tags releases, so we should not be using gitUnstableUpdater when tracking release tags. --- pkgs/games/nile/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/games/nile/default.nix b/pkgs/games/nile/default.nix index d5c64f8a696b..cc1b4a9f8fe6 100644 --- a/pkgs/games/nile/default.nix +++ b/pkgs/games/nile/default.nix @@ -1,5 +1,5 @@ { lib -, unstableGitUpdater +, gitUpdater , buildPythonApplication , fetchFromGitHub , pythonOlder @@ -10,18 +10,20 @@ , zstandard , json5 , platformdirs -, cacert }: -buildPythonApplication rec { +let + version = "1.1.1"; +in +buildPythonApplication { pname = "nile"; - version = "1.1.1-unstable-2024-09-05"; + inherit version; format = "pyproject"; src = fetchFromGitHub { owner = "imLinguin"; repo = "nile"; - rev = "aefa5dd9c3a5146669da22317c8e0e3c12665f64"; + rev = "v${version}"; hash = "sha256-wZdiUJH4sGYJqJ7Ssjl+30MiUbXupLzbSpiOU1M/3Fg="; }; @@ -56,7 +58,7 @@ buildPythonApplication rec { maintainers = with maintainers; [ aidalgol ]; }; - passthru.updateScript = unstableGitUpdater { - tagPrefix = "v"; + passthru.updateScript = gitUpdater { + rev-prefix = "v"; }; }