depot/third_party/nixpkgs/pkgs/development/python-modules/retrying/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

37 lines
658 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 = with maintainers; [ ];
};
}