nixpkgs/pkgs/development/python-modules/jupyter-server-mathjax/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

45 lines
897 B
Nix

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