2022-07-18 16:21:45 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-10-28 06:52:43 +00:00
|
|
|
, jupyter-packaging
|
2023-03-15 16:39:30 +00:00
|
|
|
, setuptools
|
2023-01-20 10:41:00 +00:00
|
|
|
, jupyter-server
|
2023-03-15 16:39:30 +00:00
|
|
|
, pytest-jupyter
|
2021-10-28 06:52:43 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-server-mathjax";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.2.6";
|
2023-03-15 16:39:30 +00:00
|
|
|
format = "pyproject";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "jupyter_server_mathjax";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-ux5rbcBobB/jhqIrWIYWPbVIiTqZwoEMNjmenEyiOUM=";
|
2021-10-28 06:52:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
jupyter-packaging
|
2023-03-15 16:39:30 +00:00
|
|
|
setuptools
|
2021-10-28 06:52:43 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
jupyter-server
|
2021-10-28 06:52:43 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-03-15 16:39:30 +00:00
|
|
|
pytest-jupyter
|
2021-10-28 06:52:43 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "jupyter_server_mathjax" ];
|
|
|
|
|
2022-07-18 16:21:45 +00:00
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "MathJax resources as a Jupyter Server Extension";
|
2023-03-15 16:39:30 +00:00
|
|
|
homepage = "https://github.com/jupyter-server/jupyter_server_mathjax";
|
2021-10-28 06:52:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|