summaryrefslogtreecommitdiff
path: root/overlays/pidgin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/pidgin.nix')
-rw-r--r--overlays/pidgin.nix20
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 @@
1final: prev:
2prev.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