blob: bb57a7f1ecf3586181e6052a54f2e17032748e41 (
plain)
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
|
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonOlder
, pytestCheckHook
, pytest-asyncio
, pytest-mock
}:
buildPythonPackage rec {
pname = "async_stagger";
version = "0.3.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1mj3daaqxjdavbxcjrdwx5ky9maa2blbv53aa6d7w9zxkrz3b7xa";
};
checkInputs = [
pytestCheckHook
pytest-asyncio
pytest-mock
];
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 ];
};
}
|