From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QHBZIzxWLV8ILQAA0tVLHw (envelope-from ) for ; Fri, 07 Aug 2020 13:25:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wGJUHzxWLV/hHQAA1q6Kng (envelope-from ) for ; Fri, 07 Aug 2020 13:25:16 +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 3E6899403CB for ; Fri, 7 Aug 2020 13:25:16 +0000 (UTC) Received: from localhost ([::1]:55730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k42N1-0000wd-6a for larch@yhetil.org; Fri, 07 Aug 2020 09:25:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42Mp-0000ig-GZ for guix-patches@gnu.org; Fri, 07 Aug 2020 09:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k42Mp-0005ka-7g for guix-patches@gnu.org; Fri, 07 Aug 2020 09:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k42Mp-00048B-50 for guix-patches@gnu.org; Fri, 07 Aug 2020 09:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42742] [PATCH 2/4] gnu: Add python-trustme. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Aug 2020 13:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42742 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42742@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159680668515806 (code B ref -1); Fri, 07 Aug 2020 13:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2020 13:24:45 +0000 Received: from localhost ([127.0.0.1]:56185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42MX-00046r-Cn for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:57676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42MU-00046c-BA for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42MU-0000er-46 for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42MS-0005jG-Ap for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:41 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 036572400FE for ; Fri, 7 Aug 2020 15:24:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596806679; bh=uf9Xqg5XYoryg8czdbFPBTcoeUs2SubHQe/5/L3BxmM=; h=From:To:Cc:Subject:Date:From; b=XbYq1SQ4DrRaIyNYRpzA6Ji5+JkOrZxatimeCVG1dpRxIugWZD2+0pNePWBoil+Zf SNXawAwp0uYKqBiRCBBjEud628+Ia7rMpOjQ1dKKk7fW7RXub4Koaj11o3e3jG+LGt Ko7J68ePcGtysa0wefZjfLNfq7eILMk4wKuKCmGUMcAKSPwiTOEn6qWOSCN8uaux2D fOECeBU8CIPA95wmk2NvWZeCAHMlgqhYL2y9bBjUNvz2zUKv35yy+tM3PXGGq2tXKi fDdHQq8WWvfLCLprnFJTyPkkLRzLccJXgd9GUUNJpJPc/QbO5nsMBJy3ICMPdtjY/E BgSfKNhMuF6iA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BNR0j53mHz6tmD; Fri, 7 Aug 2020 15:24:37 +0200 (CEST) From: Vinicius Monego Date: Fri, 7 Aug 2020 10:24:14 -0300 Message-Id: <20200807132416.49309-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200807132416.49309-1-monego@posteo.net> References: <20200807132416.49309-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/07 09:02:24 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=XbYq1SQ4; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Spam-Score: 1.09 X-TUID: 1+YXlGr4ylGH * gnu/packages/python-crypto.scm (python-trustme): New variable. --- gnu/packages/python-crypto.scm | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index ecf82f2078..f3349b505d 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2019 Clément Lassieur ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Justus Winter +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -54,6 +55,7 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-check) + #:use-module (gnu packages python-compression) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages time) @@ -1347,7 +1349,42 @@ items and collections, editing items, locking and unlocking collections (asynchronous unlocking is also supported).") (license license:bsd-3))) +(define-public python-trustme + (package + (name "python-trustme") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trustme" version)) + (sha256 + (base32 "0v3vr5z6apnfmklf07m45kv5kaqvm6hxrkaqywch57bjd2siiywx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-more-itertools" ,python-more-itertools) + ("python-pyopenssl" ,python-pyopenssl) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-service-identity" ,python-service-identity) + ("python-zipp" ,python-zipp))) + (propagated-inputs + `(("python-cryptography" ,python-cryptography))) + (home-page "https://github.com/python-trio/trustme") + (synopsis "Fake a certificate authority for tests") + (description + "@code{trustme} is a tiny Python package that does one thing: it gives you +a fake certificate authority (CA) that you can use to generate fake TLS certs to +use in your tests.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-jeepney (package (name "python-jeepney") -- 2.20.1