1{ buildPythonPackage
2, fetchPypi
3, lib
4, pythonOlder
5
6# Python dependencies
7, uvloop
8, pytest
9}:
10
11buildPythonPackage rec {
12 pname = "aioextensions";
13 version = "21.7.2261349";
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "2eacc52692495f331437e8c8e9782ca71f4617ec84f174ca17acdd77631efc47";
19 };
20
21 propagatedBuildInputs = [ uvloop ];
22
23 nativeCheckInputs = [ pytest ];
24 checkPhase = ''
25 cd test/
26 pytest
27 '';
28
29 meta = with lib; {
30 description = "High performance functions to work with the async IO";
31 homepage = "https://kamadorueda.github.io/aioextensions";
32 license = licenses.mit;
33 maintainers = with maintainers; [ kamadorueda ];
34 };
35}