1{ lib 2, buildPythonPackage 3, requests 4, six 5, websocket-client 6, fetchFromGitHub 7}: 8 9buildPythonPackage rec { 10 pname = "socketio-client"; 11 version = "0.7.2"; 12 13 src = fetchFromGitHub { 14 owner = "invisibleroads"; 15 repo = "socketio-client"; 16 rev = version; 17 hash = "sha256-71sjiGJDDYElPGUNCH1HaVdvgMt8KeD/kXVDpF615ho="; 18 }; 19 20 propagatedBuildInputs = [ 21 six 22 websocket-client 23 requests 24 ]; 25 26 # Perform networking tests. 27 doCheck = false; 28 29 pythonImportsCheck = [ 30 "socketIO_client" 31 ]; 32 33 meta = with lib; { 34 description = "A 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}