2022-07-01 05:20:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, sphinx
|
|
|
|
, pydata-sphinx-theme
|
|
|
|
, pyyaml
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-book-theme";
|
2022-07-19 05:20:00 +01:00
|
|
|
version = "0.3.3";
|
2022-07-01 05:20:00 +01:00
|
|
|
|
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version format;
|
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
|
|
|
pname = "sphinx_book_theme";
|
2022-07-19 05:20:00 +01:00
|
|
|
sha256 = "9685959dbbb492af005165ef1b9229fdd5d5431580ac181578beae3b4d012d91";
|
2022-07-01 05:20:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2022-10-03 21:45:48 +01:00
|
|
|
# Missing sphinx 5.X support
|
|
|
|
# https://github.com/executablebooks/sphinx-book-theme/issues/592
|
|
|
|
broken = true;
|
2022-07-01 05:20:00 +01:00
|
|
|
};
|
|
|
|
}
|