2022-07-01 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, wheel
|
|
|
|
, sphinx
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-togglebutton";
|
2022-07-15 16:31:29 +00:00
|
|
|
version = "0.3.2";
|
2022-07-01 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-qwyLNmQnsB5MiYAtXQeEcsQn+m6dEtUhw0+gRCVZ3Ho=";
|
2022-07-01 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wheel sphinx docutils ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinx_togglebutton" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Toggle page content and collapse admonitions in Sphinx";
|
|
|
|
homepage = "https://github.com/executablebooks/sphinx-togglebutton";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|