blob: 1f6c3b3547694c754e230bea1a97e31b9a15c31e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, buildPythonPackage
, fetchPypi
, jupyter-packaging
, setuptools
, jupyter-server
, pytest-jupyter
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jupyter-server-mathjax";
version = "0.2.6";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "jupyter_server_mathjax";
hash = "sha256-ux5rbcBobB/jhqIrWIYWPbVIiTqZwoEMNjmenEyiOUM=";
};
nativeBuildInputs = [
jupyter-packaging
setuptools
];
propagatedBuildInputs = [
jupyter-server
];
nativeCheckInputs = [
pytest-jupyter
pytestCheckHook
];
pythonImportsCheck = [ "jupyter_server_mathjax" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "MathJax resources as a Jupyter Server Extension";
homepage = "https://github.com/jupyter-server/jupyter_server_mathjax";
license = licenses.bsd3;
maintainers = with maintainers; [ jonringer ];
};
}
|