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