Commit d56a9acc authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.python-socketio-v4: init at 4.6.1

parent a05032dc
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{
  aiohttp,
  buildPythonPackage,
  fetchPypi,
  lib,
  python-engineio-v3,
  requests,
  setuptools,
  six,
  websocket-client,
  websockets,
}:

buildPythonPackage rec {
  pname = "python-socketio-v4";
  version = "4.6.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3VzLPYT4p4Uh2U4DMpxu6kq1NPZXlOqWOljLOe0bM40=";
  };

  build-system = [ setuptools ];

  dependencies = [
    python-engineio-v3
    six
  ];

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

  pythonImportsCheck = [ "socketio_v4" ];

  # no tests on PyPI
  doCheck = false;

  meta = {
    description = "Socket.IO server";
    homepage = "https://github.com/bdraco/python-socketio-v4";
    license = lib.licenses.mit;
    longDescription = "This is a release of 4.6.1 under the “socketio_v4” namespace for old systems.";
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13088,6 +13088,8 @@ self: super: with self; {
  python-socketio = callPackage ../development/python-modules/python-socketio { };
  python-socketio-v4 = callPackage ../development/python-modules/python-socketio-v4 { };
  python-socks = callPackage ../development/python-modules/python-socks { };
  python-sql = callPackage ../development/python-modules/python-sql { };