diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-02 15:13:31 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-02-02 15:42:41 +0100 |
commit | 7f531568594db46bcd6cfb079a877951eb61e410 (patch) | |
tree | 1a40ca9bae9bc317cbbd6228f178973b5d123787 /pkgs/development/python-modules/aiohttp | |
parent | b403a17db8cc54ef69d11cb9965c4db69148bd08 (diff) | |
download | nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar.gz nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar.bz2 nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar.lz nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar.xz nixlib-7f531568594db46bcd6cfb079a877951eb61e410.tar.zst nixlib-7f531568594db46bcd6cfb079a877951eb61e410.zip |
pythonPackages.aiohttp: 2.3.9 -> 2.3.10 and enable tests
Diffstat (limited to 'pkgs/development/python-modules/aiohttp')
-rw-r--r-- | pkgs/development/python-modules/aiohttp/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 17737c33986a..bea839f49e3d 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -6,30 +6,33 @@ , multidict , async-timeout , yarl +, idna-ssl , pytest , gunicorn , pytest-raisesregexp +, pytest-mock }: buildPythonPackage rec { pname = "aiohttp"; - version = "2.3.9"; + version = "2.3.10"; src = fetchPypi { inherit pname version; - sha256 = "6003bed78dc591d31bd89ef16e630a1c4fd97a3cd17b975ec945c0f46d6fc881"; + sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964"; }; disabled = pythonOlder "3.4"; - doCheck = false; # Too many tests fail. + checkInputs = [ pytest gunicorn pytest-raisesregexp pytest-mock ]; - checkInputs = [ pytest gunicorn pytest-raisesregexp ]; - propagatedBuildInputs = [ async-timeout chardet multidict yarl ]; + propagatedBuildInputs = [ async-timeout chardet multidict yarl ] + ++ lib.optional (pythonOlder "3.7") idna-ssl; - meta = { - description = "Http client/server for asyncio"; - license = with lib.licenses; [ asl20 ]; + meta = with lib; { + description = "Asynchronous HTTP Client/Server for Python and asyncio"; + license = licenses.asl20; homepage = https://github.com/KeepSafe/aiohttp/; + maintainers = with maintainers; [ dotlambda ]; }; } |