2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, wheel
|
|
|
|
, sphinx
|
|
|
|
, docutils
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-togglebutton";
|
2022-07-18 16:21:45 +00:00
|
|
|
version = "0.3.2";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-qwyLNmQnsB5MiYAtXQeEcsQn+m6dEtUhw0+gRCVZ3Ho=";
|
2022-07-14 12:49:19 +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 ];
|
|
|
|
};
|
|
|
|
}
|