Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 616 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pbr 5, decorator 6, py 7, mock 8, pytest 9}: 10 11buildPythonPackage rec { 12 pname = "retry"; 13 version = "0.9.2"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "f8bfa8b99b69c4506d6f5bd3b0aabf77f98cdb17f3c9fc3f5ca820033336fba4"; 18 }; 19 20 nativeBuildInputs = [ 21 pbr 22 ]; 23 24 propagatedBuildInputs = [ 25 decorator 26 py 27 ]; 28 29 nativeCheckInputs = [ 30 mock 31 pytest 32 ]; 33 34 checkPhase = '' 35 pytest 36 ''; 37 38 meta = with lib; { 39 description = "Easy to use retry decorator"; 40 homepage = "https://github.com/invl/retry"; 41 license = licenses.asl20; 42 }; 43}