Merge pull request #261330 from natsukium/guzzle-sphinx-theme

python311Packages.guzzle-sphinx-theme: rename from guzzle_sphinx_theme
This commit is contained in:
Fabian Affolter 2023-10-16 11:11:42 +02:00 committed by GitHub
commit 0f6819c39f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 7 deletions

View file

@ -1,22 +1,37 @@
{ lib, buildPythonPackage, sphinx, fetchPypi }:
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, sphinx
}:
buildPythonPackage rec {
pname = "guzzle_sphinx_theme";
pname = "guzzle-sphinx-theme";
version = "0.7.11";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "1rnkzrrsbnifn3vsb4pfaia3nlvgvw6ndpxp7lzjrh23qcwid34v";
pname = "guzzle_sphinx_theme";
inherit version;
hash = "sha256-m4wWOcNDwCw/PbffZg3fb1M7VFTukqX3sC7apXP+0+Y=";
};
nativeBuildInputs = [
setuptools
];
doCheck = false; # no tests
propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [
"guzzle_sphinx_theme"
];
meta = with lib; {
description = "Sphinx theme used by Guzzle: http://guzzlephp.org";
homepage = "https://github.com/guzzle/guzzle_sphinx_theme/";
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
platforms = platforms.unix;
};
}

View file

@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec {
# docs
sphinxHook
guzzle_sphinx_theme
guzzle-sphinx-theme
# shell completions
installShellFiles

View file

@ -174,6 +174,7 @@ mapAliases ({
graphite_beacon = throw "graphite_beacon was removed, because it is no longer maintained"; # added 2022-07-09
grappelli_safe = grappelli-safe; # added 2023-10-08
grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
guzzle_sphinx_theme = guzzle-sphinx-theme; # added 2023-10-16
ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
HAP-python = hap-python; # added 2021-06-01
hangups = throw "hangups was removed because Google Hangouts has been shut down"; # added 2023-02-13

View file

@ -4810,7 +4810,7 @@ self: super: with self; {
else
throw "gurobipy not yet supported on ${stdenv.hostPlatform.system}";
guzzle_sphinx_theme = callPackage ../development/python-modules/guzzle_sphinx_theme { };
guzzle-sphinx-theme = callPackage ../development/python-modules/guzzle-sphinx-theme { };
gvm-tools = callPackage ../development/python-modules/gvm-tools { };