1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchPypi, 5 lib, 6 python-engineio-v3, 7 requests, 8 setuptools, 9 six, 10 websocket-client, 11 websockets, 12}: 13 14buildPythonPackage rec { 15 pname = "python-socketio-v4"; 16 version = "4.6.1"; 17 pyproject = true; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-3VzLPYT4p4Uh2U4DMpxu6kq1NPZXlOqWOljLOe0bM40="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 python-engineio-v3 28 six 29 ]; 30 31 optional-dependencies = { 32 client = [ 33 requests 34 websocket-client 35 ]; 36 asyncio_client = [ 37 aiohttp 38 websockets 39 ]; 40 }; 41 42 pythonImportsCheck = [ "socketio_v4" ]; 43 44 # no tests on PyPI 45 doCheck = false; 46 47 meta = { 48 description = "Socket.IO server"; 49 homepage = "https://github.com/bdraco/python-socketio-v4"; 50 license = lib.licenses.mit; 51 longDescription = "This is a release of 4.6.1 under the socketio_v4 namespace for old systems."; 52 maintainers = with lib.maintainers; [ dotlambda ]; 53 }; 54}