mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nile: use gitUpdater
Upstream tags releases, so we should not be using gitUnstableUpdater when tracking release tags.
This commit is contained in:
parent
850c8f2703
commit
a32efffecd
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user