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