gnu: Add python-gssapi.
authorLars-Dominik Braun <ldb@leibniz-psychology.org>
Mon, 13 Jan 2020 07:46:52 +0000 (08:46 +0100)
committer宋文武 <iyzsong@member.fsf.org>
Mon, 20 Jan 2020 12:50:24 +0000 (20:50 +0800)
* gnu/packages/python-xyz.scm (python-gssapi): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
gnu/packages/python-xyz.scm

index 8dfbc8c..617c3b4 100644 (file)
@@ -17258,3 +17258,34 @@ environments, and running Python unit tests inside those environments.  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)))