diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-20 22:53:40 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-20 22:53:40 +0100 |
commit | 7b76723a6c33b50fffa6972b384169f11da217bd (patch) | |
tree | 37d2715af088e232a0c804594f6eab511c8772eb /overlays/pidgin.nix | |
parent | c923294b84cdd22bc171337335735cd564f9a03c (diff) | |
download | nixos-7b76723a6c33b50fffa6972b384169f11da217bd.tar nixos-7b76723a6c33b50fffa6972b384169f11da217bd.tar.gz nixos-7b76723a6c33b50fffa6972b384169f11da217bd.tar.bz2 nixos-7b76723a6c33b50fffa6972b384169f11da217bd.tar.xz nixos-7b76723a6c33b50fffa6972b384169f11da217bd.zip |
gkleen@sif: ...
Diffstat (limited to 'overlays/pidgin.nix')
-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 | }); |