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