Files
nixpkgs/pkgs/development/python-modules/guzzle-sphinx-theme/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

35 lines
719 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
sphinx,
}:
buildPythonPackage rec {
pname = "guzzle-sphinx-theme";
version = "0.7.11";
pyproject = true;
src = fetchPypi {
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 = {
description = "Sphinx theme used by Guzzle: http://guzzlephp.org";
homepage = "https://github.com/guzzle/guzzle_sphinx_theme/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ flokli ];
};
}