about summary refs log tree commit diff
path: root/pkgs/development/python-modules/socketio-client/default.nix
blob: 4f717776682177f488af9078107e92cd10206ff0 (plain) (blame)
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
{
  lib,
  buildPythonPackage,
  requests,
  six,
  websocket-client,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "socketio-client";
  version = "0.7.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "invisibleroads";
    repo = "socketio-client";
    rev = version;
    hash = "sha256-71sjiGJDDYElPGUNCH1HaVdvgMt8KeD/kXVDpF615ho=";
  };

  propagatedBuildInputs = [
    six
    websocket-client
    requests
  ];

  # Perform networking tests.
  doCheck = false;

  pythonImportsCheck = [ "socketIO_client" ];

  meta = with lib; {
    description = "Socket.io client library for protocol 1.x";
    homepage = "https://github.com/invisibleroads/socketIO-client";
    license = licenses.mit;
    maintainers = with maintainers; [ raitobezarius ];
  };
}