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";
|
|
|
|
version = "1.5.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-dRq9NUE76ZpDMfNZewk0Gtx1VYntMgkawvaG2z1hJn4=";
|
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";
|
|
|
|
homepage = "https://pypi.org/project/jupyter-lsp";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|