diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-jupyter-lsp/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-jupyter-lsp/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jupyter-lsp/package.py b/var/spack/repos/builtin/packages/py-jupyter-lsp/package.py new file mode 100644 index 0000000000..33d98743b0 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jupyter-lsp/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyJupyterLsp(PythonPackage): + """Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server.""" + + homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp" + pypi = "jupyter-lsp/jupyter-lsp-2.2.0.tar.gz" + + version("2.2.0", sha256="8ebbcb533adb41e5d635eb8fe82956b0aafbf0fd443b6c4bfa906edeeb8635a1") + + depends_on("python@3.8:", type=("build", "run")) + depends_on("py-setuptools", type="build") + + depends_on("py-jupyter-server@1.1.2:", type=("build", "run")) + depends_on("py-importlib-metadata@4.8.3:", when="^python@:3.9", type=("build", "run")) |