42 lines
698 B
Nix
Raw Normal View History

2019-02-19 08:45:49 -05:00
{ lib
, buildPythonPackage
, fetchPypi
, docutils
, jinja2
, nbconvert
, nbformat
, sphinx
, traitlets
, python
}:
buildPythonPackage rec {
pname = "nbsphinx";
2020-06-06 08:47:19 +02:00
version = "0.7.0";
2019-02-19 08:45:49 -05:00
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:19 +02:00
sha256 = "77545508fff12fed427fffbd9eae932712fe3db7cc6729b0af5bbd122d7146cf";
2019-02-19 08:45:49 -05: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/";
2019-02-19 08:45:49 -05:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}