1{ lib 2, buildPythonPackage 3, fetchPypi 4, pbr 5, pytest-asyncio 6, pytestCheckHook 7, pythonOlder 8, setuptools-scm 9, tornado 10, typeguard 11}: 12 13buildPythonPackage rec { 14 pname = "tenacity"; 15 version = "8.2.3"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-U5jvDXjmP0AAfB+0wL/5bhkROU0vqNGU93YZwF/2zIo="; 23 }; 24 25 nativeBuildInputs = [ 26 pbr 27 setuptools-scm 28 ]; 29 30 nativeCheckInputs = [ 31 pytest-asyncio 32 pytestCheckHook 33 tornado 34 typeguard 35 ]; 36 37 pythonImportsCheck = [ 38 "tenacity" 39 ]; 40 41 meta = with lib; { 42 homepage = "https://github.com/jd/tenacity"; 43 description = "Retrying library for Python"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ jakewaksbaum ]; 46 }; 47}