summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-08-06 13:33:51 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-08-06 13:35:07 +0200
commit18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65 (patch)
treeac811bd94515cff7f42946ae1a8dc24951cdaf8e /gnu/packages
parentabd8825f90472f7dcd2355c265de58a9c166beba (diff)
downloadguix-18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65.tar.gz
gnu: Add python-flask-httpauth.
* gnu/packages/python.scm (python-flask-httpauth, python2-flask-httpauth):
New variables.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cf77abdba5..d9f345ea6d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15869,3 +15869,26 @@ thread-local variable.")
 
 (define-public python2-flask-principal
   (package-with-python2 python-flask-principal))
+
+(define-public python-flask-httpauth
+  (package
+    (name "python-flask-httpauth")
+    (version "3.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-HTTPAuth" version))
+       (sha256
+        (base32
+         "13gff5w1mqpzm5nccyg02v3ifb9ifqh5k866cssjhghhg6msfjsz"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-flask" ,python-flask)))
+    (home-page "http://github.com/miguelgrinberg/flask-httpauth/")
+    (synopsis "Basic and Digest HTTP authentication for Flask routes")
+    (description "@code{flask_httpauth} provides Basic and Digest HTTP
+authentication for Flask routes.")
+    (license license:expat)))
+
+(define-public python2-flask-httpauth
+  (package-with-python2 python-flask-httpauth))