mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #34891 from dotlambda/aiohttp
python3Packages.aiohttp: 2.3.10 -> 3.0.1
This commit is contained in:
commit
b2f39f97d0
1 changed files with 5 additions and 4 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue