pythonPackages.nbsphinx: init at 0.4.2

This commit is contained in:
Chris Ostrouchov 2019-02-19 08:45:49 -05:00 committed by Frederik Rietdijk
parent 7c3d9d442a
commit e6aa9ac72d
2 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, docutils
, jinja2
, nbconvert
, nbformat
, sphinx
, traitlets
, python
}:
buildPythonPackage rec {
pname = "nbsphinx";
version = "0.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "b794219e465b3aab500b800884ff40fd152bb19d8b6f87580de1f3a07170aef8";
};
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 ];
};
}

View File

@ -305,7 +305,7 @@ in {
cdecimal = callPackage ../development/python-modules/cdecimal { };
cfn-flip = callPackage ../development/python-modules/cfn-flip { };
chalice = callPackage ../development/python-modules/chalice { };
cleo = callPackage ../development/python-modules/cleo { };
@ -492,6 +492,8 @@ in {
nanomsg-python = callPackage ../development/python-modules/nanomsg-python { inherit (pkgs) nanomsg; };
nbsphinx = callPackage ../development/python-modules/nbsphinx { };
nbval = callPackage ../development/python-modules/nbval { };
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };