2020-06-18 07:06:33 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nbformat
|
|
|
|
, sphinx
|
|
|
|
, ipywidgets
|
|
|
|
, pythonOlder
|
2022-05-18 14:49:53 +00:00
|
|
|
, nbconvert
|
2020-06-18 07:06:33 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jupyter-sphinx";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.4.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "jupyter_sphinx";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-DBGjjxNDE48sUFHA00xMVF9EgBdMG9QcAlb+gm4LqlU=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
propagatedBuildInputs = [ nbconvert nbformat sphinx ipywidgets ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyter Sphinx Extensions";
|
|
|
|
homepage = "https://github.com/jupyter/jupyter-sphinx/";
|
|
|
|
license = licenses.bsd3;
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
}
|