5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
34 lines
635 B
Nix
34 lines
635 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
six,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "retrying";
|
|
version = "1.3.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-NF2oxXZb2YKx0ZFd65EC/T0fetFr2EqXALhfZNJOjz4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
# doesn't ship tests in tarball
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "retrying" ];
|
|
|
|
meta = with lib; {
|
|
description = "General-purpose retrying library";
|
|
homepage = "https://github.com/rholder/retrying";
|
|
license = licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|