1{ lib
2, buildPythonPackage
3, fetchPypi
4, six
5, isPyPy
6}:
7
8
9buildPythonPackage rec {
10 pname = "greenlet";
11 version = "0.4.14";
12 disabled = isPyPy; # builtin for pypy
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "f1cc268a15ade58d9a0c04569fe6613e19b8b0345b64453064e2c3c6d79051af";
17 };
18
19 propagatedBuildInputs = [ six ];
20
21 # see https://github.com/python-greenlet/greenlet/issues/85
22 preCheck = ''
23 rm tests/test_leaks.py
24 '';
25
26 meta = {
27 homepage = https://pypi.python.org/pypi/greenlet;
28 description = "Module for lightweight in-process concurrent programming";
29 license = lib.licenses.lgpl2;
30 };
31}