python3Packages.jupyter-server-mathjax: init at 0.2.3

This commit is contained in:
Jonathan Ringer 2021-10-20 16:33:20 -07:00 committed by Jonathan Ringer
parent 0609c19992
commit de0f40c837
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib, buildPythonPackage, fetchPypi
, jupyter-packaging
, jupyter_server
, pytest-tornasync
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jupyter-server-mathjax";
version = "0.2.3";
src = fetchPypi {
inherit version;
pname = "jupyter_server_mathjax";
sha256 = "564e8d1272019c6771208f577b5f9f2b3afb02b9e2bff3b34c042cef8ed84451";
};
nativeBuildInputs = [
jupyter-packaging
];
propagatedBuildInputs = [
jupyter_server
];
checkInputs = [
pytest-tornasync
pytestCheckHook
];
pythonImportsCheck = [ "jupyter_server_mathjax" ];
meta = with lib; {
description = "MathJax resources as a Jupyter Server Extension";
homepage = "http://jupyter.org";
license = licenses.bsd3;
maintainers = with maintainers; [ jonringer ];
};
}

View file

@ -4013,6 +4013,8 @@ in {
pkgs-docker = pkgs.docker;
};
jupyter-server-mathjax = callPackage ../development/python-modules/jupyter-server-mathjax { };
jupyter-sphinx = callPackage ../development/python-modules/jupyter-sphinx { };
jupyter-telemetry = callPackage ../development/python-modules/jupyter-telemetry { };