From cc534f0c7102f39454edec0c2cd938bff056819e Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 4 Mar 2018 13:23:15 +0000 Subject: gnu: Add python-django-crispy-forms. * gnu/packages/django.scm (python-django-crispy-forms): New variable. --- gnu/packages/django.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index f944d25b60..2768ae2af1 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -779,3 +779,28 @@ Django projects, which allows association of a number of tags with any "The Django REST framework is for building Web APIs with Django. It provides features like a web browseable API and authentication policies.") (license license:bsd-2))) + +(define-public python-django-crispy-forms + (package + (name "python-django-crispy-forms") + (version "1.7.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "django-crispy-forms" version)) + (sha256 + (base32 + "16s05jx86jmimlvnwpq73kl0mqw1v9lryc8zi61a9qwl25krm6mj")))) + (build-system python-build-system) + (arguments + '(;; No included tests + #:tests? #f)) + (propagated-inputs + `(("python-django" ,python-django))) + (home-page + "http://github.com/maraujop/django-crispy-forms") + (synopsis "Tool to control Django forms without custom templates") + (description + "@code{django-crispy-forms} lets you easily build, customize and reuse +forms using your favorite CSS framework, without writing template code.") + (license license:expat))) -- cgit v1.2.3