Skip to content

Commit

Permalink
Merge pull request NixOS#261330 from natsukium/guzzle-sphinx-theme
Browse files Browse the repository at this point in the history
python311Packages.guzzle-sphinx-theme: rename from guzzle_sphinx_theme
  • Loading branch information
fabaff authored Oct 16, 2023
2 parents 905705a + 6b76ad0 commit 0f6819c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/backup/borgbackup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ python3Packages.buildPythonApplication rec {

# docs
sphinxHook
guzzle_sphinx_theme
guzzle-sphinx-theme

# shell completions
installShellFiles
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 0f6819c

Please sign in to comment.