summary refs log tree commit diff
path: root/doc/package-notes.xml
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2017-11-03 10:25:22 +0000
committerLinus Heckemann <git@sphalerite.org>2017-11-03 10:25:22 +0000
commit05f96bf376bc04bb7cc447150b8cb182af84b35b (patch)
tree46a2ff5aa37ff865f686efd94d34946a0f39fa46 /doc/package-notes.xml
parent4b15ca22488a3f29c4a7d281855df5818b82afd4 (diff)
downloadnixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar.gz
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar.bz2
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar.lz
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar.xz
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.tar.zst
nixlib-05f96bf376bc04bb7cc447150b8cb182af84b35b.zip
weechat: split plugins into separate outputs
Also add a wrapper generator that allows adding the plugins back
conveniently and corresponding documentation in the package notes
section of the nixpkgs manual.
Diffstat (limited to 'doc/package-notes.xml')
-rw-r--r--doc/package-notes.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/package-notes.xml b/doc/package-notes.xml
index 4d87a3a67fe9..184bee089ae3 100644
--- a/doc/package-notes.xml
+++ b/doc/package-notes.xml
@@ -664,4 +664,34 @@ cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el
 
 </section>
 
+<section xml:id="sec-weechat">
+<title>Weechat</title>
+<para>
+Weechat can currently be configured to include your choice of plugins.
+To make use of this functionality, install an expression that overrides its configuration such as
+<programlisting>weechat.override {configure = {availablePlugins, ...}: {
+        plugins = with availablePlugins; [ python perl ];
+    }
+}</programlisting>
+</para>
+<para>
+The plugins currently available are <literal>python</literal>,
+<literal>perl</literal>, <literal>ruby</literal>, <literal>guile</literal>,
+<literal>tcl</literal> and <literal>lua</literal>.
+</para>
+<para>
+The python plugin allows the addition of extra libraries. For instance,
+the <literal>inotify.py</literal> script in weechat-scripts requires
+D-Bus or libnotify, and the <literal>fish.py</literal> script requires
+pycrypto. To use these scripts, use the <literal>python</literal>
+plugin's <literal>withPackages</literal> attribute:
+<programlisting>weechat.override {configure = {availablePlugins, ...}: {
+    plugins = with availablePlugins; [
+            (python.withPackages (ps: with ps; [ pycrypto python-dbus ]))
+        ];
+    }
+}
+</programlisting>
+</para>
+</section>
 </chapter>