python.pkgs.aiohttp: 1.3.5 -> 2.2.5
This commit is contained in:
36
pkgs/development/python-modules/aiohttp/default.nix
Normal file
36
pkgs/development/python-modules/aiohttp/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, chardet
|
||||
, multidict
|
||||
, async-timeout
|
||||
, yarl
|
||||
, pytest
|
||||
, gunicorn
|
||||
, pytest-raisesregexp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp";
|
||||
version = "2.2.5";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "af5bfdd164256118a0a306b3f7046e63207d1f8cba73a67dcc0bd858dcfcd3bc";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
doCheck = false; # Too many tests fail.
|
||||
|
||||
checkInputs = [ pytest gunicorn pytest-raisesregexp ];
|
||||
propagatedBuildInputs = [ async-timeout chardet multidict yarl ];
|
||||
|
||||
meta = {
|
||||
description = "Http client/server for asyncio";
|
||||
license = with lib.licenses; [ asl20 ];
|
||||
homepage = https://github.com/KeepSafe/aiohttp/;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user