about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sphinx-togglebutton/default.nix
blob: 3b3e146b98e81347d3d21546af885b36c872c536 (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
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, docutils
, sphinx
}:

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

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

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  propagatedBuildInputs = [
    docutils
    sphinx
  ];

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