pythonPackages.backoff: init at 1.10.0
This commit is contained in:
parent
661949ba62
commit
2f2954ccb1
26
pkgs/development/python-modules/backoff/default.nix
Normal file
26
pkgs/development/python-modules/backoff/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, poetry, pytest-asyncio, }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "backoff";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "litl";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1jj0l6pjx747d2yyvnzd3qbm4qr73sq6cc56dhvd8wqfbp5279x0";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ poetry ];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-asyncio ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Function decoration for backoff and retry";
|
||||
homepage = "https://github.com/litl/backoff";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ chkno ];
|
||||
};
|
||||
}
|
@ -1957,6 +1957,8 @@ in {
|
||||
|
||||
backcall = callPackage ../development/python-modules/backcall { };
|
||||
|
||||
backoff = callPackage ../development/python-modules/backoff { };
|
||||
|
||||
backports_abc = callPackage ../development/python-modules/backports_abc { };
|
||||
|
||||
backports_functools_lru_cache = callPackage ../development/python-modules/backports_functools_lru_cache { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user