From patchwork Sun Mar 19 23:51:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 48203 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B519816F32; Sun, 19 Mar 2023 23:52:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0D3DE16F2A for ; Sun, 19 Mar 2023 23:52:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pe2on-0001wZ-CI; Sun, 19 Mar 2023 19:52:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pe2ok-0001vW-3a for guix-patches@gnu.org; Sun, 19 Mar 2023 19:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pe2oj-0006bK-RZ for guix-patches@gnu.org; Sun, 19 Mar 2023 19:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pe2oj-0008JB-Me for guix-patches@gnu.org; Sun, 19 Mar 2023 19:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62284] [PATCH 67/70] gnu: Add go-maunium-net-go-mautrix. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Mar 2023 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62284 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62284@debbugs.gnu.org Received: via spool by 62284-submit@debbugs.gnu.org id=B62284.167926987031851 (code B ref 62284); Sun, 19 Mar 2023 23:52:01 +0000 Received: (at 62284) by debbugs.gnu.org; 19 Mar 2023 23:51:10 +0000 Received: from localhost ([127.0.0.1]:53274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pe2nu-0008He-5g for submit@debbugs.gnu.org; Sun, 19 Mar 2023 19:51:10 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:50259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pe2ns-0008Gq-G8 for 62284@debbugs.gnu.org; Sun, 19 Mar 2023 19:51:09 -0400 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id D50A4E0004 for <62284@debbugs.gnu.org>; Sun, 19 Mar 2023 23:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1679269863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=T6d++riO3w1bfO06TxYHqmWnK2xWplGZlo58BVsSmZ0=; b=kb78RUJ9yM61TDYuTGKPIqadPS7iqh0JLvij7NXHtPN3G4aB4NZNEuNZ+7CPZLT76FtOnN 38hCOsYIG3ze/JAzIkfh2RKwRmcUws2fUqvjleCYqollGsRNkGz5GdVs4+xZkFBpgkzfnx rsrMhfSNFInMoxoDm9OX3uZE2i0LFznJEncUDcHpJrmf8lZnh4+xzKgLlz9l/wY8iff0rc qTg3YnotFQ/eKWR3nVnhJShbOHxpeuH1J7+kDPSPbzqY2HuAqY+BARSYrB1jQwfOul+X5w ZbMzC1GbzbinlgzTAkHNbfZvB27eqCRYRfYl8CYOBRNr1rS2yXgwWJYT7tzkvQ== From: conses In-Reply-To: References: Message-Id: <8ea9cd119930c1f673521e9763eb957f609eda92.1679268196.git.contact@conses.eu> Date: Mon, 20 Mar 2023 00:51:02 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")