mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 06:28:50 +03:00
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
@ -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
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, sphinx
|
, sphinx
|
||||||
|
, accessible-pygments
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
, docutils
|
, docutils
|
||||||
, packaging
|
, packaging
|
||||||
@ -10,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydata-sphinx-theme";
|
pname = "pydata-sphinx-theme";
|
||||||
version = "0.12.0";
|
version = "0.13.0rc4";
|
||||||
|
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
@ -21,17 +22,20 @@ buildPythonPackage rec {
|
|||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
pname = "pydata_sphinx_theme";
|
pname = "pydata_sphinx_theme";
|
||||||
sha256 = "sha256-wX26tno3dPBvNPY3jolvzQZozItdocG6AX5lzx3wr1g=";
|
sha256 = "sha256-tLkCMX/LvFxYPOskW2LXHkfHggsG/CIo41W3BF1Zvpc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
sphinx
|
sphinx
|
||||||
|
accessible-pygments
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
docutils
|
docutils
|
||||||
packaging
|
packaging
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pydata_sphinx_theme" ];
|
pythonImportsCheck = [
|
||||||
|
"pydata_sphinx_theme"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Bootstrap-based Sphinx theme from the PyData community";
|
description = "Bootstrap-based Sphinx theme from the PyData community";
|
||||||
|
@ -5,11 +5,12 @@
|
|||||||
, sphinx
|
, sphinx
|
||||||
, pydata-sphinx-theme
|
, pydata-sphinx-theme
|
||||||
, pyyaml
|
, pyyaml
|
||||||
|
, jupyter-book
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sphinx-book-theme";
|
pname = "sphinx-book-theme";
|
||||||
version = "0.4.0rc1";
|
version = "1.0.0rc2";
|
||||||
|
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
dist = "py3";
|
dist = "py3";
|
||||||
python = "py3";
|
python = "py3";
|
||||||
pname = "sphinx_book_theme";
|
pname = "sphinx_book_theme";
|
||||||
sha256 = "bfad8ef469885da5633f7cf7f8cd9a0ae11ea2351a91e507b44cf15973934512";
|
sha256 = "43977402f55b79706e117c6de6f50e67dac6dad698eb9b75be07dc2e6a689bde";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -29,7 +30,13 @@ buildPythonPackage rec {
|
|||||||
pyyaml
|
pyyaml
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "sphinx_book_theme" ];
|
pythonImportsCheck = [
|
||||||
|
"sphinx_book_theme"
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit jupyter-book;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A clean book theme for scientific explanations and documentation with Sphinx";
|
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 { };
|
absl-py = callPackage ../development/python-modules/absl-py { };
|
||||||
|
|
||||||
|
accessible-pygments = callPackage ../development/python-modules/accessible-pygments { };
|
||||||
|
|
||||||
accuweather = callPackage ../development/python-modules/accuweather { };
|
accuweather = callPackage ../development/python-modules/accuweather { };
|
||||||
|
|
||||||
accupy = callPackage ../development/python-modules/accupy { };
|
accupy = callPackage ../development/python-modules/accupy { };
|
||||||
|
Loading…
Reference in New Issue
Block a user