diff --git a/pkgs/development/python-modules/eventlet/default.nix b/pkgs/development/python-modules/eventlet/default.nix index 9766613b0600..a72184f2c1ea 100644 --- a/pkgs/development/python-modules/eventlet/default.nix +++ b/pkgs/development/python-modules/eventlet/default.nix @@ -1,12 +1,13 @@ -{ stdenv +{ lib , buildPythonPackage , fetchPypi -, nose -, httplib2 -, pyopenssl +, pythonOlder +, dnspython +, enum34 , greenlet -, enum-compat -, isPyPy +, monotonic +, six +, nose }: buildPythonPackage rec { @@ -18,14 +19,13 @@ buildPythonPackage rec { sha256 = "d9d31a3c8dbcedbcce5859a919956d934685b17323fc80e1077cb344a2ffa68d"; }; - buildInputs = [ nose httplib2 pyopenssl ]; + checkInputs = [ nose ]; doCheck = false; # too much transient errors to bother - propagatedBuildInputs = [ enum-compat ] - ++ stdenv.lib.optionals (!isPyPy) [ greenlet ]; + propagatedBuildInputs = [ dnspython greenlet monotonic six ] ++ lib.optional (pythonOlder "3.4") enum34; - meta = with stdenv.lib; { + meta = with lib; { homepage = https://pypi.python.org/pypi/eventlet/; description = "A concurrent networking library for Python"; };