mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 09:13:56 +00:00
54 lines
924 B
Nix
54 lines
924 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
docutils,
|
|
jinja2,
|
|
nbconvert,
|
|
nbformat,
|
|
sphinx,
|
|
traitlets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nbsphinx";
|
|
version = "0.9.8";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-0HZZCDmajuK1e+euiBzy6ljWbbOve78z5utI+DvqVJU=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
docutils
|
|
jinja2
|
|
nbconvert
|
|
nbformat
|
|
sphinx
|
|
traitlets
|
|
];
|
|
|
|
# The package has not tests
|
|
doCheck = false;
|
|
|
|
env.JUPYTER_PATH = "${nbconvert}/share/jupyter";
|
|
|
|
pythonImportsCheck = [ "nbsphinx" ];
|
|
|
|
meta = {
|
|
description = "Jupyter Notebook Tools for Sphinx";
|
|
homepage = "https://nbsphinx.readthedocs.io/";
|
|
changelog = "https://github.com/spatialaudio/nbsphinx/blob/${version}/NEWS.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|