Merge pull request #297130 from K900/revert-pyrate-limiter-again

[staging-next] Revert "python3Packages.pyrate-limiter: 2.10.0 -> 3.2.1"
This commit is contained in:
Martin Weinelt
2024-03-19 09:30:34 +01:00
committed by GitHub
@@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "pyrate-limiter";
version = "3.2.1";
version = "2.10.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "vutran1710";
repo = "PyrateLimiter";
rev = "refs/tags/v${version}";
hash = "sha256-EBgeLBIyiveY9GTdwl93bX9JOCffREU4W8C0fx7zXeE=";
rev = "v${version}";
hash = "sha256-CPusPeyTS+QyWiMHsU0ii9ZxPuizsqv0wQy3uicrDw0=";
};
nativeBuildInputs = [
@@ -24,6 +24,11 @@ buildPythonPackage rec {
"pyrate_limiter"
];
# The only consumer of this is Lutris (via python-moddb), and it requires 2.x,
# so don't auto-update it and break Lutris every python-updates.
# FIXME: remove when python-moddb updates.
passthru.skipBulkUpdate = true;
meta = with lib; {
description = "Python Rate-Limiter using Leaky-Bucket Algorimth Family";
homepage = "https://github.com/vutran1710/PyrateLimiter";