2018-10-16 22:27:27 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
|
|
|
, gevent
|
2019-08-22 17:39:07 +02:00
|
|
|
, gunicorn
|
2018-10-16 22:27:27 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gevent-websocket";
|
2018-10-29 12:30:22 +01:00
|
|
|
version = "0.10.1";
|
2018-10-16 22:27:27 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-29 12:30:22 +01:00
|
|
|
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
|
2018-10-16 22:27:27 +02:00
|
|
|
};
|
|
|
|
|
2019-08-22 17:39:07 +02:00
|
|
|
propagatedBuildInputs = [ gevent gunicorn ];
|
2018-10-16 22:27:27 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gitlab.com/noppo/gevent-websocket";
|
2018-10-16 22:27:27 +02:00
|
|
|
description = "Websocket handler for the gevent pywsgi server, a Python network library";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|