567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
35 lines
760 B
Nix
35 lines
760 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
jupyter-server,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter-lsp";
|
|
version = "2.2.6";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jupyter_lsp";
|
|
inherit version;
|
|
hash = "sha256-BWa9m7BP2eZ3SpN+0BUitVW6eL43vr73h8irIt5MA2E=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [ jupyter-server ];
|
|
# tests require network
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "jupyter_lsp" ];
|
|
|
|
meta = {
|
|
description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server";
|
|
homepage = "https://jupyterlab-lsp.readthedocs.io/en/latest/";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|