Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / jupyter-server-mathjax / default.nix
blob1f6c3b3547694c754e230bea1a97e31b9a15c31e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , jupyter-packaging
5 , setuptools
6 , jupyter-server
7 , pytest-jupyter
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "jupyter-server-mathjax";
13   version = "0.2.6";
14   format = "pyproject";
16   src = fetchPypi {
17     inherit version;
18     pname = "jupyter_server_mathjax";
19     hash = "sha256-ux5rbcBobB/jhqIrWIYWPbVIiTqZwoEMNjmenEyiOUM=";
20   };
22   nativeBuildInputs = [
23     jupyter-packaging
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     jupyter-server
29   ];
31   nativeCheckInputs = [
32     pytest-jupyter
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "jupyter_server_mathjax" ];
38   __darwinAllowLocalNetworking = true;
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   };