depot/third_party/nixpkgs/pkgs/development/python-modules/socketio-client/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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