gnu: Add python-django-simple-math-captcha.

* gnu/packages/django.scm: (python-django-simple-math-captcha)
(python2-django-simple-math-captcha): New variables.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Hartmut Goebel 2016-08-22 13:31:37 +02:00 committed by Ludovic Courtès
parent d18197af78
commit b53fc2940f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 26 additions and 0 deletions

View File

@ -96,3 +96,29 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
;; When adding memcached mind: for Python 2 memcached <= 1.53 is ;; When adding memcached mind: for Python 2 memcached <= 1.53 is
;; required. ;; required.
,@(package-inputs base)))))) ,@(package-inputs base))))))
(define-public python-django-simple-math-captcha
(package
(name "python-django-simple-math-captcha")
(version "1.0.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "django-simple-math-captcha" version))
(sha256
(base32
"0906hms6y6znjhpd0g4wmzv9vcla4brkdpsm4zha9zdj8g5vq2hd"))))
(build-system python-build-system)
(propagated-inputs
`(("python-django" ,python-django)))
(native-inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/alsoicode/django-simple-math-captcha")
(synopsis "Easy-to-use math field/widget captcha for Django forms")
(description
"A multi-value-field that presents a human answerable question,
with no settings.py configuration necessary, but instead can be configured
with arguments to the field constructor.")
(license license:asl2.0)))
(define-public python2-django-simple-math-captcha
(package-with-python2 python-django-simple-math-captcha))