summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergio Pastor Pérez <sergio.pastor-perez@inria.fr>2026-03-10 16:21:26 +0100
committerLudovic Courtès <ludo@gnu.org>2026-07-25 01:30:26 +0200
commitb0231ab7ee89c1dd1e4024d2ececd825cb68e20d (patch)
treee8cbb40b35c05aa0f794972c2cf3cf50fc2df6a8 /doc
parentb0d7a62276777b913331ea056bef5ad5ba1e0496 (diff)
services: Add `zulip-irc-bridge-service-type'.
* gnu/services/messaging.scm: (zulip-irc-bridge-configuration): New configuration record. (%zulip-accounts): New variable. (zulip-irc-bridge-services): New procedure. (zulip-irc-bridge-service-type): New service. * doc/guix.texi (Messaging Services): Document `zulip-irc-bridge-service-type' and `zulip-irc-bridge-configuration'. Change-Id: Ie74aa71f2912ccd905c0866ede9ead7b397f7c64 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Modified-by: Ludovic Courtès <ludo@gnu.org> Merges: #7047
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi69
1 files changed, 69 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d59a710e567..0db590aa5f7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -33087,6 +33087,75 @@ strings, see
33087 33087
33088@end deftp 33088@end deftp
33089 33089
33090@subsubheading Zulip IRC bridge Service
33091
33092@cindex IRC, bridge to Zulip
33093@cindex Zulip, bridge to IRC
33094@url{https://zulip.com/integrations/irc, Zulip IRC integration} is a
33095Zulip extension to bridge @acronym{IRC, Internet Relay Chat} room to a
33096stream in the Zulip messaging system.
33097
33098@defvar zulip-irc-bridge-service-type
33099This is the service type for the Zulip IRC bridge. Its value is a
33100@code{zulip-irc-bridge-configuration} configuration instance, which is
33101documented below.
33102
33103The following example configures a Zulip integration to bridge an IRC
33104room to a Zulip stream.
33105
33106@lisp
33107(operating-system
33108
33109 ;; @dots{}
33110
33111 (services
33112 (list @dots{}
33113 (service zulip-irc-bridge-service-type
33114 (zulip-irc-bridge-configuration
33115 (irc-server "irc.example.chat")
33116 (channel "#example")
33117 (nick-prefix "irc_mirror")
33118 (stream "test here")
33119 (site "https://example.zulipchat.com")
33120 (user "irc-bot@@example.zulipchat.com")
33121 (api-key "cabba9ecabba9ecabba9ecabba9ecabb"))))))
33122@end lisp
33123
33124@end defvar
33125
33126@c %end of fragment
33127
33128@deftp {Data Type} zulip-irc-bridge-configuration
33129Available @code{zulip-irc-bridge-configuration} fields are:
33130
33131@table @asis
33132@item @code{irc-mirror} (default: @code{(file-append python-zulip "/share/zulip/integrations/bridge_with_irc/irc-mirror.py")}) (type: file-like)
33133Path to IRC mirror integration to use for the service.
33134
33135@item @code{irc-server} (type: string)
33136The IRC server where to search the room to mirror.
33137
33138@item @code{channel} (type: string)
33139The Zulip where to store the topic where IRC will be mirrored.
33140
33141@item @code{nick-prefix} (type: string)
33142Bot nickname.
33143
33144@item @code{stream} (type: string)
33145The Zulip stream/topic where the mirroring takes place.
33146
33147@item @code{site} (type: string)
33148The Zulip server that the IRC bridge integration should operate on.
33149
33150@item @code{user} (type: string)
33151The Zulip bot email that the IRC integration service should use.
33152
33153@item @code{api-key} (type: string)
33154The API key of the Zulip bot that will send the mirrored messages.
33155
33156@end table
33157
33158@end deftp
33090 33159
33091@c %end of fragment 33160@c %end of fragment
33092 33161