16 buildPythonPackage rec {
17 pname = "jupyter-sphinx";
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
25 repo = "jupyter-sphinx";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-o/i3WravKZPf7uw2H4SVYfAyaZGf19ZJlkmeHCWcGtE=";
30 nativeBuildInputs = [ hatchling ];
32 propagatedBuildInputs = [
41 pythonImportsCheck = [ "jupyter_sphinx" ];
43 env.JUPYTER_PLATFORM_DIRS = 1;
45 nativeCheckInputs = [ pytestCheckHook ];
48 # https://github.com/jupyter/jupyter-sphinx/issues/280"
49 "test_builder_priority"
56 __darwinAllowLocalNetworking = true;
59 description = "Jupyter Sphinx Extensions";
60 homepage = "https://github.com/jupyter/jupyter-sphinx/";
61 changelog = "https://github.com/jupyter/jupyter-sphinx/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
62 license = licenses.bsd3;