Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 718 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, docutils 5, jinja2 6, nbconvert 7, nbformat 8, sphinx 9, traitlets 10, python 11, isPy3k 12}: 13 14buildPythonPackage rec { 15 pname = "nbsphinx"; 16 version = "0.7.1"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "0j56bxdj08vn3q1804qwb1ywhga1mdg1awgm7i64wfpfwi8df2zm"; 21 }; 22 23 propagatedBuildInputs = [ 24 docutils 25 jinja2 26 nbconvert 27 nbformat 28 sphinx 29 traitlets 30 ]; 31 32 checkPhase = '' 33 ${python.interpreter} -m nbsphinx 34 ''; 35 36 disabled = !isPy3k; 37 38 meta = with lib; { 39 description = "Jupyter Notebook Tools for Sphinx"; 40 homepage = "https://nbsphinx.readthedocs.io/"; 41 license = licenses.mit; 42 maintainers = [ maintainers.costrouc ]; 43 }; 44}