python311Packages.sphinx-togglebutton: fix build

This commit is contained in:
Martin Weinelt
2023-09-27 15:34:43 +02:00
parent af0c46c6cf
commit de9fe3145b
@@ -1,23 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, sphinx
, docutils
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-togglebutton";
version = "0.3.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-qwyLNmQnsB5MiYAtXQeEcsQn+m6dEtUhw0+gRCVZ3Ho=";
};
propagatedBuildInputs = [ wheel sphinx docutils ];
nativeBuildInputs = [
setuptools
wheel
];
pythonImportsCheck = [ "sphinx_togglebutton" ];
propagatedBuildInputs = [
docutils
sphinx
];
pythonImportsCheck = [
"sphinx_togglebutton"
];
meta = with lib; {
description = "Toggle page content and collapse admonitions in Sphinx";