pythonPackages.riprova: init at 0.2.7

This commit is contained in:
Martin Milata 2020-05-31 13:41:59 +02:00
parent adaa3a7944
commit 596c486e53
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec{
pname = "riprova";
version = "0.2.7";
src = fetchPypi {
inherit pname version;
sha256 = "04drdvjjbh370csv2vb5zamg2aanxqkfm6w361qkybnra4g4g0dz";
};
propagatedBuildInputs = [ six ];
# PyPI archive doesn't have tests
doCheck = false;
pythonImportsCheck = [ "riprova" ];
meta = with lib; {
homepage = "https://github.com/h2non/riprova";
description = "Small and versatile library to retry failed operations using different backoff strategies";
license = licenses.mit;
maintainers = with maintainers; [ mmilata ];
};
}

View file

@ -7282,6 +7282,8 @@ in {
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
riprova = callPackage ../development/python-modules/riprova { };
ripser = callPackage ../development/python-modules/ripser { };
rising = callPackage ../development/python-modules/rising { };