1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 09:53:17 +00:00
nixpkgs/pkgs/development/python-modules/nbsphinx/default.nix
2020-07-06 09:43:40 -07:00

45 lines
718 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, docutils
, jinja2
, nbconvert
, nbformat
, sphinx
, traitlets
, python
, isPy3k
}:
buildPythonPackage rec {
pname = "nbsphinx";
version = "0.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "0j56bxdj08vn3q1804qwb1ywhga1mdg1awgm7i64wfpfwi8df2zm";
};
propagatedBuildInputs = [
docutils
jinja2
nbconvert
nbformat
sphinx
traitlets
];
checkPhase = ''
${python.interpreter} -m nbsphinx
'';
disabled = !isPy3k;
meta = with lib; {
description = "Jupyter Notebook Tools for Sphinx";
homepage = "https://nbsphinx.readthedocs.io/";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}