Unverified Commit 2ca7e57c authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

Merge pull request #162023 from doronbehar/pkg/jupyterlsp

parents e3c78ec4 a4c46b53
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+33 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+4 −0
Original line number Diff line number Diff line
@@ -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 {