Merge pull request #38428 from Ekleog/doc-weechat
Add documentation for weechat
This commit is contained in:
commit
ed1312f782
@ -721,5 +721,15 @@ plugin's <literal>withPackages</literal> attribute:
|
|||||||
}
|
}
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
In order to also keep all default plugins installed, it is possible to use
|
||||||
|
the following method:
|
||||||
|
<programlisting>weechat.override { configure = { availablePlugins, ... }: {
|
||||||
|
plugins = builtins.attrValues (availablePlugins // {
|
||||||
|
python = availablePlugins.python.withPackages (ps: with ps; [ pycrypto python-dbus ]);
|
||||||
|
});
|
||||||
|
}; }
|
||||||
|
</programlisting>
|
||||||
|
</para>
|
||||||
</section>
|
</section>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
@ -72,6 +72,11 @@ let
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.weechat.org/;
|
homepage = http://www.weechat.org/;
|
||||||
description = "A fast, light and extensible chat client";
|
description = "A fast, light and extensible chat client";
|
||||||
|
longDescription = ''
|
||||||
|
You can find more documentation as to how to customize this package
|
||||||
|
(eg. adding python modules for scripts that would require them, etc.)
|
||||||
|
on https://nixos.org/nixpkgs/manual/#sec-weechat .
|
||||||
|
'';
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny lheckemann ];
|
maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny lheckemann ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
@ -117,4 +122,7 @@ in if configure == null then weechat else
|
|||||||
export WEECHAT_EXTRA_LIBDIR=${pluginsDir}
|
export WEECHAT_EXTRA_LIBDIR=${pluginsDir}
|
||||||
${lib.concatMapStringsSep "\n" (p: lib.optionalString (p ? extraEnv) p.extraEnv) plugins}
|
${lib.concatMapStringsSep "\n" (p: lib.optionalString (p ? extraEnv) p.extraEnv) plugins}
|
||||||
exec ${weechat}/bin/weechat "$@"
|
exec ${weechat}/bin/weechat "$@"
|
||||||
'') // { unwrapped = weechat; }
|
'') // {
|
||||||
|
unwrapped = weechat;
|
||||||
|
meta = weechat.meta;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user