python311Packages.guzzle-sphinx-theme: refactor
This commit is contained in:
parent
ef9376fcce
commit
6b76ad07d5
1 changed files with 17 additions and 3 deletions
|
@ -1,23 +1,37 @@
|
|||
{ lib, buildPythonPackage, sphinx, fetchPypi }:
|
||||
{ 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;
|
||||
sha256 = "1rnkzrrsbnifn3vsb4pfaia3nlvgvw6ndpxp7lzjrh23qcwid34v";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue