2021-10-28 06:52:43 +00:00
|
|
|
{ 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";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|