Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, nbformat 5, sphinx 6, ipywidgets 7, pythonOlder 8, nbconvert 9}: 10 11buildPythonPackage rec { 12 pname = "jupyter-sphinx"; 13 version = "0.4.0"; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "jupyter_sphinx"; 18 hash = "sha256-DBGjjxNDE48sUFHA00xMVF9EgBdMG9QcAlb+gm4LqlU="; 19 }; 20 21 propagatedBuildInputs = [ nbconvert nbformat sphinx ipywidgets ]; 22 23 doCheck = false; 24 25 disabled = pythonOlder "3.5"; 26 27 meta = with lib; { 28 description = "Jupyter Sphinx Extensions"; 29 homepage = "https://github.com/jupyter/jupyter-sphinx/"; 30 license = licenses.bsd3; 31 }; 32 33}