python.pkgs.ws4py: enable for all Python versions

This commit is contained in:
Robert Schütz 2019-03-19 09:35:53 +01:00
parent a2187b452a
commit ae5b83683a

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git, asyncio
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git
, cherrypy, gevent, tornado }:
buildPythonPackage rec {
@ -11,15 +11,16 @@ buildPythonPackage rec {
};
checkInputs = [ pytest mock git ];
propagatedBuildInputs = [ asyncio cherrypy gevent tornado ];
propagatedBuildInputs = [ cherrypy gevent tornado ];
checkPhase = ''
pytest -k 'not test_timeout_when_no_registered_fds and not test_mainloop_can_be_stopped_when_no_websocket_were_registered'
pytest
'';
meta = with stdenv.lib; {
homepage = https://ws4py.readthedocs.org;
description = "A WebSocket package for Python";
maintainers = with maintainers; [ rickynils ];
license = licenses.bsd3;
};
}