2018-12-02 22:27:30 +01:00
|
|
|
{ lib
|
2018-10-16 20:37:33 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-12-02 22:27:30 +01:00
|
|
|
, pythonOlder
|
|
|
|
, dnspython
|
|
|
|
, enum34
|
2018-10-16 20:37:33 +02:00
|
|
|
, greenlet
|
2018-12-02 22:27:30 +01:00
|
|
|
, monotonic
|
|
|
|
, six
|
|
|
|
, nose
|
2018-10-16 20:37:33 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "eventlet";
|
2018-11-04 11:34:58 +01:00
|
|
|
version = "0.24.1";
|
2018-10-16 20:37:33 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 11:34:58 +01:00
|
|
|
sha256 = "d9d31a3c8dbcedbcce5859a919956d934685b17323fc80e1077cb344a2ffa68d";
|
2018-10-16 20:37:33 +02:00
|
|
|
};
|
|
|
|
|
2018-12-02 22:27:30 +01:00
|
|
|
checkInputs = [ nose ];
|
2018-10-16 20:37:33 +02:00
|
|
|
|
|
|
|
doCheck = false; # too much transient errors to bother
|
|
|
|
|
2018-12-02 22:27:30 +01:00
|
|
|
propagatedBuildInputs = [ dnspython greenlet monotonic six ] ++ lib.optional (pythonOlder "3.4") enum34;
|
2018-10-16 20:37:33 +02:00
|
|
|
|
2018-12-02 22:27:30 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 20:37:33 +02:00
|
|
|
homepage = https://pypi.python.org/pypi/eventlet/;
|
|
|
|
description = "A concurrent networking library for Python";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|