1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 jupyterlab,
7 jupyter-lsp,
8}:
9
10buildPythonPackage rec {
11 pname = "jupyterlab-lsp";
12 version = "5.1.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-rqyECTrabSDvV64Ol4EcxXlqDKtyN7Mvjt35k8C7A1Y=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 propagatedBuildInputs = [
23 jupyterlab
24 jupyter-lsp
25 ];
26 # No tests
27 doCheck = false;
28 pythonImportsCheck = [ "jupyterlab_lsp" ];
29
30 meta = with lib; {
31 description = "Language Server Protocol integration for Jupyter(Lab)";
32 homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp";
33 license = licenses.bsd3;
34 platforms = platforms.all;
35 maintainers = [ ];
36 };
37}