mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
0215034f25
when they already rely on SRI hashes.
29 lines
628 B
Nix
29 lines
628 B
Nix
{ 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 ];
|
|
};
|
|
}
|