aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-10-08 22:27:50 +0100
committerChristopher Baines <mail@cbaines.net>2018-10-08 22:27:50 +0100
commitf86de65779e09339c376714aaad80af3449074d5 (patch)
tree0eb8652576d51f18d67b8a6d94b1b63b48f33eb4
parentb6bd8b108a4ad53e89d6b83edc57df18935f131c (diff)
downloadguix-f86de65779e09339c376714aaad80af3449074d5.tar
guix-f86de65779e09339c376714aaad80af3449074d5.tar.gz
gnu: Add python-pykerberos.
* gnu/packages/kerberos.scm (python-pykerberos, python2-pykerberos): New variables.
-rw-r--r--gnu/packages/kerberos.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/kerberos.scm b/gnu/packages/kerberos.scm
index 22d74d32df..3a1d8a0e3a 100644
--- a/gnu/packages/kerberos.scm
+++ b/gnu/packages/kerberos.scm
@@ -42,6 +42,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
+ #:use-module (guix build-system python)
#:use-module (guix build-system gnu))
(define-public mit-krb5
@@ -205,3 +206,25 @@ secure manner through client-server mutual authentication via tickets.")
"Heimdal is an implementation of Kerberos 5 network authentication
service.")
(license license:bsd-3)))
+
+(define-public python-pykerberos
+ (package
+ (name "python-pykerberos")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pykerberos" version))
+ (sha256
+ (base32
+ "0v47p840myqgc7hr4lir72xshcfpa0w8j9n077h3njpqyn6wlbag"))))
+ (build-system python-build-system)
+ (inputs
+ `(("mit-krb5" ,mit-krb5)))
+ (home-page "")
+ (synopsis "High-level interface to Kerberos")
+ (description "High-level interface to Kerberos")
+ (license #f)))
+
+(define-public python2-pykerberos
+ (package-with-python2 python-pykerberos))