nixpkgs/pkgs/development/python-modules/sphinx-togglebutton/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
628 B
Nix
Raw Normal View History

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