nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, lib
3, buildPythonPackage
4, fetchPypi
5, jupyterlab
6, jupyter-lsp
7}:
8
9buildPythonPackage rec {
10 pname = "jupyterlab-lsp";
11 version = "3.10.1";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-mtbvIsSXK4VIB5cDT8eRRyjrePGFa02rM2Fobk8gyd0=";
16 };
17
18 propagatedBuildInputs = [
19 jupyterlab
20 jupyter-lsp
21 ];
22 # No tests
23 doCheck = false;
24 pythonImportsCheck = [ "jupyterlab_lsp" ];
25
26 meta = with lib; {
27 description = "Language Server Protocol integration for Jupyter(Lab)";
28 homepage = "https://github.com/jupyter-lsp/jupyterlab-lsp";
29 license = licenses.bsd3;
30 platforms = platforms.all;
31 maintainers = with maintainers; [ doronbehar ];
32 };
33}