pythonPackages.backoff: init at 1.10.0

This commit is contained in:
Scott Worley 2020-07-17 17:19:26 -07:00 committed by Jon
parent 661949ba62
commit 2f2954ccb1
2 changed files with 28 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };