@@ -1,22 +1,23 @@
1−{ lib, buildPythonPackage, fetchPypi, isPy27
2−, pbr, six, futures, monotonic, setuptools_scm
3−, pytest, sphinx, tornado
1+{ lib, buildPythonPackage, fetchPypi, isPy27, isPy3k
2+, pbr, six, futures, monotonic, typing, setuptools_scm
3+, pytest, sphinx, tornado, typeguard
44}:
55
66buildPythonPackage rec {
77 pname = "tenacity";
8− version = "6.0.0";
8+ version = "6.2.0";
99
1010 src = fetchPypi {
1111 inherit pname version;
12− sha256 = "72f397c2bb1887e048726603f3f629ea16f88cb3e61e4ed3c57e98582b8e3571";
12+ sha256 = "16ikf6n6dw1kzncs6vjc4iccl76f9arln59jhiiai27lzbkr1bi9";
1313 };
1414
1515 nativeBuildInputs = [ pbr setuptools_scm ];
1616 propagatedBuildInputs = [ six ]
17− ++ lib.optionals isPy27 [ futures monotonic ];
17+ ++ lib.optionals isPy27 [ futures monotonic typing ];
1818
19− checkInputs = [ pytest sphinx tornado ];
19+ checkInputs = [ pytest sphinx tornado ]
20+ ++ lib.optionals isPy3k [ typeguard ];
2021 checkPhase = if isPy27 then ''
2122 pytest --ignore='tenacity/tests/test_asyncio.py'
2223 '' else ''