Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 66 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667{ lib, buildPythonPackage, fetchFromGitHub, hatchling, ipykernel, ipython, ipywidgets, nbconvert, nbformat, sphinx, pytestCheckHook,}:
buildPythonPackage rec { pname = "jupyter-sphinx"; version = "0.5.3"; pyproject = true;
src = fetchFromGitHub { owner = "jupyter"; repo = "jupyter-sphinx"; tag = "v${version}"; hash = "sha256-o/i3WravKZPf7uw2H4SVYfAyaZGf19ZJlkmeHCWcGtE="; };
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [ ipykernel ipython ipywidgets nbconvert nbformat sphinx ];
pythonImportsCheck = [ "jupyter_sphinx" ];
env.JUPYTER_PLATFORM_DIRS = 1;
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # https://github.com/jupyter/jupyter-sphinx/issues/280 "test_builder_priority" ];
pytestFlags = [ # https://github.com/jupyter/jupyter-sphinx/issues/287 "-Wignore::sphinx.deprecation.RemovedInSphinx11Warning" ];
preCheck = '' export HOME=$TMPDIR '';
__darwinAllowLocalNetworking = true;
meta = { description = "Jupyter Sphinx Extensions"; homepage = "https://github.com/jupyter/jupyter-sphinx/"; changelog = "https://github.com/jupyter/jupyter-sphinx/releases/tag/v${version}"; license = lib.licenses.bsd3; };}