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