about summary refs log tree commit diff
path: root/pkgs/development/python-modules/socketio-client/default.nix
blob: 43587824e01a7c37421d35182d04ae12701aa24b (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";

  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 = "A socket.io client library for protocol 1.x";
    homepage = "https://github.com/invisibleroads/socketIO-client";
    license = licenses.mit;
    maintainers = with maintainers; [ raitobezarius ];
  };
}