summary refs log tree commit diff
path: root/pkgs/development/python-modules/jupyterlab-lsp/default.nix
blob: b7d5ce4cf0c94747d657305156dc96b415c315e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, fetchPypi
, jupyterlab
, jupyter-lsp
}:

buildPythonPackage rec {
  pname = "jupyterlab-lsp";
  version = "4.2.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-OqsByMrAQKjTqev6QIUiOwVLf71iGdPHtWD2qXZsovM=";
  };

  propagatedBuildInputs = [
    jupyterlab
    jupyter-lsp
  ];
  # No tests
  doCheck = false;
  pythonImportsCheck = [ "jupyterlab_lsp" ];

  meta = with lib; {
    description = "Language Server Protocol integration for Jupyter(Lab)";
    homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp";
    license = licenses.bsd3;
    platforms = platforms.all;
    maintainers = with maintainers; [ ];
    # No support for Jupyterlab > 4
    # https://github.com/jupyter-lsp/jupyterlab-lsp/pull/949
    broken = lib.versionAtLeast jupyterlab.version "4.0";
  };
}