nixpkgs/pkgs
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
..
applications weechat: 2.1 -> 2.2; improve package configuration 2018-09-07 13:10:43 +02:00
build-support treewide: cleanup some references to bash 2018-09-04 22:05:02 +00:00
common-updater
data faba-icon-theme: add python3 for install script 2018-09-04 03:23:40 +02:00
desktops gnome3.tracker: 2.1.3 -> 2.1.4 (#46086) 2018-09-05 10:42:48 +02:00
development Merge pull request #46103 from teto/haskell_mnist 2018-09-06 09:28:50 +02:00
games Merge pull request #46081 from samueldr/fix/solarus 2018-09-05 08:53:51 +02:00
misc ghostscript: fix nitpicks after the update 2018-09-04 18:50:49 +02:00
os-specific linux: Remove 4.17 2018-09-05 21:02:09 -04:00
servers nullidentdmod: Init at 1.3 (#46040) 2018-09-05 11:09:55 +02:00
shells zsh: 5.5.1 -> 5.6 (#46052) 2018-09-04 23:32:43 +02:00
stdenv Merge pull request #46076 from oxij/tree/cleanups 2018-09-05 15:14:12 -04:00
test
tools nix: 2.1 -> 2.1.1 2018-09-06 01:12:03 +02:00
top-level weechat: 2.1 -> 2.2; improve package configuration 2018-09-07 13:10:43 +02:00