2018-10-16 21:23:43 +01:00
|
|
|
{ stdenv
|
|
|
|
, 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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|