2019-02-19 13:45:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
, jinja2
|
|
|
|
, nbconvert
|
|
|
|
, nbformat
|
|
|
|
, sphinx
|
|
|
|
, traitlets
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbsphinx";
|
2020-02-20 23:43:16 +00:00
|
|
|
version = "0.5.1";
|
2019-02-19 13:45:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-02-20 23:43:16 +00:00
|
|
|
sha256 = "0kh0d83xavpffdp4xp4hq8xy43l6lyv3d1a25rnc15jcbdf1nghw";
|
2019-02-19 13:45:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
jinja2
|
|
|
|
nbconvert
|
|
|
|
nbformat
|
|
|
|
sphinx
|
|
|
|
traitlets
|
|
|
|
];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m nbsphinx
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Jupyter Notebook Tools for Sphinx";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://nbsphinx.readthedocs.io/";
|
2019-02-19 13:45:49 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|