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

login
register
mail settings
Submitter ng0
Date Dec. 14, 2016, 12:25 p.m.
Message ID <20161214122526.4458-7-ng0@libertad.pw>
Download mbox | patch
Permalink /patch/18444/
State New
Headers show

Comments

ng0 - Dec. 14, 2016, 12:25 p.m.
* gnu/packages/python.scm (python2-openid): New variable.
---
 gnu/packages/python.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c28dac0f8..ca5201f33 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5055,6 +5055,27 @@  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 (string-append "https://github.com/openid/"
+                           "python-openid/archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rkgsx1cxb85zl8jkaqmnbhdm3rvs8qcvv3z0k6jwmgkwi0kda1z"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2)) ; No Python 3 support.
+    (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")