blob: 134785e4e1fdbcc8b40704b60833128afa2b5573 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchPypi,
pbr,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools-scm,
tornado,
typeguard,
}:
buildPythonPackage rec {
pname = "tenacity";
version = "8.2.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-U5jvDXjmP0AAfB+0wL/5bhkROU0vqNGU93YZwF/2zIo=";
};
nativeBuildInputs = [
pbr
setuptools-scm
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
tornado
typeguard
];
pythonImportsCheck = [ "tenacity" ];
meta = with lib; {
homepage = "https://github.com/jd/tenacity";
description = "Retrying library for Python";
license = licenses.asl20;
maintainers = with maintainers; [ jakewaksbaum ];
};
}
|