python.pkgs.retry: init at 0.9.2

This commit is contained in:
Robert Schütz 2019-03-21 12:55:00 +01:00
parent 77ab98861c
commit d716cad907
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pbr
, decorator
, py
, mock
, pytest
}:
buildPythonPackage rec {
pname = "retry";
version = "0.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "f8bfa8b99b69c4506d6f5bd3b0aabf77f98cdb17f3c9fc3f5ca820033336fba4";
};
nativeBuildInputs = [
pbr
];
propagatedBuildInputs = [
decorator
py
];
checkInputs = [
mock
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Easy to use retry decorator";
homepage = https://github.com/invl/retry;
license = licenses.asl20;
};
}

View File

@ -4092,6 +4092,8 @@ in {
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { }; restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
retry = callPackage ../development/python-modules/retry { };
robomachine = callPackage ../development/python-modules/robomachine { }; robomachine = callPackage ../development/python-modules/robomachine { };
robotframework = callPackage ../development/python-modules/robotframework { }; robotframework = callPackage ../development/python-modules/robotframework { };