From 18c6a7b4c84a8d6c4e4527f72e3ab677b9c5fc65 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 6 Aug 2017 13:33:51 +0200 Subject: gnu: Add python-flask-httpauth. * gnu/packages/python.scm (python-flask-httpauth, python2-flask-httpauth): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 @@ (define-public python-flask-principal (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)) -- cgit v1.2.3