Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv 2, lib 3, buildPythonPackage 4, fetchPypi 5, jupyter-server 6}: 7 8buildPythonPackage rec { 9 pname = "jupyter-lsp"; 10 version = "2.2.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-jrvLUzrbQeXWNeuP6ClWsKr78P1EO2xL+pBu3uuGNaE="; 15 }; 16 17 propagatedBuildInputs = [ 18 jupyter-server 19 ]; 20 # tests require network 21 doCheck = false; 22 pythonImportsCheck = [ "jupyter_lsp" ]; 23 24 meta = with lib; { 25 description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server"; 26 homepage = "https://jupyterlab-lsp.readthedocs.io/en/latest/"; 27 license = licenses.bsd3; 28 platforms = platforms.all; 29 maintainers = with maintainers; [ ]; 30 }; 31} 32