2022-03-05 16:20:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-01-20 10:41:00 +00:00
|
|
|
, jupyter-server
|
2022-03-05 16:20:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-lsp";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.2.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-03-05 16:20:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-jrvLUzrbQeXWNeuP6ClWsKr78P1EO2xL+pBu3uuGNaE=";
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-server
|
2022-03-05 16:20:37 +00:00
|
|
|
];
|
|
|
|
# tests require network
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "jupyter_lsp" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server";
|
2023-03-24 00:07:29 +00:00
|
|
|
homepage = "https://jupyterlab-lsp.readthedocs.io/en/latest/";
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
2023-03-24 00:07:29 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2022-03-05 16:20:37 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|