summaryrefslogtreecommitdiff
path: root/overlays/pidgin.nix
blob: 09103ade2cfb45f81a2a3f0567a2852a96941e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
final: prev:
prev.lib.composeManyExtensions [
  (final: prev:
    let
      mucHistory = prev.fetchpatch {
        url = "https://developer.pidgin.im/raw-attachment/ticket/16524/0001-only-request-unseed-chat-history-from-jabber-group-c.patch";
        sha256 = "083wvmq7417xz55fxxhllqwql1hgjvin2sak08844121yw1jvc44";
      };
    in {
      pidgin = prev.pidgin.overrideAttrs (oldAttrs: {
        patches = (oldAttrs.patches or []) ++ [mucHistory];
      });
    })
  (final: prev: {
    pidgin-with-plugins = import (/. + prev.path + "/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix") {
      inherit (prev) makeWrapper symlinkJoin pidgin;
      plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts ];
    };
  })
] final prev