From patchwork Sun Mar 22 23:36:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 20848 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 0A18527BBEB; Sun, 22 Mar 2020 23:37:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, UNPARSEABLE_RELAY,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 ESMTP id 7F48327BBE4 for ; Sun, 22 Mar 2020 23:37:13 +0000 (GMT) Received: from localhost ([::1]:54954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGA9Z-0005ta-0C for patchwork@mira.cbaines.net; Sun, 22 Mar 2020 19:37:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60746) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGA9Q-0005nN-O2 for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGA9P-0006NE-GV for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGA9P-0006N8-Dd for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGA9P-0002Bt-Bd for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#38957] [PATCH 1/4] gnu: Add python-kerberos. References: In-Reply-To: Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Mar 2020 23:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38957@debbugs.gnu.org Received: via spool by 38957-submit@debbugs.gnu.org id=B38957.15849202178384 (code B ref 38957); Sun, 22 Mar 2020 23:37:03 +0000 Received: (at 38957) by debbugs.gnu.org; 22 Mar 2020 23:36:57 +0000 Received: from localhost ([127.0.0.1]:51165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGA9F-0002Aw-6i for submit@debbugs.gnu.org; Sun, 22 Mar 2020 19:36:57 -0400 Received: from mira.cbaines.net ([212.71.252.8]:47028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGA9A-0002AC-SQ for 38957@debbugs.gnu.org; Sun, 22 Mar 2020 19:36:50 -0400 Received: from localhost (unknown [46.237.162.18]) by mira.cbaines.net (Postfix) with ESMTPSA id 11E7327BBE4 for <38957@debbugs.gnu.org>; Sun, 22 Mar 2020 23:36:48 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 86282fa8 for <38957@debbugs.gnu.org>; Sun, 22 Mar 2020 23:36:45 +0000 (UTC) From: Christopher Baines Date: Sun, 22 Mar 2020 23:36:42 +0000 Message-Id: <20200322233645.3220-1-mail@cbaines.net> X-Mailer: git-send-email 2.25.1 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: 209.51.188.43 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 From: Alexandros Theodotou * gnu/packages/python-crypto.scm (python-kerberos): New variable. --- gnu/packages/python-crypto.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 0601799c2b..e82599bb5f 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2018 Nam Nguyen ;;; Copyright © 2019 Guillaume Le Vaillant ;;; Copyright © 2019 Clément Lassieur +;;; Copyright © 2020 Alexandros Theodotou ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages crypto) + #:use-module (gnu packages kerberos) #:use-module (gnu packages libffi) #:use-module (gnu packages multiprecision) #:use-module (gnu packages password-utils) @@ -309,6 +311,31 @@ etc.). The package is structured to make adding new modules easy.") "python" (package-inputs pycrypto))))))) +(define-public python-kerberos + (package + (name "python-kerberos") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "kerberos" version)) + (sha256 + (base32 + "19663qxmma0i8bfbjc2iwy5hgq0g4pfb75r023v5dps68zfvffgh")))) + (build-system python-build-system) + (inputs + `(("mit-krb5" ,mit-krb5))) + (home-page "https://github.com/apple/ccs-pykerberos") + (synopsis + "Python Kerberos library used by CalendarServer") + (description + "This Python package is a high-level wrapper for Kerberos (GSSAPI) +operations. The goal is to avoid having to build a module that wraps the +entire Kerberos.framework, and instead offer a limited set of functions that +do what is needed for client/server Kerberos authentication based on +.") + (license license:asl2.0))) + (define-public python-keyring (package (name "python-keyring")