[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add python-wtforms
From: |
Christopher Allan Webber |
Subject: |
01/02: gnu: Add python-wtforms |
Date: |
Fri, 12 Feb 2016 00:17:37 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit 4cf90fbafa3d819683db4259e21d4d2c7099c6a6
Author: Christopher Allan Webber <address@hidden>
Date: Thu Feb 11 16:16:45 2016 -0800
gnu: Add python-wtforms
* gnu/packages/python.scm (python-wtforms, python2-wtforms): New variables.
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cea1bd1..b6e998a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7442,6 +7442,34 @@ interface to the Amazon Web Services (AWS) API.")
Amazon Web Services (AWS) API.")
(license asl2.0)))
+(define python-wtforms
+ (package
+ (name "python-wtforms")
+ (version "2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "WTForms" version ".zip"))
+ (sha256
+ (base32
+ "0vyl26y9cg409cfyj8rhqxazsdnd0jipgjw06civhrd53yyi1pzz"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://wtforms.simplecodes.com/")
+ (synopsis
+ "Form validation and rendering library for Python web development.")
+ (description
+ "WTForms is a flexible forms validation and rendering library
+for Python web development. It is very similar to the web form API
+available in Django, but is a standalone package.")
+ (license bsd-3)))
+
+(define-public python2-wtforms
+ (package-with-python2 python-wtforms))
+
;;pyversion_install_requires = []
;;if PY2:
;; pyversion_install_requires.append('argparse') # only for < 2.7