1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 six,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "retrying";
12 version = "1.4.2";
13 pyproject = true;
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-0QLnXVPY0wuIVi1FNh1sbJNNoG+rMb2BwEIKy5eoujk=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [ six ];
25
26 # doesn't ship tests in tarball
27 doCheck = false;
28
29 pythonImportsCheck = [ "retrying" ];
30
31 meta = with lib; {
32 description = "General-purpose retrying library";
33 homepage = "https://github.com/rholder/retrying";
34 license = licenses.asl20;
35 maintainers = [ ];
36 };
37}