writers: add writeGuile[Bin] (#364531)
[NixPkgs.git] / pkgs / development / python-modules / tenacity / default.nix
blob0def5a032243598337dfcebd6c94f05e8aab8dad
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest-asyncio,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools-scm,
9   tornado,
10   typeguard,
13 buildPythonPackage rec {
14   pname = "tenacity";
15   version = "9.0.0";
16   pyproject = true;
18   disabled = pythonOlder "3.6";
20   src = fetchPypi {
21     inherit pname version;
22     hash = "sha256-gH83ypfWKqNhJk1Jew4x6SuAJwRJQr+nVhYNkIMg1zs=";
23   };
25   build-system = [ setuptools-scm ];
27   nativeCheckInputs = [
28     pytest-asyncio
29     pytestCheckHook
30     tornado
31     typeguard
32   ];
34   pythonImportsCheck = [ "tenacity" ];
36   meta = with lib; {
37     homepage = "https://github.com/jd/tenacity";
38     changelog = "https://github.com/jd/tenacity/releases/tag/${version}";
39     description = "Retrying library for Python";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ jakewaksbaum ];
42   };