nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 jupyter-server,
7}:
8
9buildPythonPackage rec {
10 pname = "jupyter-lsp";
11 version = "2.3.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "jupyter_lsp";
16 inherit version;
17 hash = "sha256-RYqlkzncho+3hNczZPF9vOiDbpBs11/UcaMly6AuAkU=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 propagatedBuildInputs = [ jupyter-server ];
23 # tests require network
24 doCheck = false;
25 pythonImportsCheck = [ "jupyter_lsp" ];
26
27 meta = {
28 description = "Multi-Language Server WebSocket proxy for your Jupyter notebook or lab server";
29 homepage = "https://jupyterlab-lsp.readthedocs.io/en/latest/";
30 license = lib.licenses.bsd3;
31 platforms = lib.platforms.all;
32 maintainers = [ ];
33 };
34}