python3Packages.sphinx-rtd-theme: rename from sphinx_rtd_theme

This commit is contained in:
Martin Weinelt 2022-08-03 18:30:10 +02:00
parent f049d7dedf
commit 4af35d92a0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
13 changed files with 20 additions and 18 deletions

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals documentationSupport [ ] ++ lib.optionals documentationSupport [
help2man help2man
python3.pkgs.sphinx python3.pkgs.sphinx
python3.pkgs.sphinx_rtd_theme python3.pkgs.sphinx-rtd-theme
] ++ lib.optional translationSupport gettext; ] ++ lib.optional translationSupport gettext;
buildInputs = [ buildInputs = [

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx_rtd_theme ] nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx-rtd-theme ]
++ lib.optionals gtkSupport [ wrapGAppsHook ] ++ lib.optionals gtkSupport [ wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ sigtool ]; ++ lib.optionals stdenv.isDarwin [ sigtool ];

View file

@ -9,7 +9,7 @@
, recommonmark , recommonmark
, semantic-version , semantic-version
, sphinx , sphinx
, sphinx_rtd_theme , sphinx-rtd-theme
, pytest-runner , pytest-runner
, setuptools-scm , setuptools-scm
, git , git
@ -57,7 +57,7 @@ buildPythonPackage rec {
# docs # docs
recommonmark recommonmark
sphinx sphinx
sphinx_rtd_theme sphinx-rtd-theme
]; ];
checkPhase = '' checkPhase = ''

View file

@ -32,7 +32,7 @@ let
env = python3.withPackages (pp: with pp; [ env = python3.withPackages (pp: with pp; [
sphinx sphinx
recommonmark recommonmark
sphinx_rtd_theme sphinx-rtd-theme
]); ]);
in in
# Expose only the sphinx-build binary to avoid contaminating # Expose only the sphinx-build binary to avoid contaminating

View file

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (enableDocs || enableGI) [ ] ++ lib.optionals (enableDocs || enableGI) [
doxygen doxygen
(python3.withPackages (ps: with ps; (python3.withPackages (ps: with ps;
lib.optionals enableDocs [ sphinx sphinx_rtd_theme breathe ] ++ lib.optionals enableDocs [ sphinx sphinx-rtd-theme breathe ] ++
lib.optionals enableGI [ lxml ] lib.optionals enableGI [ lxml ]
)) ))
]; ];

View file

@ -3,7 +3,7 @@
, lib , lib
, numpy , numpy
, opencv3 , opencv3
, sphinx_rtd_theme , sphinx-rtd-theme
, lxml , lxml
, xmljson , xmljson
}: }:
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
numpy numpy
opencv3 opencv3
sphinx_rtd_theme sphinx-rtd-theme
lxml lxml
xmljson xmljson
]; ];

View file

@ -6,7 +6,7 @@
# docs # docs
, python , python
, sphinx , sphinx
, sphinx_rtd_theme , sphinx-rtd-theme
# tests # tests
, hypothesis , hypothesis
@ -29,7 +29,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
sphinx sphinx
sphinx_rtd_theme sphinx-rtd-theme
]; ];
postInstall = '' postInstall = ''

View file

@ -6,7 +6,7 @@
, mock , mock
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, sphinx_rtd_theme , sphinx-rtd-theme
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,7 +26,7 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
invoke invoke
mock mock
sphinx_rtd_theme sphinx-rtd-theme
pytestCheckHook pytestCheckHook
]; ];

View file

@ -8,11 +8,12 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sphinx_rtd_theme"; pname = "sphinx-rtd-theme";
version = "1.0.0"; version = "1.0.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "sphinx_rtd_theme";
inherit version;
sha256 = "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf"; sha256 = "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf";
}; };

View file

@ -31,7 +31,7 @@ let
doCheck = false; doCheck = false;
}; };
sphinx_rtd_theme = prev.sphinx_rtd_theme.override { sphinx-rtd-theme = prev.sphinx-rtd-theme.override {
inherit sphinx; inherit sphinx;
docutils = docutils_old; docutils = docutils_old;
}; };
@ -59,7 +59,7 @@ stdenv.mkDerivation {
imagemagick imagemagick
perl perl
py.pkgs.sphinx py.pkgs.sphinx
py.pkgs.sphinx_rtd_theme py.pkgs.sphinx-rtd-theme
which which
]; ];

View file

@ -61,7 +61,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
appdirs beautifulsoup4 characteristic distro eliot fixtures foolscap future appdirs beautifulsoup4 characteristic distro eliot fixtures foolscap future
html5lib magic-wormhole netifaces pyasn1 pycrypto pyutil pyyaml recommonmark html5lib magic-wormhole netifaces pyasn1 pycrypto pyutil pyyaml recommonmark
service-identity simplejson sphinx_rtd_theme testtools treq twisted zfec service-identity simplejson sphinx-rtd-theme testtools treq twisted zfec
zope_interface zope_interface
] ++ twisted.optional-dependencies.tls ] ++ twisted.optional-dependencies.tls
++ twisted.optional-dependencies.conch; ++ twisted.optional-dependencies.conch;

View file

@ -174,6 +174,7 @@ mapAliases ({
smart_open = smart-open; # added 2021-03-14 smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14 smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
SPARQLWrapper = sparqlwrapper; SPARQLWrapper = sparqlwrapper;
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02 sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28 sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23 SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23

View file

@ -10146,7 +10146,7 @@ in {
sphinx_pypi_upload = callPackage ../development/python-modules/sphinx_pypi_upload { }; sphinx_pypi_upload = callPackage ../development/python-modules/sphinx_pypi_upload { };
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { }; sphinx-rtd-theme = callPackage ../development/python-modules/sphinx-rtd-theme { };
sphinx-serve = callPackage ../development/python-modules/sphinx-serve { }; sphinx-serve = callPackage ../development/python-modules/sphinx-serve { };