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