python310Packages.sphinx-book-theme: init at 0.3.2

This commit is contained in:
Mario Rodas 2022-07-01 04:20:00 +00:00
parent 50825202d7
commit 2c4c660dc6
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, sphinx
, pydata-sphinx-theme
, pyyaml
}:
buildPythonPackage rec {
pname = "sphinx-book-theme";
version = "0.3.2";
format = "wheel";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version format;
dist = "py3";
python = "py3";
pname = "sphinx_book_theme";
sha256 = "4aed92f2ed9d27e002eac5dce1daa8eca42dd9e6464811533c569ee156a6f67d";
};
propagatedBuildInputs = [
sphinx
pydata-sphinx-theme
pyyaml
];
pythonImportsCheck = [ "sphinx_book_theme" ];
meta = with lib; {
description = "A clean book theme for scientific explanations and documentation with Sphinx";
homepage = "https://github.com/executablebooks/sphinx-book-theme";
license = licenses.bsd3;
maintainers = with maintainers; [ marsam ];
};
}

View file

@ -9984,6 +9984,8 @@ in {
sphinx-better-theme = callPackage ../development/python-modules/sphinx-better-theme { };
sphinx-book-theme = callPackage ../development/python-modules/sphinx-book-theme { };
sphinx-comments = callPackage ../development/python-modules/sphinx-comments { };
sphinx-design = callPackage ../development/python-modules/sphinx-design { };