depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-togglebutton/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

40 lines
730 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 = with maintainers; [ marsam ];
};
}