Merge pull request #217435 from marsam/update-sphinx-book-theme
python310Packages.sphinx-book-theme: 0.4.0rc1 -> 1.0.0rc2
This commit is contained in:
commit
4578498df5
4 changed files with 58 additions and 6 deletions
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pygments
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "accessible-pygments";
|
||||
version = "0.0.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-CRe1B2RqazOT60kJGmJQb2sqOTX12V5NEkncUF+KTq4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pygments
|
||||
];
|
||||
|
||||
# Tests only execute pygments with these styles
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"a11y_pygments"
|
||||
"a11y_pygments.utils"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A collection of accessible pygments styles";
|
||||
homepage = "https://github.com/Quansight-Labs/accessible-pygments";
|
||||
changelog = "https://github.com/Quansight-Labs/accessible-pygments/raw/v${version}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
, pythonOlder
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
, accessible-pygments
|
||||
, beautifulsoup4
|
||||
, docutils
|
||||
, packaging
|
||||
|
@ -10,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydata-sphinx-theme";
|
||||
version = "0.12.0";
|
||||
version = "0.13.0rc4";
|
||||
|
||||
format = "wheel";
|
||||
|
||||
|
@ -21,17 +22,20 @@ buildPythonPackage rec {
|
|||
dist = "py3";
|
||||
python = "py3";
|
||||
pname = "pydata_sphinx_theme";
|
||||
sha256 = "sha256-wX26tno3dPBvNPY3jolvzQZozItdocG6AX5lzx3wr1g=";
|
||||
sha256 = "sha256-tLkCMX/LvFxYPOskW2LXHkfHggsG/CIo41W3BF1Zvpc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sphinx
|
||||
accessible-pygments
|
||||
beautifulsoup4
|
||||
docutils
|
||||
packaging
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pydata_sphinx_theme" ];
|
||||
pythonImportsCheck = [
|
||||
"pydata_sphinx_theme"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bootstrap-based Sphinx theme from the PyData community";
|
||||
|
|
|
@ -5,11 +5,12 @@
|
|||
, sphinx
|
||||
, pydata-sphinx-theme
|
||||
, pyyaml
|
||||
, jupyter-book
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-book-theme";
|
||||
version = "0.4.0rc1";
|
||||
version = "1.0.0rc2";
|
||||
|
||||
format = "wheel";
|
||||
|
||||
|
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
|||
dist = "py3";
|
||||
python = "py3";
|
||||
pname = "sphinx_book_theme";
|
||||
sha256 = "bfad8ef469885da5633f7cf7f8cd9a0ae11ea2351a91e507b44cf15973934512";
|
||||
sha256 = "43977402f55b79706e117c6de6f50e67dac6dad698eb9b75be07dc2e6a689bde";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -29,7 +30,13 @@ buildPythonPackage rec {
|
|||
pyyaml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinx_book_theme" ];
|
||||
pythonImportsCheck = [
|
||||
"sphinx_book_theme"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit jupyter-book;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A clean book theme for scientific explanations and documentation with Sphinx";
|
||||
|
|
|
@ -20,6 +20,8 @@ self: super: with self; {
|
|||
|
||||
absl-py = callPackage ../development/python-modules/absl-py { };
|
||||
|
||||
accessible-pygments = callPackage ../development/python-modules/accessible-pygments { };
|
||||
|
||||
accuweather = callPackage ../development/python-modules/accuweather { };
|
||||
|
||||
accupy = callPackage ../development/python-modules/accupy { };
|
||||
|
|
Loading…
Reference in a new issue