1{
2 lib,
3 buildPythonPackage,
4 requests,
5 six,
6 websocket-client,
7 fetchFromGitHub,
8}:
9
10buildPythonPackage rec {
11 pname = "socketio-client";
12 version = "0.7.2";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "invisibleroads";
17 repo = "socketio-client";
18 rev = version;
19 hash = "sha256-71sjiGJDDYElPGUNCH1HaVdvgMt8KeD/kXVDpF615ho=";
20 };
21
22 propagatedBuildInputs = [
23 six
24 websocket-client
25 requests
26 ];
27
28 # Perform networking tests.
29 doCheck = false;
30
31 pythonImportsCheck = [ "socketIO_client" ];
32
33 meta = with lib; {
34 description = "Socket.io client library for protocol 1.x";
35 homepage = "https://github.com/invisibleroads/socketIO-client";
36 license = licenses.mit;
37 maintainers = with maintainers; [ raitobezarius ];
38 };
39}