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