Merge pull request #162023 from doronbehar/pkg/jupyterlsp
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jupyter_server
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-lsp";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-dRq9NUE76ZpDMfNZewk0Gtx1VYntMgkawvaG2z1hJn4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jupyter_server
|
||||
];
|
||||
# tests require network
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "jupyter_lsp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server";
|
||||
homepage = "https://pypi.org/project/jupyter-lsp";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, jupyterlab
|
||||
, jupyter-lsp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab-lsp";
|
||||
version = "3.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-8/ZGTIwpFuPiYVGZZLF+1Gc8aJcWc3BirtXdahYKwt8=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -4342,6 +4342,8 @@ in {
|
||||
|
||||
jupyter_core = callPackage ../development/python-modules/jupyter_core { };
|
||||
|
||||
jupyter-lsp = callPackage ../development/python-modules/jupyter-lsp { };
|
||||
|
||||
jupyter_server = callPackage ../development/python-modules/jupyter_server { };
|
||||
|
||||
jupyterhub = callPackage ../development/python-modules/jupyterhub { };
|
||||
@@ -4364,6 +4366,8 @@ in {
|
||||
|
||||
jupyterlab-widgets = callPackage ../development/python-modules/jupyterlab-widgets { };
|
||||
|
||||
jupyterlab-lsp = callPackage ../development/python-modules/jupyterlab-lsp { };
|
||||
|
||||
jupyter-packaging = callPackage ../development/python-modules/jupyter-packaging { };
|
||||
|
||||
jupyter-repo2docker = callPackage ../development/python-modules/jupyter-repo2docker {
|
||||
|
||||
Reference in New Issue
Block a user