8e65f7f0cc
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
39 lines
790 B
Nix
39 lines
790 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, jupyter-packaging
|
|
, jupyter_server
|
|
, pytest-tornasync
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jupyter-server-mathjax";
|
|
version = "0.2.5";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "jupyter_server_mathjax";
|
|
sha256 = "sha256-ZNlsjm3+btunN5ArLcOi3AWPF1FndsJfTTDKJGF+57M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
jupyter-packaging
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
jupyter_server
|
|
];
|
|
|
|
checkInputs = [
|
|
pytest-tornasync
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "jupyter_server_mathjax" ];
|
|
|
|
meta = with lib; {
|
|
description = "MathJax resources as a Jupyter Server Extension";
|
|
homepage = "https://jupyter.org";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|