nixpkgs/pkgs/applications/networking/irc
Maximilian Bosch a8efe61412
weechat: 2.1 -> 2.2; improve package configuration
This aims to make the `weechat` package even more configurable. It
allows to specify scripts and commands using the `configure` function
inside a `weechat.override` expression.

The package can be configured like this:

```
with import <nixpkgs> { };
weechat.override {
  plugins = { availablePlugins, ... }: {
    plugins = builtins.attrValues availablePlugins;

    init = ''
      /set foo bar
      /server add freenode chat.freenode.org
    '';

    scripts = [ "/path/to/script.py" ];
  };
}
```

All commands are passed to `weechat --run-command "/set foo bar;/server ..."`.

The `plugins' attribute is not necessarily required anymore, if it's
sufficient to add `init' commands, the `plugins' will be
`builtins.attrValues availablePlugins' by default.

Additionally the result contains `weechat` and `weechat-headless`
(introduced in WeeChat 2.1) now.
2018-09-07 13:10:43 +02:00
..
bip bip: Fix build 2018-03-10 18:06:35 +01:00
chatzilla treewide: http -> https sources (#42676) 2018-06-28 20:43:35 +02:00
communi communi: fix darwin build 2018-03-17 16:37:56 +01:00
epic5 epic5: add patch for openssl 1.1 2017-08-04 02:35:37 +02:00
hexchat tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
ii Switch suckless.org URLs to https 2018-04-11 15:11:55 +02:00
irssi irssi: add license 2018-08-06 13:06:06 +02:00
konversation konversation: 1.7.4 -> 1.7.5 2018-08-26 12:18:28 +02:00
quassel quassel: fix building against Qt-5.11 2018-06-24 20:23:21 +03:00
qweechat treewide: meta.platform -> meta.platforms 2017-05-02 19:32:02 -04:00
sic Switch suckless.org URLs to https 2018-04-11 15:11:55 +02:00
weechat weechat: 2.1 -> 2.2; improve package configuration 2018-09-07 13:10:43 +02:00
wraith wraith: disable format hardening 2016-08-25 03:55:19 +02:00