python3Packages.python-backoff: init at 2.3.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user