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