2022-03-05 16:20:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, jupyterlab
|
|
|
|
, jupyter-lsp
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab-lsp";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "3.10.1";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-mtbvIsSXK4VIB5cDT8eRRyjrePGFa02rM2Fobk8gyd0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|