depot/third_party/nixpkgs/pkgs/development/python-modules/retrying/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

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 = [ ];
};
}