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.2.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "jupyterlab_lsp";
17 inherit version;
18 hash = "sha256-Y2hIhbNcHcnYPlS0sGOAyTda19dRopdWSbNXMIyNMLk=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 propagatedBuildInputs = [
24 jupyterlab
25 jupyter-lsp
26 ];
27 # No tests
28 doCheck = false;
29 pythonImportsCheck = [ "jupyterlab_lsp" ];
30
31 meta = with lib; {
32 description = "Language Server Protocol integration for Jupyter(Lab)";
33 homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp";
34 license = licenses.bsd3;
35 platforms = platforms.all;
36 maintainers = [ ];
37 };
38}