aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 80335c46b6..57d09f9978 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11285,3 +11285,25 @@ useful as a validator for JSON data.")
(description
"This package contains a Flask module for creating REST APIs.")
(license license:bsd-3)))
+
+(define-public python-flask-basicauth
+ (package
+ (name "python-flask-basicauth")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-BasicAuth" version))
+ (sha256
+ (base32
+ "1zq1spkjr4sjdnalpp8wl242kdqyk6fhbnhr8hi4r4f0km4bspnz"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-flask" ,python-flask)))
+ (home-page
+ "https://github.com/jpvanhal/flask-basicauth")
+ (synopsis
+ "HTTP basic access authentication for Flask")
+ (description
+ "This package provides HTTP basic access authentication for Flask.")
+ (license license:bsd-3)))