GNU bug report logs - #62284
[PATCH 00/70] gnu: Add mautrix-whatsapp.

Previous Next

Package: guix-patches;

Reported by: conses <contact <at> conses.eu>

Date: Sun, 19 Mar 2023 23:26:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: conses <contact <at> conses.eu>
To: 62284 <at> debbugs.gnu.org
Subject: [bug#62284] [PATCH 67/70] gnu: Add go-maunium-net-go-mautrix.
Date: Mon, 20 Mar 2023 00:51:02 +0100
* gnu/packages/matrix.scm (go-maunium-net-go-mautrix): New variable.
---
 gnu/packages/matrix.scm | 48 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 2ed7a9a782..4d5be03265 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -27,6 +27,7 @@ (define-module (gnu packages matrix)
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages monitoring)
   #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-check)
@@ -35,11 +36,58 @@ (define-module (gnu packages matrix)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages xml)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system go)
   #:use-module (guix download)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages))
 
+(define-public go-maunium-net-go-mautrix
+  (package
+    (name "go-maunium-net-go-mautrix")
+    (version "0.15.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/mautrix/go")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0n71zaiir9kcrh5wkyx2h12lkr6h9srlfh3ikdzvjcw9rq2nc7dq"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:go go-1.19
+      #:import-path "maunium.net/go/mautrix"))
+    (propagated-inputs
+     (list
+      go-github-com-gorilla-mux
+      go-github-com-lib-pq
+      go-github-com-rs-zerolog
+      go-github-com-stretchr-testify
+      go-github-com-tidwall-gjson
+      go-github-com-tidwall-sjson
+      go-github-com-yuin-goldmark
+      go-golang-org-x-crypto
+      go-golang-org-x-net
+      go-mau-fi-zeroconfig
+      go-maunium-net-go-mauflag
+      go-maunium-net-go-maulogger))
+    (home-page "https://github.com/mautrix/go")
+    (synopsis "A Golang Matrix framework")
+    (description "A Golang Matrix framework.  In addition to the basic
+client API features the original project has, this framework also has:
+@itemize
+@item Appservice support (Intent API like mautrix-python, room state
+storage, etc)
+@item End-to-end encryption support (incl. interactive SAS verification)
+@item Structs for parsing event content
+@item Helpers for parsing and generating Matrix HTML
+@item Helpers for handling push rules
+@end itemize")
+    (license license:mpl2.0)))
+
 (define-public python-matrix-client
   (package
     (name "python-matrix-client")
-- 
2.39.1



-- 
Best regards,
conses




This bug report was last modified 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.