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