83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
47 lines
790 B
Nix
47 lines
790 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pbr
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, setuptools-scm
|
|
, tornado
|
|
, typeguard
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tenacity";
|
|
version = "8.2.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-x7tLhkJbl3cmp7SZcVQtT2e69yCWWX0oPz/9AfM7kt8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pbr
|
|
setuptools-scm
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
tornado
|
|
typeguard
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"tenacity"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/jd/tenacity";
|
|
description = "Retrying library for Python";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
};
|
|
}
|