1{ lib 2 3, buildPythonPackage 4, fetchPypi 5, pythonOlder 6, typing-extensions 7, coverage 8, python 9, toml 10}: 11 12buildPythonPackage rec { 13 pname = "aioitertools"; 14 version = "0.8.0"; 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "8b02facfbc9b0f1867739949a223f3d3267ed8663691cc95abd94e2c1d8c2b46"; 20 }; 21 22 propagatedBuildInputs = [ typing-extensions ]; 23 checkInputs = [ coverage toml ]; 24 25 checkPhase = '' 26 ${python.interpreter} -m coverage run -m aioitertools.tests 27 ''; 28 29 meta = with lib; { 30 description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables."; 31 license = licenses.mit; 32 homepage = "https://pypi.org/project/aioitertools/"; 33 maintainers = with maintainers; [ teh ]; 34 }; 35}