f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
46 lines
796 B
Nix
46 lines
796 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pbr,
|
|
pytest-asyncio,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools-scm,
|
|
tornado,
|
|
typeguard,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tenacity";
|
|
version = "8.4.1";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-VLFBK4eN334fFXfNSVJ7rYze8yQhvVmb6sDGw/EFgv0=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|