From patchwork Fri Oct 15 02:40:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Lerique?= X-Patchwork-Id: 33874 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 D977527BBE3; Fri, 15 Oct 2021 03:45:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9796E27BBE1 for ; Fri, 15 Oct 2021 03:45:46 +0100 (BST) Received: from localhost ([::1]:32786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbDE7-0005Sz-R4 for patchwork@mira.cbaines.net; Thu, 14 Oct 2021 22:45:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbDDT-0005RR-8P for guix-patches@gnu.org; Thu, 14 Oct 2021 22:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbDDT-0003bT-1i for guix-patches@gnu.org; Thu, 14 Oct 2021 22:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbDDT-0007Kz-0C for guix-patches@gnu.org; Thu, 14 Oct 2021 22:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51222] [PATCH 20/25] gnu: Add python-olm. Resent-From: =?utf-8?q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 15 Oct 2021 02:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51222 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51222@debbugs.gnu.org Cc: =?utf-8?q?S=C3=A9bastien?= Lerique Received: via spool by 51222-submit@debbugs.gnu.org id=B51222.163426587828108 (code B ref 51222); Fri, 15 Oct 2021 02:45:02 +0000 Received: (at 51222) by debbugs.gnu.org; 15 Oct 2021 02:44:38 +0000 Received: from localhost ([127.0.0.1]:37591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDD4-0007JI-9G for submit@debbugs.gnu.org; Thu, 14 Oct 2021 22:44:38 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:42038 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDD2-0007J6-FW for 51222@debbugs.gnu.org; Thu, 14 Oct 2021 22:44:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1634265697; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=55LJMPEH76zUW8yhDzkvtsIY382znwiKsv5lepsF/XI=; b=aSCQQXgBeVJwQxcq7nPeiiFZ4qdvTAPhblghifZqqgSnYPOJkWqKN7mV27vRIMQVNn2SAa 18W7rfvsu+tdN2UI9L4pX/Q0Jyexzx+Lwn6l09VTcBU6492LpTyGKgfWpNoMeaNKJs9ibH QjkRYFmUR8H79hGPlNYGEzZJf6w6mX0= From: =?utf-8?q?S=C3=A9bastien?= Lerique Date: Fri, 15 Oct 2021 11:40:31 +0900 Message-Id: <20211015024036.53831-20-sl@eauchat.org> In-Reply-To: <20211015024036.53831-1-sl@eauchat.org> References: <20211015024036.53831-1-sl@eauchat.org> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-olm): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b5c40692db..f090eb2b5a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -229,6 +229,31 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-olm + (package + (name "python-olm") + (version "3.1.3") + (source + ;; Note: at the time of writing, the upstream version is 3.2.6, so it + ;; may be worth using the subfolder of the upstream git repository + ;; instead of PyPi. + (origin + (method url-fetch) + (uri (pypi-uri "python-olm" version)) + (sha256 + (base32 "0wg8zr1gbba8396pf3hsxmv2ysmkql9qpwg3i267hxrprqrn2v4s")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cffi" ,python-cffi) + ("python-future" ,python-future))) + (inputs + `(("libolm" ,libolm))) + (home-page "https://gitlab.matrix.org/matrix-org/olm") + (synopsis "Python CFFI bindings for the olm cryptographic ratchet library") + (description + "Python CFFI bindings for the olm cryptographic ratchet library.") + (license license:asl2.0))) + (define-public python-aioresponses (package (name "python-aioresponses")