2019-02-19 13:45:49 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
, jinja2
|
|
|
|
, nbconvert
|
|
|
|
, nbformat
|
|
|
|
, sphinx
|
|
|
|
, traitlets
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nbsphinx";
|
2019-10-08 09:51:58 +01:00
|
|
|
version = "0.4.3";
|
2019-02-19 13:45:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-08 09:51:58 +01:00
|
|
|
sha256 = "09j47hmzgvf7rnz7n4n7295pp6qscq9hp50qva70vglzqck9yyjp";
|
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";
|
|
|
|
homepage = https://nbsphinx.readthedocs.io/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|