blob: 379056ad56f3ca49e43ca5f8418a1fac086b1975 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, pytest-asyncio
, pytest-mock
}:
buildPythonPackage rec {
pname = "async-stagger";
version = "0.3.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "async_stagger";
inherit version;
hash = "sha256-qp81fp79J36aUWqUvegSStXkZ+m8Zcn62qrJjpVqQ9Y=";
};
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-mock
];
disabledTests = [
# RuntimeError: Logic bug in...
"test_stagger_coro_gen"
];
pythonImportsCheck = [
"async_stagger"
];
meta = with lib; {
description = "Happy Eyeballs connection algorithm and underlying scheduling logic in asyncio";
homepage = "https://github.com/twisteroidambassador/async_stagger";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}
|