blob: 2d88d2ede2adf54abba8b20fbf3e0446a3d4a015 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
gevent,
gevent-websocket,
versiontools,
}:
buildPythonPackage rec {
pname = "gevent-socketio";
version = "0.3.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-UzlKuT+9hNnbuyvvhTSfalA7/FPYapvoZTJQ8aBBKv8=";
};
nativeBuildInputs = [ versiontools ];
buildInputs = [ gevent-websocket ];
propagatedBuildInputs = [ gevent ];
# Tests are not ported to Python 3
doCheck = false;
pythonImportsCheck = [ "socketio" ];
meta = {
description = "SocketIO server based on the Gevent pywsgi server";
homepage = "https://github.com/abourget/gevent-socketio";
license = lib.licenses.bsd0;
maintainers = [ ];
};
}
|