nile: use gitUpdater

Upstream tags releases, so we should not be using gitUnstableUpdater
when tracking release tags.
This commit is contained in:
Aidan Gauland 2024-09-17 10:34:18 +12:00
parent 850c8f2703
commit a32efffecd
No known key found for this signature in database
GPG Key ID: 16E68DD2D0E77C91

View File

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