2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 21:23:43 +01: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-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/abourget/gevent-socketio";
|
2018-10-16 21:23:43 +01:00
|
|
|
description = "SocketIO server based on the Gevent pywsgi server, a Python network library";
|
|
|
|
license = licenses.bsd0;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|