depot/third_party/nixpkgs/pkgs/development/python-modules/tenacity/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

46 lines
796 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pbr,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools-scm,
tornado,
typeguard,
}:
buildPythonPackage rec {
pname = "tenacity";
version = "8.2.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-U5jvDXjmP0AAfB+0wL/5bhkROU0vqNGU93YZwF/2zIo=";
};
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 ];
};
}