2018-10-16 18:37:33 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, httplib2
|
|
|
|
, pyopenssl
|
|
|
|
, greenlet
|
|
|
|
, enum-compat
|
|
|
|
, isPyPy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "eventlet";
|
2018-11-04 10:34:58 +00:00
|
|
|
version = "0.24.1";
|
2018-10-16 18:37:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 10:34:58 +00:00
|
|
|
sha256 = "d9d31a3c8dbcedbcce5859a919956d934685b17323fc80e1077cb344a2ffa68d";
|
2018-10-16 18:37:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ nose httplib2 pyopenssl ];
|
|
|
|
|
|
|
|
doCheck = false; # too much transient errors to bother
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ enum-compat ]
|
|
|
|
++ stdenv.lib.optionals (!isPyPy) [ greenlet ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://pypi.python.org/pypi/eventlet/;
|
|
|
|
description = "A concurrent networking library for Python";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|