summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/jupyterlab-vim/default.nix
blob: 1c3e05d3e4bbce341db0ec970fd9dbccb44df80f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  lib,
  buildPythonPackage,
  fetchPypi,
  hatchling,
  hatch-jupyter-builder,
  hatch-nodejs-version,
  jupyterlab,
}:

buildPythonPackage rec {
  pname = "jupyterlab-vim";
  version = "4.1.4";
  pyproject = true;

  src = fetchPypi {
    pname = "jupyterlab_vim";
    inherit version;
    hash = "sha256-q/KJGq+zLwy5StmDIa5+vL4Mq+Uj042A1WnApQuFIlo=";
  };

  build-system = [
    hatchling
    hatch-jupyter-builder
    hatch-nodejs-version
  ];

  dependencies = [ jupyterlab ];
  pythonImportsCheck = [ "jupyterlab_vim" ];

  # has no tests
  doCheck = false;

  meta = {
    description = "Vim notebook cell bindings for JupyterLab";
    homepage = "https://github.com/jupyterlab-contrib/jupyterlab-vim";
    license = lib.licenses.mit;
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [ mart-mihkel ];
  };
}