19 buildPythonPackage rec {
24 disabled = pythonOlder "3.7";
27 inherit pname version;
28 hash = "sha256-HKAdoXbuN7NSeicC99QNvJ/7jPx75aA7+k+e7EXlXEY=";
32 # Replace deprecated pkg_resources with importlib-metadata
34 url = "https://github.com/gevent/gevent/commit/bd96d8e14dc99f757de22ab4bb98439f912dab1e.patch";
35 hash = "sha256-Y+cxIScuEgAVYmmxBJ8OI+JuJ4G+iiROTcRdWglo3l0=";
36 includes = [ "src/gevent/events.py" ];
44 ] ++ lib.optionals (!isPyPy) [
52 propagatedBuildInputs = [
56 ] ++ lib.optionals (!isPyPy) [
63 pythonImportsCheck = [
69 description = "Coroutine-based networking library";
70 homepage = "http://www.gevent.org/";
71 license = licenses.mit;
72 maintainers = with maintainers; [ bjornfor ];
73 platforms = platforms.unix;