Merge pull request #34891 from dotlambda/aiohttp

python3Packages.aiohttp: 2.3.10 -> 3.0.1
This commit is contained in:
Michael Weiss 2018-02-16 14:52:37 +01:00 committed by GitHub
commit b2f39f97d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, attrs
, chardet
, multidict
, async-timeout
@ -14,24 +15,24 @@
buildPythonPackage rec {
pname = "aiohttp";
version = "2.3.10";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
sha256 = "7aee5c0750584946fde40da70f0b28fe769f85182f1171acef18a35fd8ecd221";
};
disabled = pythonOlder "3.4";
checkInputs = [ pytest gunicorn pytest-mock ];
propagatedBuildInputs = [ async-timeout chardet multidict yarl ]
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/KeepSafe/aiohttp/;
homepage = https://github.com/aio-libs/aiohttp;
maintainers = with maintainers; [ dotlambda ];
};
}