Commit Graph

420 Commits

Author SHA1 Message Date
Benjamin Esham
a0234e0a24 weechatScripts.wee-slack: 2.3.0 -> 2.4.0 2020-02-02 08:59:35 -08:00
Alexander Bakker
75b3072644 hexchat: 2.14.2 -> 2.14.3 2020-01-27 20:04:01 +01:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
Oleksii Filonenko
cb132f981f
tiny: init at 0.5.1 2020-01-08 21:14:53 +02:00
Robin Gloster
313da176d3
treewide: NIX_*_FLAGS -> string 2019-12-31 00:16:46 +01:00
Robin Gloster
5f2b92e3ec
treewide: NIX_*_COMPILE -> string 2019-12-31 00:13:29 +01:00
Frederik Rietdijk
6d059becd3 Merge gcc-9 into staging (#68029) 2019-12-30 16:38:38 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Nathan
b0caf68bff
maintainer-list.nix: remove ndowens 2019-12-26 16:47:41 -05:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
Jason Felice
67bed0c696 weechat: Fix build on Darwin 2019-12-19 10:01:55 -05:00
worldofpeace
f21759a7b9 hexchat: don't use libsexy in nixpkgs
It's a part of hexchat
* 57478b6575/src/fe-gtk/sexy-spell-entry.h
2019-12-10 22:37:15 -05:00
Martin Weinelt
d1cb8bfc8d weechat: 2.6 -> 2.7
Disables support for Javascript and PHP:
- Javascript requires an old version of v8
- PHP requires a larger number of dependencies in addition to php-embed

Changelog [1]:

  New features
    - core: add option weechat.look.nick_color_hash_salt to shuffle nick colors (issue #635)
    - core: add different icons sizes (16x16 to 512x512) (issue #1347)
    - core: add file weechat.desktop
    - core: add reverse of string for screen in evaluation of expressions with "revscr:"
    - core: add length of string (number of chars and on screen) in evaluation of expressions with "length:xxx" and "lengthscr:xxx"
    - core: add calculation of expression in evaluation of expressions with "calc:xxx" (issue #997)
    - core: add optional default path (evaluated) in completion "filename"
    - core: add support of modifiers in evaluation of expressions with "modifier:name,data,string"
    - api: add modifier "color_encode_ansi" (issue #528)
    - api: add modifier "eval_path_home"
    - irc: add filters on raw buffer (issue #1000)
    - irc: add option irc.look.display_pv_warning_address to display a warning in private buffer if the remote nick address has changed (issue #892)
    - irc: add server option "ssl_password" (issue #115, issue #1416)
    - irc: add "user" in output of irc_message_parse (issue #136)
    - irc: add options irc.color.message_kick and irc.color.reason_kick (issue #683, issue #684)
    - logger: add option logger.file.color_lines (issue #528, issue #621)
    - script: add options "-ol" and "-il" in command "/script list" to send translated string with list of scripts loaded, display "No scripts loaded" if no scripts are loaded
    - xfer: add option xfer.file.download_temporary_suffix with default value ".part" (issue #1237)

  Bug fixes
    - core: set buffer name, short name and title only if the value has changed
    - core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (issue #899, issue #978)
    - core: optimize load of configuration files
    - core: fix window separators not respecting window splits (issue #630)
    - core: fix cursor mode info when prefix_align is none and with words split across lines (issue #610, issue #617, issue #619)
    - core: add support of reverse video in ANSI color codes
    - core: fixed segfault during excessive evaluation in function string_repeat (issue #1400)
    - buflist: fix extra spaces between buffers when conditions are used to hide buffers (regression introduced in version 2.6) (issue #1403)
    - irc: do not automatically open a channel with name "0" (issue #1429)
    - irc: remove option irc.network.channel_encode, add server option "charset_message" to control which part of the IRC message is decoded/encoded to the target charset (issue #832)
    - irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" (issue #60)
    - logger: fix write in log file if it has been deleted or renamed (issue #123)
    - python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1389)
    - relay: send message "_buffer_title_changed" to clients only when the title is changed
    - xfer: fix memory leak when a xfer is freed and when the plugin is unloaded

  Tests
    - unit: add tests on GUI color functions

  Build
    - core: fix build on Haiku (issue #1420)
    - core: fix build on Alpine
    - core: remove file FindTCL.cmake
    - core: display an error on missing dependency in CMake (issue #916, issue #956)
    - debian: disable Javascript plugin on Debian Sid and Ubuntu Eoan
    - debian: build with Guile 2.2
    - guile: add support of Guile 2.2, disable /guile eval (issue #1098)
    - python: add detection of Python 3.8

[1] https://weechat.org/files/changelog/ChangeLog-2.7.html
2019-12-08 23:25:49 +01:00
Jörg Thalheim
1003613c08 glowing-bear: 0.7.1 -> 0.7.2 2019-11-19 09:39:26 -08:00
tilpner
8150b587bd weechatScripts.weechat-matrix: init at unstable-2019-11-10 2019-11-16 23:06:50 -08:00
Franz Pletz
39b4ad1a81
bip: fix build with gcc9 2019-11-03 00:52:52 +01:00
Maximilian Bosch
183b9d0957
weechatScripts.wee-slack: replace myself as maintainer with willibutz
We just talked about this in private. I don't use this anymore for
various reasons, but willibutz is a wee-slack user and
definetely a well-qualified replacement here.
2019-10-19 21:40:04 +02:00
Jan Tojnar
b3fcd9375d
Merge branch 'master' into staging-next 2019-10-03 01:47:08 +02:00
Samuel Dionne-Riel
c52b5b8a5d quassel: Fix use of mkDerivation
The `with stdenv;` would override the `mkDerivation` to be the regular
one, instead of the libsForQt5 one.

This simply removes the dangerous use of the all-encompassing `with`,
and prefers using a more precise inherit for `lib`.

See #65399

Co-authored-by: worldofpeace <worldofpeace@protonmail.ch>
2019-10-01 01:23:10 -04:00
Vladimír Čunát
192fb9d11b
Merge branch 'staging-next' into staging 2019-09-24 08:15:01 +02:00
Jörg Thalheim
043ce505a6
Merge pull request #69259 from suhr/kvirc
kvirc: use qt5.mkDerivation
2019-09-23 07:53:12 +01:00
Matthew Bauer
ad22b9084d treewide: replace daemon with enableDaemon
broken with the introducation of "daemon" in

96ffba10f5
2019-09-22 20:14:05 -04:00
Сухарик
fa435f2291 kvirc: use qt5.mkDerivation 2019-09-22 22:24:03 +03:00
worldofpeace
b0c2aea20b
treewide: drop adding hicolor-icon-theme where possible
This was either for the setup-hook to remove caches or added
even though the respective icon theme propagated it.
2019-09-18 22:47:26 +02:00
Frederik Rietdijk
5f4734b1dd Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00
Maximilian Bosch
cda81eafd0
weechat: 2.5 -> 2.6
https://github.com/weechat/weechat/releases/tag/v2.6
2019-09-08 10:03:18 +02:00
Jan Tojnar
cdf426488b
Merge branch 'master' into staging-next
Fixed trivial conflicts caused by removing rec.
2019-09-06 03:20:09 +02:00
Maximilian Bosch
e4bc0e2b5f
weechatScripts.weechat-xmpp: remove
This plugin is fairly outdated and depends on python2 libraries that
don't receive any updates either (xmpppy for instance[1]).

[1] https://pypi.org/project/xmpppy/
2019-09-05 20:03:46 +02:00
Maximilian Bosch
689a50f3a2
weechat: build with python3 by default
WeeChat also supports Python3 for scripts which should be preferred as
CPython2 is about to get EOLed soon: https://weechat.org/scripts/python3/
2019-09-05 20:03:45 +02:00
Lassulus
85de89db86
Merge pull request #62743 from geistesk/weechat-otr-1.9.2
weechatScripts.weechat-otr: init at 1.9.2
2019-09-04 13:39:24 +02:00
Franz Pletz
de85797565
Merge remote-tracking branch 'origin/master' into gcc-8 2019-09-03 22:15:07 +02:00
geistesk
d81e7bdf45 weechatScripts.weechat-otr: init at 1.9.2 2019-09-02 11:28:58 +02:00
Frederik Rietdijk
ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
averelld
60216e8472 hexchat: 2.12.4 -> 2.14.2 (#67714) 2019-08-31 00:06:40 -04:00
Andreas Rammhold
360b2314b8
irssi: 1.2.1 -> 1.2.2 (CVE-2019-15717)
https://irssi.org/security/irssi_sa_2019_08.txt
2019-08-29 23:13:09 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Robin Gloster
616b8343c4
Merge remote-tracking branch 'upstream/master' into gcc-8 2019-08-25 18:55:46 +02:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Luka Blaskovic
55ae5ff593 weechat-matrix-bridge: use luaffi from luaPackages 2019-08-24 10:05:00 +00:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Chris Rendle-Short
46b7ca6c28 irccloud: init at 0.13.0
AppImage is used as the source build is unpure (Yarn pulls in a lot of Node
dependencies over the network).
2019-08-23 20:33:00 +10:00
Marek Mahut
1412af4b2c
Merge pull request #66821 from ehmry/irssi
irssi: build bundled OTR plug-in and remove "irssi-otr" package
2019-08-19 13:52:35 +02:00
danbst
d80cd26ff9 Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
Emery Hemingway
9a1b8bc325 irssi: build bundled OTR plug-in and remove "irssi-otr" package 2019-08-18 12:35:57 +02:00
nyanloutre
3085451655 konversation: add patch "Fix build with Qt 5.13" 2019-08-16 11:26:17 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Benjamin Esham
aaf6f09717 weechat: prevent impure use of system Python (#64262) 2019-08-08 11:34:44 -04:00
danbst
0f8596ab3f mass replace "flip map -> forEach"
See `forEach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /forEach /g'
```
2019-08-05 14:03:38 +03:00
danbst
91bb646e98 Revert "mass replace "flip map -> foreach""
This reverts commit 3b0534310c.
2019-08-05 14:01:45 +03:00
danbst
3b0534310c mass replace "flip map -> foreach"
See `foreach`-introduction commit.
```
rg 'flip map ' --files-with-matches | xargs sed -i 's/flip map /foreach /g'
```
2019-07-14 13:46:10 +03:00
Rok Garbas
65781e204d
Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
Benjamin Esham
01f10d0163 weechat-matrix-bridge: mark package as broken as Darwin
All of the dependencies of this package are now available on Darwin, but
the package itself still fails to build on that platform.
2019-07-01 13:15:49 -04:00
Alyssa Ross
c25430086a irssi: 1.2.0 -> 1.2.1
CVE-2019-13045
2019-07-01 07:41:18 +00:00
Linus Heckemann
ab354b74c8
bip: fix build with gcc8 2019-06-17 07:06:08 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Maximilian Bosch
23bd9e7e3e
Merge pull request #62738 from geistesk/wee-slack-2.3
weechatScripts.wee-slack: 2.2.0 -> 2.3.0
2019-06-07 18:39:01 +02:00
Andreas Rammhold
153bfb4b4e
weechat: 2.4 -> 2.5
Changelog [1]:

  New features
    - core: use getopt to parse command line arguments
    - core: add option weechat.look.prefix_same_nick_middle
    - core: add option weechat.look.buffer_time_same
    - core: use seconds by default in /repeat interval, allow unit for the interval
    - core: allow text in addition to a command in command /repeat
    - core: add option "addreplace" in command /filter
    - api: return allocated string in hook_info callback and function info_get
    - api: replace argument "keep_eol" by "flags" in function string_split
    - api: add function command_options
    - api: add function string_match_list
    - irc: add bar items "irc_nick", "irc_host" and "irc_nick_host"
    - irc: add variable "host" in server structure
    - relay: add support of UNIX socket
    - relay: add option relay.weechat.commands
    - script: use SHA-512 instead of MD5 for script checksum
    - spell: rename aspell plugin to spell
    - trigger: add hooks "info" and "info_hashtable"
    - xfer: rename option xfer.network.speed_limit to xfer.network.speed_limit_send, add option xfer.network.speed_limit_recv

  Bug fixes
    - core: don’t execute command scheduled by /repeat and /wait if the buffer does not exist any more
    - core: set max length to 4096 for /secure passphrase
    - core: refilter only affected buffers on filter change
    - fset: fix slow refresh of fset buffer during /reload
    - irc: fix parsing of MODE command when there are colons after the first mode argument
    - irc: fix memory leak in infos "irc_server_isupport" and "irc_server_isupport_value"
    - irc: fix length of string for SHA-512, SHA-256 and SHA-1 in help on ssl_fingerprint option
    - irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer
    - irc: fix update of channels modes with arguments when joining a channel
    - irc: quote NICK command argument sent to the server
    - php: fix memory leak in functions string_eval_expression, string_eval_path_home, key_bind, hook_process_hashtable, hook_hsignal_send, info_get_hashtable, hdata_update
    - relay: fix crash when a weechat relay client reloads the relay plugin with /plugin reload relay
    - spell: fix detection of nick followed by the nick completer
    - trigger: fix split of hook arguments

  Tests
    - unit: add tests on function util_signal_search

  Build
    - core: fix value of libdir in file weechat.pc
    - core: fix generation of man page weechat-headless with autotools
    - core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
    - core: fix compilation on Mac OS
    - lua: add detection of Lua 5.3 with autotools
    - ruby: add detection of Ruby 2.6
    - tests: fix compilation of tests on FreeBSD

[1] https://weechat.org/files/changelog/ChangeLog-2.5.html#v2.5
2019-06-07 10:05:14 +02:00
geistesk
1420e7dea8 weechatScripts.wee-slack: 2.2.0 -> 2.3.0 2019-06-05 22:17:24 +02:00
Matthew Bauer
3e96aebf4e enchant: 1.6.1 -> 2.2.3
Moves default enchant to 2.2.3. Release url:

https://github.com/AbiWord/enchant/releases/tag/v2.0.0

Mostly need to verify no breakage occurs for packages using enchant.
2019-06-03 11:13:36 -04:00
Aaron Andersen
10ed05ec5c
Merge pull request #61976 from suhr/kvirc
kvirc: init at 5.0.0
2019-05-25 13:32:30 -04:00
Сухарик
8adf033984 kvirc: init at 5.0.0 2019-05-25 15:13:19 +03:00
Maximilian Bosch
822634681e
Merge pull request #59487 from Ma27/install-weechat-manpages
weechat: install all outputs into the final store path
2019-05-24 15:58:30 +02:00
Vladyslav M
6adda5c34c
weechatScripts.weechat-autosort: unstable-2018-01-11 -> 3.4 2019-04-22 11:06:02 +03:00
Eelco Dolstra
8ac7316db6 chatzilla: Remove
Chatzilla no longer works since Firefox 57 due to the removal of XUL.
2019-04-17 21:47:42 +02:00
Maximilian Bosch
681b1d8061
weechat: install all outputs into the final store path
Resolves #59300

Until now only `$out/bin/weechat` and `$out/bin/weechat-headless` were installed
into the store path that will be used when running i.e. `nix-env -iA weechat`.

Further outputs like icons (`$out/share/icons`), man pages (`$man`) or the HTML
documentation (`$out/share/doc/weechat`) are omitted at the moment. As
this can be fairly confusing I figured that it's better to copy those
files into the environment as well.

As `buildEnv` doesn't appear to support output splitting (you can only
install additional outputs of `paths` using `extraOutputsToInstall`),
it's easier for now to always install the `man` output by
default.

Man page installation can be turned off like this now:

```
weechat.override { installManPages = false; }
```
2019-04-14 17:52:58 +02:00
Ryan Mulligan
6e982c4c32
Merge pull request #56708 from r-ryantm/auto-update/irssi
irssi: 1.1.2 -> 1.2.0
2019-03-21 08:04:07 -07:00
R. RyanTM
6815e3c72e quassel: 0.13.0 -> 0.13.1 (#57475)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/quassel-kf5/versions
2019-03-15 20:37:39 +01:00
Jascha Geerds
ffedc3e4a9 misc: Remove myself from list of maintainers
Unfortunately I don't have the time anymore to maintain those
packages.
2019-03-12 23:50:52 +01:00
R. RyanTM
4c34b62713 irssi: 1.1.2 -> 1.2.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/irssi/versions
2019-03-02 07:48:01 -08:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Maximilian Bosch
bbf3381838
weechat: 2.3 -> 2.4
https://weechat.org/files/releasenotes/ReleaseNotes-devel.html#v2.4

Also applied a patch from the 2.5 branch in order to fix the darwin
build: https://github.com/weechat/weechat/issues/1308
2019-02-20 11:25:46 +01:00
Michael Raskin
8384cfe455
Merge pull request #55129 from oxij/tree/move-defaults-to-package-files
all-packages.nix: move defaults to package files
2019-02-13 20:04:08 +00:00
Pierre Bourdon
25c2d1cd3e
glowing-bear: init at 0.7.1 2019-02-03 19:39:59 +01:00
Jan Malakhovski
4f066da1de quassel: move defaults to package file 2019-02-03 15:30:44 +00:00
Matthew Bauer
a2b606f8e7 weechat: remove outputsToInstall from meta 2019-01-31 14:36:16 -05:00
Andreas Rammhold
41ee7073df
irssi: 1.1.1 -> 1.1.2
Fixes CVE-2019-5882 [1] and a few minor changes [2].

[1] https://irssi.org/security/html/irssi_sa_2019_01/
[2] https://irssi.org/2019/01/09/irssi-1.1.2-released/
2019-01-12 12:52:16 +01:00
Frederik Rietdijk
e5381cdece Merge master into staging-next 2019-01-06 09:36:23 +01:00
Michael Raskin
3b152247ea weechatScripts.weechat-matrix-bridge: 2018-05-29 -> 2018-11-19 (HTTP/2 support fix) 2019-01-05 13:21:30 +01:00
Frederik Rietdijk
070290bda7 Merge master into staging-next 2018-12-31 12:00:36 +01:00
Lars Jellema
38f828eb9c quassel: 0.12.5 -> 0.13.0, cleanup
In particular we move the src into the actual quassel derivation
instead of using a `source.nix`.

Also use `fetchFromGitHub` since using `fetchurl` for github archives
is problematic.
2018-12-30 15:46:15 -05:00
volth
fed7914539
Merge branch 'staging' into make-perl-pathd 2018-12-18 17:13:27 +00:00
volth
bb9557eb7c lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
Maximilian Bosch
05882c0a74 weechatScripts.weechat-autosort: init at unstable-2018-01-11 (#51729)
Helpful weechat script to automatically keep buffers sorted.

Can be activated like this:

``` nix
weechat.override {
  configure = { ... }: {
    scripts = [
      weechatScripts.weechat-autosort
    ];
  };
}
```
2018-12-08 16:45:18 +00:00
Alyssa Ross
6dc9347712
weechat: fix bad merge
Identified in 8887e1f697 (r239097413).

9504292b1e accidentally reverted all the
changes that had been made to the weechat wrapper since
8887e1f697.

I removed the wrapper, then wrote it again, but this time taking the
code from the latest version of weechat before the bad merge.
2018-12-05 15:21:19 +00:00
Linus Heckemann
9504292b1e Merge remote-tracking branch 'origin/master' into weechat-unwrapped 2018-12-05 12:12:42 +01:00
Franz Pletz
31bd0df53d
weechatScripts.wee-slack: 2.1.1 => 2.2.0 2018-11-16 00:45:07 +01:00
Maximilian Bosch
5d9add49a2
weechat: remove obsolete aggregate-commands patch
This was the rebased version of a patch which landed in WeeChat 2.3
which is now used on nixpkgs master (see 2702772d2d).
2018-11-08 15:47:38 +01:00
Alyssa Ross
2702772d2d
weechat: 2.2 -> 2.3
Fixes https://github.com/NixOS/nixpkgs/issues/48798.
2018-10-25 11:44:22 +00:00
Alyssa Ross
e20e1e5c2c weechat: add perl.withPackages (#48815)
Allows for adding Perl libraries in the same way as for Python. Doesn't
really need to be a function, since there's only one perlPackages in
nixpkgs, but I went for consistency with the python plugin.
2018-10-23 12:23:47 +02:00
adisbladis
230fd49738
weechat: Add version and meta to buildEnv package
Currently the output from `nix search` and similar tools are lacking
important meta data
2018-09-22 19:46:21 +08:00
Maximilian Bosch
61a9463498 weechatScripts.weechat-matrix-bridge: don't export `olm.lua' as script (#46582)
Loading olm.lua as weechat script with `/script load olm.lua' causes
errors like this:

```
/nix/store/43jbh7yxh8j4gjfzbvpd9clncah5dip1-weechat-matrix-bridge-2018-05-29/lib/ffi.so: undefined symbol: lua_tointeger
```

As `olm.lua' is loaded by `matrix.lua' it doesn't need to be included
manually by the weechat configuration.
2018-09-12 23:56:03 +02:00
Maximilian Bosch
e2b4644f9c
weechat: fix quoting for ${} syntax
In my previous PR I missed that ${sec.foobar} (syntax to retrieve
secrets in a weechat runtime) breaks the shell evaluation.

Furthermore `;` shall be used rather than `\n` to concat scripts and the
init config.
2018-09-07 18:41:04 +02:00
Maximilian Bosch
f5becfb5b0
weechatScripts.wee-slack: init at 2.1.1 2018-09-07 13:45:13 +02:00
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
Frederik Rietdijk
a04cf8fdb7 konversation: 1.7.4 -> 1.7.5 2018-08-26 12:18:28 +02:00
Pascal Wittmann
ff161dcd69
irssi: add license
see issue #43716
2018-08-06 13:06:06 +02:00
Alyssa Ross
8887e1f697
weechat: seperate weechat-unwrapped from wrapper
If I have a patch I want to apply to weechat, I can't do that with
overrideAttrs like I can with almost every other package, because that
only applies to the wrapper derivation. For other wrapped packages, one
can usually call the wrapper with any version of the derivation, but the
weechat derivation didn't expose a wrapper creation function.

Taking inspiration from other packages, particularly Firefox, I
extracted the wrapper into its own function, made the default weechat
derivation use that, and added weechat-unwrapped.

Now I can add my custom patch like this:

    (wrapWeechat
      (weechat-unwrapped.overrideAttrs (oldAttrs: {
        patches = [
          (fetchpatch {
            url = "55767f5f11.patch?full_index=1";
            sha256 = "1pkcdsby57diqds1y5hhl0fr4i8j0zax32jb0gqd36siki3lza3d";
          })
        ];
      }))
      { configure =
        { availablePlugins, ... }:
        {
          plugins = with availablePlugins; [
            (python.withPackages (packages: with packages; [ potr websocket_client ]))
          ];
        };
      })

There is a small backward incompatibility here: previously, it was
possible to get an unwrapped weechat like this:

    weechat.override { configure = null; }

This didn't seem too important to keep around since it was also possible
to get an unwrapped weechat in a much more obvious way:

    weechat.unwrapped

I could probably make it so that the first way still worked, if that
behavior turns out to really have been important.
2018-07-25 17:49:00 +01:00
Jörg Thalheim
218298b30f
Merge branch 'master' into unused5 2018-07-21 15:41:22 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00