From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#38957] [PATCH 1/4] gnu: Add python-kerberos. References: In-Reply-To: Resent-Message-ID: From: Christopher Baines Date: Sun, 22 Mar 2020 23:36:42 +0000 Message-Id: <20200322233645.3220-1-mail@cbaines.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38957@debbugs.gnu.org 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") -- 2.25.1