diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-08-06 13:33:51 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-08-06 13:35:07 +0200 |
commit | 18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65 (patch) | |
tree | ac811bd94515cff7f42946ae1a8dc24951cdaf8e /gnu | |
parent | abd8825f90472f7dcd2355c265de58a9c166beba (diff) | |
download | guix-18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65.tar guix-18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65.tar.gz |
gnu: Add python-flask-httpauth.
* gnu/packages/python.scm (python-flask-httpauth, python2-flask-httpauth):
New variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python.scm | 23 |
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)) |