depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-togglebutton/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

39 lines
708 B
Nix

{
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 = [ ];
};
}