diff mbox

[06/11] gnu: Add python2-openid.

Message ID 20161219090741.5446-7-ng0@libertad.pw
State New
Headers show

Commit Message

ng0 Dec. 19, 2016, 9:07 a.m. UTC
* gnu/packages/python.scm (python2-openid): New variable.
---
 gnu/packages/python.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cdc8d2b41..2b328becb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5048,6 +5048,26 @@  features useful for text console applications.")
 (define-public python2-urwid
   (package-with-python2 python-urwid))
 
+(define-public python2-openid
+  (package
+    (name "python2-openid")
+    (version "2.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-openid" version))
+       (sha256
+        (base32
+         "1vvhxlghjan01snfdc4k7ykd80vkyjgizwgg9bncnin8rqz1ricj"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Python 3 support is in `python3-openid`, a separate package.
+     `(#:python ,python-2))
+    (home-page "https://github.com/openid/python-openid")
+    (synopsis "OpenID support for servers and consumers")
+    (description "OpenID library for Python.")
+    (license license:asl2.0)))
+
 (define-public python-urwidtrees
   (package
     (name "python-urwidtrees")