python3Packages.python-backoff: init at 2.3.1

This commit is contained in:
Robert Schütz
2026-05-23 15:42:08 +02:00
committed by Martin Weinelt
parent e875e2a1f3
commit b73acd9694
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{
buildPythonPackage,
fetchFromGitHub,
hatchling,
lib,
pytest-asyncio,
pytestCheckHook,
requests,
responses,
}:
buildPythonPackage (finalAttrs: {
pname = "python-backoff";
version = "2.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "python-backoff";
repo = "backoff";
tag = "v${finalAttrs.version}";
hash = "sha256-Os20Gz+uWaEdUPPF9/tT7LNxbmN0W/tuzVZa3H+ZG2A=";
};
build-system = [ hatchling ];
pythonImportsCheck = [ "backoff" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
requests
responses
];
meta = {
changelog = "https://github.com/python-backoff/backoff/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "Python library providing function decorators for configurable backoff and retry";
homepage = "https://github.com/python-backoff/backoff";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.dotlambda ];
};
})
+2
View File
@@ -15756,6 +15756,8 @@ self: super: with self; {
python-axolotl-curve25519 = callPackage ../development/python-modules/python-axolotl-curve25519 { };
python-backoff = callPackage ../development/python-modules/python-backoff { };
python-barbicanclient = callPackage ../development/python-modules/python-barbicanclient { };
python-barcode = callPackage ../development/python-modules/python-barcode { };