diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 00:55:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 16:21:34 +0100 |
commit | 4a3d2a8ddaf4e546df360656bc54b2947bdb890b (patch) | |
tree | f571511e0b74fbd7e78f7e10966a8d6d5d400241 /overlays/pidgin.nix | |
parent | 3b5ab82fa714a0d483a7b90d60f9f7c857646e33 (diff) | |
download | nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.gz nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.bz2 nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.tar.xz nixos-4a3d2a8ddaf4e546df360656bc54b2947bdb890b.zip |
gkleen@sif: import
Diffstat (limited to 'overlays/pidgin.nix')
-rw-r--r-- | overlays/pidgin.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/overlays/pidgin.nix b/overlays/pidgin.nix new file mode 100644 index 00000000..09103ade --- /dev/null +++ b/overlays/pidgin.nix | |||
@@ -0,0 +1,20 @@ | |||
1 | final: prev: | ||
2 | prev.lib.composeManyExtensions [ | ||
3 | (final: prev: | ||
4 | let | ||
5 | mucHistory = prev.fetchpatch { | ||
6 | url = "https://developer.pidgin.im/raw-attachment/ticket/16524/0001-only-request-unseed-chat-history-from-jabber-group-c.patch"; | ||
7 | sha256 = "083wvmq7417xz55fxxhllqwql1hgjvin2sak08844121yw1jvc44"; | ||
8 | }; | ||
9 | in { | ||
10 | pidgin = prev.pidgin.overrideAttrs (oldAttrs: { | ||
11 | patches = (oldAttrs.patches or []) ++ [mucHistory]; | ||
12 | }); | ||
13 | }) | ||
14 | (final: prev: { | ||
15 | pidgin-with-plugins = import (/. + prev.path + "/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix") { | ||
16 | inherit (prev) makeWrapper symlinkJoin pidgin; | ||
17 | plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts ]; | ||
18 | }; | ||
19 | }) | ||
20 | ] final prev | ||