aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-07-26 21:51:24 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2017-07-26 21:52:30 +0200
commit9ea61b1c6f0caf9dd3632bce18926444b3d8f30e (patch)
tree4c02497693a98f4472e0d7fd4e1c1906807c0cad
parent9d9fc399463ea1371fff37320774a99d66d7eb2b (diff)
downloadguix-9ea61b1c6f0caf9dd3632bce18926444b3d8f30e.tar
guix-9ea61b1c6f0caf9dd3632bce18926444b3d8f30e.tar.gz
gnu: Add python-flask-principal.
* gnu/packages/python.scm (python-flask-principal, python2-flask-principal): New variables.
-rw-r--r--gnu/packages/python.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 03f8134115..7974dfa581 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15815,3 +15815,30 @@ pure Python module.")
(define-public python2-rencode
(package-with-python2 python-rencode))
+
+(define-public python-flask-principal
+ (package
+ (name "python-flask-principal")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-Principal" version))
+ (sha256
+ (base32
+ "0lwlr5smz8vfm5h9a9i7da3q1c24xqc6vm9jdywdpgxfbi5i7mpm"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-blinker" ,python-blinker)))
+ (native-inputs
+ `(("python-flask" ,python-flask)
+ ("python-nose" ,python-nose)))
+ (home-page "http://packages.python.org/Flask-Principal/")
+ (synopsis "Identity management for Flask")
+ (description "@code{flask_principal} is a identity management library for
+Flask. It supports managing both authentication and authorization data in a
+thread-local variable.")
+ (license license:expat)))
+
+(define-public python2-flask-principal
+ (package-with-python2 python-flask-principal))