depot/third_party/nixpkgs/pkgs/development/python-modules/nbsphinx/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

47 lines
801 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, docutils
, jinja2
, nbconvert
, nbformat
, sphinx
, traitlets
, isPy3k
}:
buildPythonPackage rec {
pname = "nbsphinx";
version = "0.8.7";
src = fetchPypi {
inherit pname version;
sha256 = "ff91b5b14ceb1a9d44193b5fc3dd3617e7b8ab59c788f7710049ce5faff2750c";
};
propagatedBuildInputs = [
docutils
jinja2
nbconvert
nbformat
sphinx
traitlets
];
# The package has not tests
doCheck = false;
JUPYTER_PATH = "${nbconvert}/share/jupyter";
pythonImportsCheck = [
"nbsphinx"
];
disabled = !isPy3k;
meta = with lib; {
description = "Jupyter Notebook Tools for Sphinx";
homepage = "https://nbsphinx.readthedocs.io/";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}