1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6}:
7
8buildPythonPackage rec {
9 pname = "riprova";
10 version = "0.3.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-FgFySbvBjcZU2bjo40/1O7glc6oFWW05jinEOfMWMVI=";
16 };
17
18 propagatedBuildInputs = [ six ];
19
20 # PyPI archive doesn't have tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "riprova" ];
24
25 meta = with lib; {
26 homepage = "https://github.com/h2non/riprova";
27 description = "Small and versatile library to retry failed operations using different backoff strategies";
28 license = licenses.mit;
29 maintainers = with maintainers; [ mmilata ];
30 };
31}