1{ lib, buildPythonPackage, fetchPypi, pygments, jupyter-packaging }:
2
3buildPythonPackage rec {
4 pname = "jupyterlab_pygments";
5 version = "0.2.2";
6
7 src = fetchPypi {
8 inherit pname version;
9 hash = "sha256-dAXX/eYIGdkFqfqM6J5M2DDjGM2tIqADD3qQHacFWF0=";
10 };
11
12 nativeBuildInputs = [
13 jupyter-packaging
14 ];
15
16 # no tests exist on upstream repo
17 doCheck = false;
18
19 propagatedBuildInputs = [ pygments ];
20
21 pythonImportsCheck = [ "jupyterlab_pygments" ];
22
23 meta = with lib; {
24 description = "Jupyterlab syntax coloring theme for pygments";
25 homepage = "https://github.com/jupyterlab/jupyterlab_pygments";
26 license = licenses.mit;
27 maintainers = with maintainers; [ jonringer ];
28 };
29}