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 = "4.3.1"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "36c1d5765010d1f4e4f05b4cc9c20c289d9dc70698c88d1addd0afcfedc5b062"; 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 = "https://github.com/miguelgrinberg/Flask-SocketIO/"; 30 license = licenses.mit; 31 maintainers = [ maintainers.mic92 ]; 32 }; 33}