1{ lib
2, buildPythonPackage
3, fetchPypi
4, wheel
5, sphinx
6, docutils
7}:
8
9buildPythonPackage rec {
10 pname = "sphinx-togglebutton";
11 version = "0.3.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-qwyLNmQnsB5MiYAtXQeEcsQn+m6dEtUhw0+gRCVZ3Ho=";
16 };
17
18 propagatedBuildInputs = [ wheel sphinx docutils ];
19
20 pythonImportsCheck = [ "sphinx_togglebutton" ];
21
22 meta = with lib; {
23 description = "Toggle page content and collapse admonitions in Sphinx";
24 homepage = "https://github.com/executablebooks/sphinx-togglebutton";
25 license = licenses.mit;
26 maintainers = with maintainers; [ marsam ];
27 };
28}