summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-09-24 16:20:42 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-09-24 16:20:42 +0200
commit084e14cc37d893703b526d8f8f9220f7ee3aa0b3 (patch)
tree6b9938f52871d3b904aad3b82c511ca8fad73605 /gnu
parent0750f344eceb10e8ddd81ed146ae2e1aa897f2d4 (diff)
downloadguix-084e14cc37d893703b526d8f8f9220f7ee3aa0b3.tar.gz
gnu: Add python-pybrowserid.
* gnu/packages/python-web.scm (python-pybrowserid): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index c38ccea216..68a0d78db5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2671,3 +2671,26 @@ for URL parsing and changing.")
      "This is a low-level Python library for implementing Hawk Access Authentication,
 a simple HTTP request-signing scheme.")
     (license license:mpl2.0)))
+
+(define-public python-pybrowserid
+  (package
+    (name "python-pybrowserid")
+    (version "0.14.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyBrowserID" version))
+       (sha256
+        (base32
+         "1qvi79kfb8x9kxkm5lw2mp42hm82cpps1xknmsb5ghkwx1lpc8kc"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-requests" ,python-requests)))
+    (native-inputs
+     `(("python-mock" ,python-mock)))
+    (home-page "https://github.com/mozilla/PyBrowserID")
+    (synopsis "Python library for the BrowserID protocol")
+    (description
+     "This is a Python client library for the BrowserID protocol that
+underlies Mozilla Persona.")
+    (license license:mpl2.0)))