1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "asyncstdlib";
12 version = "3.13.1";
13 pyproject = true;
14
15 disabled = pythonOlder "3.9";
16
17 src = fetchFromGitHub {
18 owner = "maxfischer2781";
19 repo = "asyncstdlib";
20 tag = "v${version}";
21 hash = "sha256-U2/LPbg/U6CUB22EpsJHprK2ngjQmZhLtEEuszuzB8Q=";
22 };
23
24 build-system = [ flit-core ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonImportsCheck = [ "asyncstdlib" ];
29
30 meta = with lib; {
31 description = "Python library that extends the Python asyncio standard library";
32 homepage = "https://asyncstdlib.readthedocs.io/";
33 changelog = "https://github.com/maxfischer2781/asyncstdlib/releases/tag/${src.tag}";
34 license = with licenses; [ mit ];
35 maintainers = with maintainers; [ fab ];
36 };
37}