Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 35 lines 771 B view raw
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.7.1"; 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "18ql6k2j1839jf2rmmmm29v6fb7mr59l75z8nlf0sadmydy6r9al"; 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}