38 lines
736 B
Nix
38 lines
736 B
Nix
|
{
|
||
|
lib,
|
||
|
buildPythonPackage,
|
||
|
fetchPypi,
|
||
|
setuptools,
|
||
|
jupyterlab,
|
||
|
jupyter-lsp,
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "jupyterlab-lsp";
|
||
|
version = "5.1.0";
|
||
|
pyproject = true;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-rqyECTrabSDvV64Ol4EcxXlqDKtyN7Mvjt35k8C7A1Y=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ setuptools ];
|
||
|
|
||
|
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 = [ ];
|
||
|
};
|
||
|
}
|