depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-togglebutton/default.nix
Default email c6ca5b8f13 Project import generated by Copybara.
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
2022-07-18 18:21:45 +02:00

28 lines
630 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, wheel
, sphinx
, docutils
}:
buildPythonPackage rec {
pname = "sphinx-togglebutton";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}