nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 727 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7 docutils, 8 sphinx, 9}: 10 11buildPythonPackage rec { 12 pname = "sphinx-togglebutton"; 13 version = "0.4.4"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit version; 18 pname = "sphinx_togglebutton"; 19 hash = "sha256-BMMyaS/V9TY60CoAHmkzaXZ9bB8OWCeXcKKutXG0cqE="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools 24 wheel 25 ]; 26 27 propagatedBuildInputs = [ 28 docutils 29 sphinx 30 ]; 31 32 pythonImportsCheck = [ "sphinx_togglebutton" ]; 33 34 meta = { 35 description = "Toggle page content and collapse admonitions in Sphinx"; 36 homepage = "https://github.com/executablebooks/sphinx-togglebutton"; 37 license = lib.licenses.mit; 38 maintainers = [ ]; 39 }; 40}