python3.pkgs.pyrate-limiter_2: init at 2.10.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user