2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
requests,
|
|
|
|
six,
|
|
|
|
websocket-client,
|
|
|
|
fetchFromGitHub,
|
2022-01-19 23:45:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "socketio-client";
|
|
|
|
version = "0.7.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "invisibleroads";
|
|
|
|
repo = "socketio-client";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-71sjiGJDDYElPGUNCH1HaVdvgMt8KeD/kXVDpF615ho=";
|
2022-01-19 23:45:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
websocket-client
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Perform networking tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "socketIO_client" ];
|
2022-01-19 23:45:15 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Socket.io client library for protocol 1.x";
|
2022-01-19 23:45:15 +00:00
|
|
|
homepage = "https://github.com/invisibleroads/socketIO-client";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ raitobezarius ];
|
|
|
|
};
|
|
|
|
}
|