Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, jupyterlab 5, jupyter-lsp 6}: 7 8buildPythonPackage rec { 9 pname = "jupyterlab-lsp"; 10 version = "4.2.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-OqsByMrAQKjTqev6QIUiOwVLf71iGdPHtWD2qXZsovM="; 15 }; 16 17 propagatedBuildInputs = [ 18 jupyterlab 19 jupyter-lsp 20 ]; 21 # No tests 22 doCheck = false; 23 pythonImportsCheck = [ "jupyterlab_lsp" ]; 24 25 meta = with lib; { 26 description = "Language Server Protocol integration for Jupyter(Lab)"; 27 homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp"; 28 license = licenses.bsd3; 29 platforms = platforms.all; 30 maintainers = with maintainers; [ ]; 31 # No support for Jupyterlab > 4 32 # https://github.com/jupyter-lsp/jupyterlab-lsp/pull/949 33 broken = lib.versionAtLeast jupyterlab.version "4.0"; 34 }; 35}