From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 01/11] gnu: Add python-flask-wtf. Date: Wed, 21 Dec 2016 11:47:09 +0000 Message-ID: <20161221114718.12679-2-ng0@libertad.pw> References: <20161221001039.3a6f6037@scratchpost.org> <20161221114718.12679-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJfN2-0006BQ-NY for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJfN1-0002jz-PB for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:44 -0500 Received: from aibo.runbox.com ([91.220.196.211]:50060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJfN1-0002jk-II for guix-devel@gnu.org; Wed, 21 Dec 2016 06:47:43 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cJfN0-0007LH-HM for guix-devel@gnu.org; Wed, 21 Dec 2016 12:47:42 +0100 In-Reply-To: <20161221114718.12679-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-flask-wtf): New variable. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index bfa7eae55..0e5966336 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9219,6 +9219,34 @@ 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))) + (native-inputs + `(("python-nose" ,python-nose) + ("python-wtforms" ,python-wtforms))) + (home-page "https://github.com/lepture/flask-wtf") + (synopsis "Simple integration of Flask and WTForms") + (description + "Simple integration of 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") -- 2.11.0