Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 646 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest, mock, git, asyncio 2, cherrypy, gevent, tornado }: 3 4buildPythonPackage rec { 5 name = "${pname}-${version}"; 6 pname = "ws4py"; 7 version = "0.4.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0zr3254ky6r7q15l3dhdczfa8i723055zdkqssjifsgcwvirriks"; 12 }; 13 14 checkInputs = [ pytest mock git ]; 15 propagatedBuildInputs = [ asyncio cherrypy gevent tornado ]; 16 17 checkPhase = '' 18 pytest test 19 ''; 20 21 meta = with stdenv.lib; { 22 homepage = https://ws4py.readthedocs.org; 23 description = "A WebSocket package for Python"; 24 maintainers = with maintainers; [ rickynils ]; 25 }; 26}