Commit Graph

46 Commits

Author SHA1 Message Date
Robert Gerus
ac93a00745 weechatScripts.weechat-matrix: fix matrix_sso_helper path
server.py tries to launch a matrix_sso_helper binary when connecting to
a homeserver that uses some SSO mechanism instead of plain login and
password, but doesn't have $out/bin in $PATH.

Using substituteInPlace to patch server.py so that the helper process is
started by using its actual filesystem location instead of relying on
$PATH.

Fixes: https://github.com/NixOS/nixpkgs/issues/124186
(cherry picked from commit f7ccc5f35d0e1fe11a7e01e3dddd1ff28566ba1d)
2021-06-13 11:29:58 +02:00
Martin Weinelt
9bbf2ec131 weechatScripts.wee-slack: 2.7.0 -> 2.8.0
https://github.com/wee-slack/wee-slack/releases/tag/v2.8.0
(cherry picked from commit d7de7087fcc62b0c571825d5aa3d096c277c1d41)
2021-05-31 14:21:13 +00:00
Sandro
86da493497 Merge pull request #112883 from alyssais/weechat-matrix
weechatScripts.weechat-matrix: make patchable
2021-04-19 05:07:27 +02:00
kat witch
564f428747 weechat-notify-send: fixed meta.homepage mispelling 2021-03-24 00:43:06 +00:00
Jörg Thalheim
c3ea33e72b weechatScripts.wee-slack: 2.6.0 -> 2.7.0 2021-02-24 18:04:36 +01:00
Alvar Penning
997e0a8863 weechatScripts.multiline: init at 0.6.3 2021-02-17 18:30:25 +01:00
Alyssa Ross
dee2a85af8 weechatScripts.weechat-matrix: make patchable
If an overlay adds patches, they wouldn't be applied because we were
copying from directory out of src.
2021-02-11 12:18:28 +00:00
Alyssa Ross
cfa16434c2 weechatScripts.weechat-matrix: fix PYTHONPATH
matrix.py tries to import its dependencies, and its own code from
$out/${python.sitePackages}, and neither of these worked because
nothing was telling Python where to load that stuff from.

Using patchPythonScript made it so matrix.py could find its
dependencies, but it still wasn't able to find its own code, so that
had to be added to program_PYTHONPATH beforehand so patchPythonScript
would include it as well.

Fixes: https://github.com/NixOS/nixpkgs/issues/89499
2021-02-02 17:13:53 +00:00
Pavol Rusnak
a6ce00c50c treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Alyssa Ross
87ee41b762 weechatScripts.colorize_nicks: init at 27 2020-12-09 21:05:48 +00:00
Ryan Mulligan
24751380fe Merge pull request #87640 from emilazy/weechat-matrix-0.2.0
weechat-matrix: 0.1.0 -> 0.2.0
2020-11-23 20:32:13 -08:00
Lassulus
c79d88f178 Merge pull request #82814 from tobim/init/weechat-notify-send
weechat-notify-send: init at 0.9
2020-08-24 13:16:35 +02:00
Tobias Mayer
db2a2cb01a weechat-notify-send: init at 0.9 2020-08-16 21:11:55 +02:00
Alvar Penning
0a53c6b565 maintainers: rename geistesk to oxzi
For reasons I have renamed my GitHub account and would like to include
this name change here.
2020-08-15 16:03:46 +02:00
Maximilian Bosch
309bcc4d09 weechat*: remove myself as maintainer
I don't use this anymore, so I don't bring any value here.
2020-07-20 21:47:10 +02:00
Jörg Thalheim
9e780d7a2e weechatScripts.weechat-otr: fix pycrypto build 2020-07-06 21:09:15 +01:00
Emily
50a487d8fe weechat-matrix: 0.1.0 -> 0.2.0 2020-05-12 02:51:08 +01:00
Jörg Thalheim
ddd2b694a7 weechatScripts.wee-slack: 2.5.0 -> 2.6.0 2020-05-09 12:35:31 +01:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Tony Olagbaiye
810909de3e python3Packages.weechat-matrix: unstable-2020-01-21 -> 0.1.0 2020-04-02 16:18:12 +00:00
Benjamin Esham
a2d9581ac8 weechatScripts.wee-slack: 2.4.0 -> 2.5.0
wee-slack now (optionally) depends on a data file called weemoji.json
that allows it to translate between Slack emoji names (like
"slight_smile") and Unicode codepoints. For convenience, the derivation
now installs this file and patches the script so that the user doesn't
need to do any extra configuration to use it.
2020-03-25 20:08:26 -07:00
Maximilian Bosch
b7cdb64ac2 treewide: remove myself from a few packages I don't use anymore 2020-03-11 22:29:30 +01:00
Yegor Timoshenko
41909e8017 Merge pull request #80763 from emilazy/update-weechat-autosort
weechatScripts.weechat-autosort: 3.4 -> 3.8
2020-02-24 19:18:53 +03:00
Emily
2cb5084088 weechatScripts.weechat-autosort: 3.4 -> 3.8 2020-02-22 00:29:20 +00:00
Benno Fünfstück
41944946de weechatScripts.weechat-matrix: enable on darwin 2020-02-21 12:40:55 +01:00
Emily
6957e476f4 weechatScripts.weechat-matrix: unstable-2019-11-10 -> unstable-2020-01-21 2020-02-10 19:57:23 +01:00
Benjamin Esham
a0234e0a24 weechatScripts.wee-slack: 2.3.0 -> 2.4.0 2020-02-02 08:59:35 -08:00
tilpner
8150b587bd weechatScripts.weechat-matrix: init at unstable-2019-11-10 2019-11-16 23:06:50 -08: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
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
geistesk
d81e7bdf45 weechatScripts.weechat-otr: init at 1.9.2 2019-09-02 11:28:58 +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
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
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
geistesk
1420e7dea8 weechatScripts.wee-slack: 2.2.0 -> 2.3.0 2019-06-05 22:17:24 +02:00
Vladyslav M
6adda5c34c weechatScripts.weechat-autosort: unstable-2018-01-11 -> 3.4 2019-04-22 11:06:02 +03: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
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
Franz Pletz
31bd0df53d weechatScripts.wee-slack: 2.1.1 => 2.2.0 2018-11-16 00:45:07 +01: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
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