depot/third_party/nixpkgs/pkgs/development/python-modules/socketio-client/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
788 B
Nix

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