mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
dcdc03c7c1
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
40 lines
763 B
Nix
40 lines
763 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, requests
|
|
, six
|
|
, websocket-client
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "socketio-client";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "invisibleroads";
|
|
repo = "socketio-client";
|
|
rev = version;
|
|
sha256 = "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 ];
|
|
};
|
|
}
|