Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 660 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, dnspython 6, enum34 7, greenlet 8, monotonic 9, six 10, nose 11}: 12 13buildPythonPackage rec { 14 pname = "eventlet"; 15 version = "0.24.1"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "d9d31a3c8dbcedbcce5859a919956d934685b17323fc80e1077cb344a2ffa68d"; 20 }; 21 22 checkInputs = [ nose ]; 23 24 doCheck = false; # too much transient errors to bother 25 26 propagatedBuildInputs = [ dnspython greenlet monotonic six ] ++ lib.optional (pythonOlder "3.4") enum34; 27 28 meta = with lib; { 29 homepage = https://pypi.python.org/pypi/eventlet/; 30 description = "A concurrent networking library for Python"; 31 }; 32 33}