2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, versiontools
|
|
|
|
, gevent-websocket
|
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, gevent
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gevent-socketio";
|
|
|
|
version = "0.3.6";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1zra86hg2l1jcpl9nsnqagy3nl3akws8bvrbpgdxk15x7ywllfak";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ versiontools gevent-websocket mock pytest ];
|
|
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/abourget/gevent-socketio";
|
|
|
|
description = "SocketIO server based on the Gevent pywsgi server, a Python network library";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|