mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 22:51:21 +00:00
35 lines
760 B
Nix
35 lines
760 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
jupyter-server,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter-lsp";
|
|
version = "2.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "jupyter_lsp";
|
|
inherit version;
|
|
hash = "sha256-RYqlkzncho+3hNczZPF9vOiDbpBs11/UcaMly6AuAkU=";
|
|
};
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|