summary refs log blame commit diff
path: root/pkgs/development/python-modules/aiohttp/default.nix
blob: 17737c33986a0605bb58ac7c180445966753550d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                        
                    


                          
                                                                                













                                                                   
 
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, chardet
, multidict
, async-timeout
, yarl
, pytest
, gunicorn
, pytest-raisesregexp
}:

buildPythonPackage rec {
  pname = "aiohttp";
  version = "2.3.9";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6003bed78dc591d31bd89ef16e630a1c4fd97a3cd17b975ec945c0f46d6fc881";
  };

  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/;
  };
}