From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oAAuGGfraGHzFAEAgWs5BA (envelope-from ) for ; Fri, 15 Oct 2021 04:45:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4E3rE2fraGGjEQAA1q6Kng (envelope-from ) for ; Fri, 15 Oct 2021 02:45:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F021132CF7 for ; Fri, 15 Oct 2021 04:45:58 +0200 (CEST) Received: from localhost ([::1]:33596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbDEM-00065O-3m for larch@yhetil.org; Thu, 14 Oct 2021 22:45:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbDDU-0005Rm-4K for guix-patches@gnu.org; Thu, 14 Oct 2021 22:45:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbDDT-0003bg-S2 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-0007LF-QL for guix-patches@gnu.org; Thu, 14 Oct 2021 22:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51222] [PATCH 22/25] gnu: Add python-pantalaimon. 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:03 +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.163426590028159 (code B ref 51222); Fri, 15 Oct 2021 02:45:03 +0000 Received: (at 51222) by debbugs.gnu.org; 15 Oct 2021 02:45:00 +0000 Received: from localhost ([127.0.0.1]:37597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDDP-0007K6-TE for submit@debbugs.gnu.org; Thu, 14 Oct 2021 22:45:00 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:42098 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbDDO-0007Jq-1w for 51222@debbugs.gnu.org; Thu, 14 Oct 2021 22:44:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1634265701; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kGxTByh9ww7QiDRZh1tii387h7p4xZ3Pn2yYTjg7u74=; b=Fe+8aYTaEEmWEljUUtC94wXZ14lJttdJ0gv02T5ILoc5MNONJG/w94gsC8yqk96vSTffp2 cEWxZNlFwD3aFIehaTYzOgo0sfjkAjwB2s4bbJctD8nrGn5Zv3MOuUPxl924I+2KKYvdTl IClO2lol2vAznl6avAfi4shkVgpFS+8= From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Fri, 15 Oct 2021 11:40:33 +0900 Message-Id: <20211015024036.53831-22-sl@eauchat.org> In-Reply-To: <20211015024036.53831-1-sl@eauchat.org> References: <20211015024036.53831-1-sl@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634265959; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kGxTByh9ww7QiDRZh1tii387h7p4xZ3Pn2yYTjg7u74=; b=UEkOGDByCeODaDCpXgP0MgkTNjltlm52FgqgUotYO2UUV92occn0wk3Ug1Qy/AzTUL6aeg fsddKedxfFPUNy+egQbDVFKb4+3Nc/4uuid5CBRfooLEGmFeGAq9xJgGlJn3j/f/xHdrT3 5iMEfbfVVV/dq+8Gis4PLF8q5qfqWWZxfDCz08qRkbnLCDDrRJeBl0CSHzU0xdb6GlC4PD sv+lPqvvksdMvrZyUsTPnJEvdZO4Gu0dl4r/B2Sc4UG7YQe1JvfT8r7JDuXqVSX2oYAcP7 uhOW6uxK8SuGw0QWuGVBn7RV0jZ4GSUPrdz2PnlmPey33eQXNYerPPdyCjKBbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634265959; a=rsa-sha256; cv=none; b=feuspTi0q4IpsRotTPlCQNQKRRFofqf7K7ZDoz3UN1BaGMTEbbwj7zo8pnl3ICZi0fqdPF s25zJU1NamjllBFMvKdPmELzT/TYjPKcKekuseqlWNI8TQ1z7aj32XqF3VpABk583nrHmQ tU4f7kJZ8Hpvl7U1/T7KDbSNQQwSDuPd80+E9mw9LrhVf9pvTqfO3aJrXftqLimFzwAi2d JI/LepX+IDnIjsGO07RiCodUW8C4Iy5wChVk+PSDeCl40/gTAZFGjuASYcW6neyqFYfRgx MoiyY4pa+QMfW2iywjovhoRlF1N+IrTEcrYAaaaHjYg77flO01lyV2TvutDcDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=Fe+8aYTa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=Fe+8aYTa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: F021132CF7 X-Spam-Score: -0.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: 87xN9r7mKd3E * gnu/packages/python-xyz.scm (python-pantalaimon): New variable. --- gnu/packages/python-xyz.scm | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 453d54a085..256aed9068 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -447,6 +447,62 @@ library’s logging module. It was designed with both complex and simple applications in mind and the idea to make logging fun.") (license license:bsd-3))) +(define-public python-pantalaimon + (package + (name "python-pantalaimon") + (version "0.10.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/matrix-org/pantalaimon") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "153d8083lj3qqirbv5q1d3igzd61a5kyzfk7xmv29sd3jbs8ysm9")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'downgrade-appdirs-requirement + (lambda _ + (substitute* "setup.py" + ;; FIXME: Remove this once appdirs is updated. + ;; Upgrading python-appdirs requires rebuilting 3000+ packages, + ;; when 1.4.4 is a simple maintenance fix from 1.4.3. + (("appdirs >= 1.4.4") "appdirs >= 1.4.3")))) + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "tests"))))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-faker" ,python-faker) + ("python-pytest-aiohttp" ,python-pytest-aiohttp) + ("python-aioresponses" ,python-aioresponses))) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-appdirs" ,python-appdirs) + ("python-attrs" ,python-attrs) + ("python-cachetools" ,python-cachetools) + ("python-click" ,python-click) + ("python-janus" ,python-janus) + ("python-keyring" ,python-keyring) + ("python-logbook" ,python-logbook) + ("python-matrix-nio" ,python-matrix-nio) + ("python-peewee" ,python-peewee) + ("python-prompt-toolkit" ,python-prompt-toolkit))) + (home-page "https://github.com/matrix-org/pantalaimon") + (synopsis "Matrix proxy daemon that adds E2E encryption capabilities") + (description + "Pantalaimon is an end-to-end encryption aware Matrix reverse proxy +daemon. Pantalaimon acts as a good man in the middle that handles the +encryption for you. Messages are transparently encrypted and decrypted for +clients inside of pantalaimon.") + (license license:asl2.0))) + (define-public python-ueberzug (package (name "python-ueberzug") -- 2.33.0