2018-10-16 21:27:27 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, gevent
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gevent-websocket";
|
2018-10-29 11:30:22 +00:00
|
|
|
version = "0.10.1";
|
2018-10-16 21:27:27 +01:00
|
|
|
# SyntaxError in tests.
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-29 11:30:22 +00:00
|
|
|
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
|
2018-10-16 21:27:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ gevent ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://www.gitlab.com/noppo/gevent-websocket;
|
|
|
|
description = "Websocket handler for the gevent pywsgi server, a Python network library";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|