Subject: [PATCH 4/7] gnu: Add python-gssapi

From: Lars-Dominik Braun <[email-masked]>
Date: Mon, 13 Jan 2020 08:46:52 +0100

* gnu/packages/python-xyz.scm (python-gssapi): New variable
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 846113aceb..e12f15fac8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17210,3 +17210,33 @@ It is based on the file of the same name found alongside the MIT Kerberos 5
 unit tests.")
     (license license:isc)))
 
+(define-public python-gssapi
+  (package
+    (name "python-gssapi")
+    (version "1.6.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "gssapi" version))
+        (sha256
+          (base32
+            "1gymg4asvwrz7y13qpwp2s5g8qwq179d72gkj09q6bfcgs82l5wr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-decorator" ,python-decorator)
+       ("python-six" ,python-six)))
+    (inputs
+     `(("mit-krb5" ,mit-krb5)))
+    ;; for tests
+    (native-inputs
+     `(("python-shouldbe" ,python-shouldbe)
+       ("python-parameterized" ,python-parameterized)
+       ("python-k5test" ,python-k5test)
+       ("python-nose" ,python-nose)))
+    (home-page
+      "https://github.com/pythongssapi/python-gssapi")
+    (synopsis "Python GSSAPI Wrapper")
+    (description "Python-GSSAPI provides both low-level and high level wrappers
+around the GSSAPI C libraries.  While it focuses on the Kerberos mechanism, it
+should also be useable with other GSSAPI mechanisms.")
+    (license license:isc)))
-- 
2.20.1