Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tenacity / default.nix
blob5fe70090feeac31d8a04566fb98006850f9393e8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pbr
5 , pytest-asyncio
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools-scm
9 , tornado
10 , typeguard
13 buildPythonPackage rec {
14   pname = "tenacity";
15   version = "8.2.3";
16   format = "pyproject";
18   disabled = pythonOlder "3.6";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-U5jvDXjmP0AAfB+0wL/5bhkROU0vqNGU93YZwF/2zIo=";
23   };
25   nativeBuildInputs = [
26     pbr
27     setuptools-scm
28   ];
30   nativeCheckInputs = [
31     pytest-asyncio
32     pytestCheckHook
33     tornado
34     typeguard
35   ];
37   pythonImportsCheck = [
38     "tenacity"
39   ];
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   };