[bug#39028,4/7] gnu: Add python-gssapi
diff mbox series

Message ID 20200113074655.11012-4-ldb@leibniz-psychology.org
State New
Headers show
Series
  • [bug#39028,1/7] gnu: Add python-shouldbe
Related show

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

Lars-Dominik Braun Jan. 13, 2020, 7:46 a.m. UTC
* gnu/packages/python-xyz.scm (python-gssapi): New variable
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Patch
diff mbox series

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)))