1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatchling,
6 hatch-jupyter-builder,
7 hatch-nodejs-version,
8 jupyterlab,
9}:
10
11buildPythonPackage rec {
12 pname = "jupyterlab-vim";
13 version = "4.1.4";
14 pyproject = true;
15
16 src = fetchPypi {
17 pname = "jupyterlab_vim";
18 inherit version;
19 hash = "sha256-q/KJGq+zLwy5StmDIa5+vL4Mq+Uj042A1WnApQuFIlo=";
20 };
21
22 build-system = [
23 hatchling
24 hatch-jupyter-builder
25 hatch-nodejs-version
26 ];
27
28 dependencies = [ jupyterlab ];
29 pythonImportsCheck = [ "jupyterlab_vim" ];
30
31 # has no tests
32 doCheck = false;
33
34 meta = with lib; {
35 description = "Vim notebook cell bindings for JupyterLab";
36 homepage = "https://github.com/jupyterlab-contrib/jupyterlab-vim";
37 license = licenses.mit;
38 platforms = platforms.all;
39 maintainers = with maintainers; [ mart-mihkel ];
40 };
41}