{ lib , buildPythonPackage , fetchPypi , pythonOlder , attrs , chardet , multidict , async-timeout , yarl , idna-ssl , pytest , gunicorn , pytest-mock , async_generator }: buildPythonPackage rec { pname = "aiohttp"; version = "3.1.3"; src = fetchPypi { inherit pname version; sha256 = "9fcef0489e3335b200d31a9c1fb6ba80fdafe14cd82b971168c2f9fa1e4508ad"; }; disabled = pythonOlder "3.5"; checkInputs = [ pytest gunicorn pytest-mock async_generator ]; propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ] ++ lib.optional (pythonOlder "3.7") idna-ssl; meta = with lib; { description = "Asynchronous HTTP Client/Server for Python and asyncio"; license = licenses.asl20; homepage = https://github.com/aio-libs/aiohttp; maintainers = with maintainers; [ dotlambda ]; }; }