about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jupyterlab-pygments/default.nix
blob: a31f0de42e6f324183887450de9f80808c83e18f (plain) (blame)
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
{ lib, buildPythonPackage, fetchPypi, pygments, jupyter-packaging }:

buildPythonPackage rec {
  pname = "jupyterlab_pygments";
  version = "0.2.2";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-dAXX/eYIGdkFqfqM6J5M2DDjGM2tIqADD3qQHacFWF0=";
  };

  nativeBuildInputs = [
    jupyter-packaging
  ];

  # no tests exist on upstream repo
  doCheck = false;

  propagatedBuildInputs = [ pygments ];

  pythonImportsCheck = [ "jupyterlab_pygments" ];

  meta = with lib; {
    description = "Jupyterlab syntax coloring theme for pygments";
    homepage = "https://github.com/jupyterlab/jupyterlab_pygments";
    license = licenses.mit;
    maintainers = with maintainers; [ jonringer ];
  };
}