From patchwork Thu Nov 22 09:49:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nam Nguyen X-Patchwork-Id: 272 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 7A12516842; Thu, 22 Nov 2018 13:41:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 31B651683F for ; Thu, 22 Nov 2018 13:41:09 +0000 (GMT) Received: from localhost ([::1]:46640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPpEC-00021l-Ch for patchwork@mira.cbaines.net; Thu, 22 Nov 2018 08:41:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPlrM-0007yk-Q1 for guix-patches@gnu.org; Thu, 22 Nov 2018 05:05:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPlcZ-00074a-OG for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPlcZ-00073y-Kq for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gPlcZ-0006Zt-Gp for guix-patches@gnu.org; Thu, 22 Nov 2018 04:50:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#30159] [PATCH] gnu: Add python-service-identity. Resent-From: Nam Nguyen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 22 Nov 2018 09:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30159 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 30159@debbugs.gnu.org Received: via spool by 30159-submit@debbugs.gnu.org id=B30159.154288017125222 (code B ref 30159); Thu, 22 Nov 2018 09:50:03 +0000 Received: (at 30159) by debbugs.gnu.org; 22 Nov 2018 09:49:31 +0000 Received: from localhost ([127.0.0.1]:40530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPlc2-0006Yk-Rm for submit@debbugs.gnu.org; Thu, 22 Nov 2018 04:49:31 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:34765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPlbz-0006Y4-9B for 30159@debbugs.gnu.org; Thu, 22 Nov 2018 04:49:27 -0500 Received: by mail-pf1-f195.google.com with SMTP id h3so1704464pfg.1 for <30159@debbugs.gnu.org>; Thu, 22 Nov 2018 01:49:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dym3RiaTvj4jqkwfREbIU+8L5VJs/r0oETTo0NPPH5Y=; b=rKGcjLsaNmIBicb891iZxMNTN5EMsX2eu7kI106hwvdNlhXyZQwQxZG6otDMtNFe2M j0Ha3178JQ1TbPa0BrzGfiripSFlLe3dMZNr8vqVAintBOlPZ31GAQVm5Gb23jlUpYUj B8MXN5AlzEivydOvPTULRoisTO2fVKJLxtohalDwh6kFh95c75JhXlDKFmIqHmW4a7Ip KOVAxp5qquFwC5FWjyo3LSGHw8QueJt9g/8qg7Pt+q/aCbFix/OWeI6GaRlBlA7F/buh 7wM1Qpc4htgy7SPKcLFosSblWL41ocywxje/jD+YfRarN0cJSFCD5yCPuKX/PA4Z9CwO 4zpQ== X-Gm-Message-State: AA+aEWZiK0Lbnczg7zkoSZxcgNcj0LDrCK/yVz06TV2RShhKzEraeKGK E/3bJFRSzdNIJD7o3ui5KC9DnlGOQ2Q= X-Google-Smtp-Source: AFSGD/V7UYaDrGIl46oiOs86BC4xD830ckRPkLreTDL+8mVd1HuswDeEF6sxDlXZT0bbb7X1nqqX7w== X-Received: by 2002:a63:f515:: with SMTP id w21mr9403087pgh.220.1542880161274; Thu, 22 Nov 2018 01:49:21 -0800 (PST) Received: from localhost.localdomain ([24.5.139.14]) by smtp.googlemail.com with ESMTPSA id 12sm9836195pgd.35.2018.11.22.01.49.19 for <30159@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Nov 2018 01:49:20 -0800 (PST) From: Nam Nguyen Date: Thu, 22 Nov 2018 01:49:07 -0800 Message-Id: <20181122094907.22856-3-namn@berkeley.edu> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181122094907.22856-1-namn@berkeley.edu> References: <20181122094907.22856-1-namn@berkeley.edu> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-Mailman-Approved-At: Thu, 22 Nov 2018 08:41:04 -0500 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-crypto.scm (python-service-identity, python2-service-identity): New variables. --- gnu/packages/python-crypto.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 1a70f943a..438e96822 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -970,3 +970,33 @@ been constructed to maintain extensive documentation on how to use (description "This is a set of Python bindings for the scrypt key derivation function.") (license license:bsd-2))) + +(define-public python-service-identity + (package + (name "python-service-identity") + (version "17.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "service_identity" version)) + (sha256 + (base32 + "1aq24cn3nnsjr9g797dayhx4g653h6bd41ksqhidzq0rvarzn0a0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-pyasn1" ,python-pyasn1) + ("python-pyasn1-modules" ,python-pyasn1-modules) + ("python-pyopenssl" ,python-pyopenssl))) + (home-page "https://service-identity.readthedocs.io/") + (synopsis "Service identity verification for PyOpenSSL") + (description + "@code{service_identity} aspires to give you all the tools you need +for verifying whether a certificate is valid for the intended purposes. +In the simplest case, this means host name verification. However, +service_identity implements RFC 6125 fully and plans to add other +relevant RFCs too.") + (license license:expat))) + +(define-public python2-service-identity + (package-with-python2 python-service-identity))