24 buildPythonPackage rec {
29 inherit pname version;
30 sha256 = "cbbc13a86dfbd4d1b5dee106539de0795b4db156c894c2c5dc382062bbc29002";
33 # Add $out/share/jupyter to the list of paths that are used to search for
34 # various exporter templates
40 substituteAllInPlace ./nbconvert/exporters/templateexporter.py
43 checkInputs = [ pytestCheckHook glibcLocales ];
45 propagatedBuildInputs = [
46 entrypoints bleach mistune jinja2 pygments traitlets testpath
47 jupyter_core nbformat ipykernel pandocfilters tornado jupyter_client
49 (nbclient.override { doCheck = false; }) # avoid infinite recursion
53 # disable preprocessor tests for ipython 7
54 # see issue https://github.com/jupyter/nbconvert/issues/898
56 export LC_ALL=en_US.UTF-8
61 "--ignore=nbconvert/preprocessors/tests/test_execute.py"
62 # can't resolve template paths within sandbox
63 "--ignore=nbconvert/tests/base.py"
64 "--ignore=nbconvert/tests/test_nbconvertapp.py"
70 "test_webpdf_without_chromium"
71 #"test_cell_tag_output"
72 #"test_convert_from_stdin"
73 #"test_convert_full_qualified_name"
76 # Some of the tests use localhost networking.
77 __darwinAllowLocalNetworking = true;
80 description = "Converting Jupyter Notebooks";
81 homepage = "https://jupyter.org/";
82 license = lib.licenses.bsd3;
83 maintainers = with lib.maintainers; [ fridh ];