e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
37 lines
765 B
Nix
37 lines
765 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, jupyter-server
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter-lsp";
|
|
version = "2.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sX+rbXD+g8iJawz/WSN2QAOCR8GWBWtDaEoJArap4Ps=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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://jupyterlab-lsp.readthedocs.io/en/latest/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|
|
|