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"; }; }