Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 33 lines 657 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, python-engineio 6, mock 7}: 8 9buildPythonPackage rec { 10 pname = "python-socketio"; 11 version = "4.4.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "48cba5b827ac665dbf923a4f5ec590812aed5299a831fc43576a9af346272534"; 16 }; 17 18 propagatedBuildInputs = [ 19 six 20 python-engineio 21 ]; 22 23 checkInputs = [ mock ]; 24 # tests only on github, but latest github release not tagged 25 doCheck = false; 26 27 meta = with lib; { 28 description = "Socket.IO server"; 29 homepage = https://github.com/miguelgrinberg/python-socketio/; 30 license = licenses.mit; 31 maintainers = [ maintainers.mic92 ]; 32 }; 33}