Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
python.pkgs.ws4py: enable for all Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 19, 2019
1 parent a2187b4 commit ae5b836
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/ws4py/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git, asyncio
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git
, cherrypy, gevent, tornado }:

buildPythonPackage rec {
Expand All @@ -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;
};
}

0 comments on commit ae5b836

Please sign in to comment.