python3.pkgs.pyrate-limiter_2: init at 2.10.0

This commit is contained in:
Doron Behar
2026-02-09 22:49:08 +02:00
parent 83c868c860
commit 4731e2e273
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage (finalAttrs: {
pname = "pyrate-limiter";
# nixpkgs-update: no auto update
version = "2.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "vutran1710";
repo = "PyrateLimiter";
tag = "v${finalAttrs.version}";
hash = "sha256-CPusPeyTS+QyWiMHsU0ii9ZxPuizsqv0wQy3uicrDw0=";
};
build-system = [ poetry-core ];
pythonImportsCheck = [ "pyrate_limiter" ];
passthru.skipBulkUpdate = true;
meta = {
description = "Python Rate-Limiter using Leaky-Bucket Algorimth Family";
homepage = "https://github.com/vutran1710/PyrateLimiter";
changelog = "https://github.com/vutran1710/PyrateLimiter/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
})
+2
View File
@@ -14513,6 +14513,8 @@ self: super: with self; {
pyrate-limiter = callPackage ../development/python-modules/pyrate-limiter { };
pyrate-limiter_2 = callPackage ../development/python-modules/pyrate-limiter_2 { };
pyrdfa3 = callPackage ../development/python-modules/pyrdfa3 { };
pyre-extensions = callPackage ../development/python-modules/pyre-extensions { };