Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, flask 5, python-socketio 6, coverage 7}: 8 9buildPythonPackage rec { 10 pname = "Flask-SocketIO"; 11 version = "3.2.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "ee8e2954ec3ae0abf19f50fce5ec8b7b9ff937c5353c0a72c7e1cfb86df1195d"; 16 }; 17 18 propagatedBuildInputs = [ 19 flask 20 python-socketio 21 ]; 22 23 checkInputs = [ coverage ]; 24 # tests only on github, but lates release there is not tagged 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Socket.IO integration for Flask applications"; 29 homepage = http://github.com/miguelgrinberg/Flask-SocketIO/; 30 license = licenses.mit; 31 maintainers = [ maintainers.mic92 ]; 32 }; 33}