2023-02-09 11:40:11 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pygments, jupyter-packaging }:
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyterlab_pygments";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "0.2.2";
|
2020-12-07 07:45:13 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-dAXX/eYIGdkFqfqM6J5M2DDjGM2tIqADD3qQHacFWF0=";
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
jupyter-packaging
|
|
|
|
];
|
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
# no tests exist on upstream repo
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pygments ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jupyterlab_pygments" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyterlab syntax coloring theme for pygments";
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://github.com/jupyterlab/jupyterlab_pygments";
|
2020-12-07 07:45:13 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|