2021-10-28 06:52:43 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, jupyter-packaging
|
|
|
|
, jupyter_server
|
|
|
|
, pytest-tornasync
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-server-mathjax";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "0.2.5";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "jupyter_server_mathjax";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-ZNlsjm3+btunN5ArLcOi3AWPF1FndsJfTTDKJGF+57M=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2022-01-03 16:56:52 +00:00
|
|
|
homepage = "https://jupyter.org";
|
2021-10-28 06:52:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|