summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinx-togglebutton/default.nix
blob: 391fb9205c95e41e75951cb0e174070f8276624d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib
, buildPythonPackage
, fetchPypi
, wheel
, sphinx
, docutils
}:

buildPythonPackage rec {
  pname = "sphinx-togglebutton";
  version = "0.3.2";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-qwyLNmQnsB5MiYAtXQeEcsQn+m6dEtUhw0+gRCVZ3Ho=";
  };

  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 ];
  };
}