pythonPackages.retrying: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-25 20:29:48 -04:00
committed by Frederik Rietdijk
parent 62ca7b6dd4
commit 95d05603d3
2 changed files with 28 additions and 18 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, six
}:
buildPythonPackage rec {
pname = "retrying";
version = "1.3.3";
src = fetchPypi {
inherit pname version;
sha256 = "0fwp86xv0rvkncjdvy2mwcvbglw4w9k0fva25i7zx8kd19b3kh08";
};
propagatedBuildInputs = [ six ];
# doesn't ship tests in tarball
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/rholder/retrying;
description = "General-purpose retrying library";
license = licenses.asl20;
};
}