3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/nbsphinx/default.nix

42 lines
696 B
Nix
Raw Normal View History

2019-02-19 13:45:49 +00:00
{ 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 ];
};
}