Update gevent-websocket to enable python3

Extend build inputs to include gunicorn and enable building for python3
This commit is contained in:
praetorg 2019-08-22 11:39:07 -04:00 committed by GitHub
parent b67b08518e
commit d44d4844a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,20 +3,19 @@
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, gevent , gevent
, gunicorn
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "gevent-websocket"; pname = "gevent-websocket";
version = "0.10.1"; version = "0.10.1";
# SyntaxError in tests.
disabled = isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky"; sha256 = "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky";
}; };
propagatedBuildInputs = [ gevent ]; propagatedBuildInputs = [ gevent gunicorn ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://www.gitlab.com/noppo/gevent-websocket; homepage = https://www.gitlab.com/noppo/gevent-websocket;