diff options
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/pidgin.nix | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/overlays/pidgin.nix b/overlays/pidgin.nix index 3c9fb93c..4c315f55 100644 --- a/overlays/pidgin.nix +++ b/overlays/pidgin.nix | |||
@@ -26,9 +26,30 @@ let | |||
26 | ''; | 26 | ''; |
27 | }; | 27 | }; |
28 | in { | 28 | in { |
29 | pidgin-rocketchat = let | ||
30 | rev = "5c08ad0eacd39914d27b692d7eb42a94a991fb4c"; | ||
31 | in prev.stdenv.mkDerivation { | ||
32 | pname = "pidgin-rocketchat"; | ||
33 | version = builtins.substring 0 8 rev; | ||
34 | |||
35 | src = prev.fetchFromGitHub { | ||
36 | owner = "EionRobb"; | ||
37 | repo = "purple-rocketchat"; | ||
38 | inherit rev; | ||
39 | hash = "sha256-UBIp5tpj4Xfo+mPhY51+rzs+ojKr90zWK+XLiK7XvWM="; | ||
40 | }; | ||
41 | |||
42 | nativeBuildInputs = with final; [ pidgin json-glib glib discount ]; | ||
43 | |||
44 | installFlags = [ | ||
45 | "ROCKETCHAT_DEST=$(out)/lib/purple-2" | ||
46 | "ROCKETCHAT_ICONS_DEST=$(out)/share/pixmaps/pidgin/protocols" | ||
47 | ]; | ||
48 | }; | ||
49 | |||
29 | pidgin-with-plugins = pidginWrapper { | 50 | pidgin-with-plugins = pidginWrapper { |
30 | inherit (prev) makeWrapper symlinkJoin; | 51 | inherit (prev) makeWrapper symlinkJoin; |
31 | plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts ]; | 52 | plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts pidgin-rocketchat ]; |
32 | pidgin = prev.pidgin.overrideAttrs (oldAttrs: { | 53 | pidgin = prev.pidgin.overrideAttrs (oldAttrs: { |
33 | patches = (oldAttrs.patches or []) ++ [mucHistory]; | 54 | patches = (oldAttrs.patches or []) ++ [mucHistory]; |
34 | }); | 55 | }); |