about summary refs log tree commit diff
path: root/pkgs/development/python-modules/aioeventlet/default.nix
blob: 73d4b278058efee5dee14d1193a7add6276625b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ stdenv
, buildPythonPackage
, fetchPypi
, eventlet
, trollius
, asyncio
, mock
, python
}:

buildPythonPackage rec {
  pname = "aioeventlet";
  version = "0.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "19krvycaiximchhv1hcfhz81249m3w3jrbp2h4apn1yf4yrc4y7y";
  };

  propagatedBuildInputs = [ eventlet trollius asyncio ];
  buildInputs = [ mock ];

  # 2 tests error out
  doCheck = false;
  checkPhase = ''
    ${python.interpreter} runtests.py
  '';

  meta = with stdenv.lib; {
    description = "aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes";
    homepage = http://aioeventlet.readthedocs.org/;
    license = licenses.asl20;
  };

}