1 { lib, fetchFromGitHub, buildPythonPackage, isPy3k, zope_interface, twisted, greenlet }:
3 buildPythonPackage rec {
4 pname = "python3-eventlib";
9 src = fetchFromGitHub {
11 repo = "python3-eventlib";
13 sha256 = "sha256-LFW3rCGa7A8tk6SjgYgjkLQ+72GE2WN8wG+XkXYTAoQ=";
16 propagatedBuildInputs = [ zope_interface twisted greenlet ];
18 dontUseSetuptoolsCheck = true;
20 pythonImportsCheck = [ "eventlib" ];
23 description = "A networking library written in Python";
24 homepage = "https://github.com/AGProjects/python3-eventlib";
25 license = licenses.lgpl21Plus;
26 maintainers = with maintainers; [ chanley ];
28 Eventlib is a networking library written in Python. It achieves high
29 scalability by using non-blocking I/O while at the same time retaining
30 high programmer usability by using coroutines to make the non-blocking io
31 operations appear blocking at the source code level.