The doc build was failing because of an unpatched `/usr/bin/env` shebang in the `pygments.rb` gem, and weechat uses asciidoctor with the pygments highlighter. Adding `python3` to `pygments.rb`'s `buildInputs` fixes it.