guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/10: gnu: Add python-flask-wtf.


From: Leo Famulari
Subject: 01/10: gnu: Add python-flask-wtf.
Date: Thu, 29 Dec 2016 03:42:31 +0000 (UTC)

lfam pushed a commit to branch master
in repository guix.

commit a7ad802be5f5e035d027558c3742aabacceef360
Author: ng0 <address@hidden>
Date:   Wed Dec 21 11:47:09 2016 +0000

    gnu: Add python-flask-wtf.
    
    * gnu/packages/python.scm (python-flask-wtf, python2-flask-wtf): New 
variables.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 43b33d6..fcbb792 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9313,6 +9313,33 @@ presume or force a developer to use a particular tool or 
library.")
 (define-public python2-flask
   (package-with-python2 python-flask))
 
+(define-public python-flask-wtf
+  (package
+    (name "python-flask-wtf")
+    (version "0.13.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-WTF" version))
+       (sha256
+        (base32
+         "04l5743j2dici46038sqlzvf0xzpg8rf7s9ld2x24xv7f4idg990"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-flask-babel" ,python-flask-babel)
+       ("python-babel" ,python-babel)
+       ("python-wtforms" ,python-wtforms)))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/lepture/flask-wtf";)
+    (synopsis "Simple integration of Flask and WTForms")
+    (description "Flask-WTF integrates Flask and WTForms, including CSRF, file
+upload, and reCAPTCHA.")
+    (license license:bsd-3)))
+
+(define-public python2-flask-wtf
+  (package-with-python2 python-flask-wtf))
+
 (define-public python-cookies
   (package
     (name "python-cookies")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]