Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 47 lines 801 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, docutils 5, jinja2 6, nbconvert 7, nbformat 8, sphinx 9, traitlets 10, isPy3k 11}: 12 13buildPythonPackage rec { 14 pname = "nbsphinx"; 15 version = "0.8.2"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "53352237e2363079f6e38637a8ce90b47e720c8e2eb133a6a6f66fc13ff494cb"; 20 }; 21 22 propagatedBuildInputs = [ 23 docutils 24 jinja2 25 nbconvert 26 nbformat 27 sphinx 28 traitlets 29 ]; 30 31 # The package has not tests 32 doCheck = false; 33 34 JUPYTER_PATH = "${nbconvert}/share/jupyter"; 35 pythonImportsCheck = [ 36 "nbsphinx" 37 ]; 38 39 disabled = !isPy3k; 40 41 meta = with lib; { 42 description = "Jupyter Notebook Tools for Sphinx"; 43 homepage = "https://nbsphinx.readthedocs.io/"; 44 license = licenses.mit; 45 maintainers = [ maintainers.costrouc ]; 46 }; 47}