2022-08-21 13:32:41 +00:00
|
|
|
{ lib
|
2022-03-05 16:20:37 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jupyterlab
|
|
|
|
, jupyter-lsp
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab-lsp";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "3.10.2";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-VZrUaS+X9C3WufCzMKuScD8CuORbuvbpz1mJiolyIqA=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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; [ doronbehar ];
|
|
|
|
};
|
|
|
|
}
|