summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-engineio-v3/default.nix
blob: 65d755b43551db5fa3f4f9b7756f4b57440606a5 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  aiohttp,
  buildPythonPackage,
  fetchPypi,
  lib,
  requests,
  setuptools,
  six,
  websocket-client,
}:

buildPythonPackage rec {
  pname = "python-engineio-v3";
  version = "3.14.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-tYri/+OKIJAWWzeijFwgY9PK66lH584dvZnoBWyzaFw=";
  };

  build-system = [ setuptools ];

  dependencies = [ six ];

  optional-dependencies = {
    client = [
      requests
      websocket-client
    ];
    asyncio_client = [ aiohttp ];
  };

  pythonImportsCheck = [ "engineio_v3" ];

  # no tests on PyPI
  doCheck = false;

  meta = {
    description = "Engine.IO server";
    homepage = "https://github.com/bdraco/python-engineio-v3";
    license = lib.licenses.mit;
    longDescription = "This is a release of 3.14.2 under the “engineio_v3” namespace for old systems.";
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}