depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-server-mathjax/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

43 lines
832 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jupyter-packaging
, jupyter_server
, pytest-tornasync
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jupyter-server-mathjax";
version = "0.2.6";
src = fetchPypi {
inherit version;
pname = "jupyter_server_mathjax";
sha256 = "sha256-ux5rbcBobB/jhqIrWIYWPbVIiTqZwoEMNjmenEyiOUM=";
};
nativeBuildInputs = [
jupyter-packaging
];
propagatedBuildInputs = [
jupyter_server
];
checkInputs = [
pytest-tornasync
pytestCheckHook
];
pythonImportsCheck = [ "jupyter_server_mathjax" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "MathJax resources as a Jupyter Server Extension";
homepage = "https://jupyter.org";
license = licenses.bsd3;
maintainers = with maintainers; [ jonringer ];
};
}