From 3c401ca6df385b737363e5caea7396d3aa55863f Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 4 Jun 2021 18:11:41 +0200 Subject: gnu: Add matterbridge. * gnu/packages/messaging.scm (matterbridge): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/messaging.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 96cbf95fe9..1713aa7ceb 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2020 Raghav Gururajan ;;; Copyright © 2020, 2021 Robert Karszniewicz ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -123,6 +124,7 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) + #:use-module (guix build-system go) #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -2967,4 +2969,31 @@ designed for experienced users.") (description "This package contains Zulip's official terminal client.") (license license:asl2.0))) +(define-public matterbridge + (package + (name "matterbridge") + (version "1.22.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/42wim/matterbridge") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07rgdc4v043fhzsalmlhickqizk6xjlpjkzn6l5v9ryp5gmv580z")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/42wim/matterbridge" + #:unpack-path "github.com/42wim/matterbridge")) + (synopsis "Bridge together various messaging networks and protocols") + (description "Relays messages between different channels from various +messaging networks and protocols. So far it supports mattermost, IRC, gitter, +xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, +keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST +API. Mattermost is not required.") + (home-page "https://github.com/42wim/matterbridge") + (license license:asl2.0))) + ;;; messaging.scm ends here -- cgit 1.4.1