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