1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5}:
6
7buildPythonPackage rec{
8 pname = "riprova";
9 version = "0.2.7";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "04drdvjjbh370csv2vb5zamg2aanxqkfm6w361qkybnra4g4g0dz";
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}