Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 24 lines 473 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, numpy 5}: 6 7buildPythonPackage rec { 8 version = "0.9.0"; 9 pname = "websockify"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1nnalv0jkkj34hw6yb12lp6r6fj1ps9vkkyshjvx65y5xdwmnny3"; 14 }; 15 16 propagatedBuildInputs = [ numpy ]; 17 18 meta = with stdenv.lib; { 19 description = "WebSockets support for any application/server"; 20 homepage = "https://github.com/kanaka/websockify"; 21 license = licenses.lgpl3; 22 }; 23 24}