[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/36: gnu: Add python-django-jsonfield.
From: |
julien lepiller |
Subject: |
21/36: gnu: Add python-django-jsonfield. |
Date: |
Thu, 11 May 2017 16:01:28 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 6c17e963b0cd4095912a90b73b4bc19cb35f2bf2
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 18:18:30 2017 +0200
gnu: Add python-django-jsonfield.
* gnu/packages/django.scm (python-django-jsonfield,
python2-django-jsonfield):
New variables.
---
gnu/packages/django.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index dad777b..3a4116b 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -291,3 +291,34 @@ merging, minifying and compiling CSS and Javascript
files.")
(define-public python2-django-assets
(package-with-python2 python-django-assets))
+
+(define-public python-django-jsonfield
+ (package
+ (name "python-django-jsonfield")
+ (version "1.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "jsonfield" version))
+ (sha256
+ (base32
+ "19x4lak0hg9c20r7mvf27w7i8r6i4sg2g0ypmlmp2665fnk76zvy"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda _
+ (substitute* "jsonfield/tests.py"
+ (("django.forms.util") "django.forms.utils")))))))
+ (propagated-inputs
+ `(("python-django" ,python-django)))
+ (home-page "https://github.com/bradjasper/django-jsonfield")
+ (synopsis "Store validated JSON in your model")
+ (description
+ "Django-jsonfield is a reusable Django field that allows you to store
+validated JSON in your model. It silently takes care of serialization. To
+use, simply add the field to one of your models.")
+ (license license:expat)))
+
+(define-public python2-django-jsonfield
+ (package-with-python2 python-django-jsonfield))
- 12/36: gnu: Add python-elasticsearch., (continued)
- 12/36: gnu: Add python-elasticsearch., julien lepiller, 2017/05/11
- 14/36: gnu: Add python-levenshtein., julien lepiller, 2017/05/11
- 15/36: gnu: Add python-scandir., julien lepiller, 2017/05/11
- 17/36: gnu: Add python-factory-boy., julien lepiller, 2017/05/11
- 18/36: gnu: Add python-translate-toolkit., julien lepiller, 2017/05/11
- 22/36: gnu: Add python-dj-database-url., julien lepiller, 2017/05/11
- 27/36: gnu: Add python-hiredis., julien lepiller, 2017/05/11
- 31/36: gnu: Add python-django-sortedm2m., julien lepiller, 2017/05/11
- 33/36: gnu: Add python-django-statici18n., julien lepiller, 2017/05/11
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield.,
julien lepiller <=
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11
- 36/36: gnu: Add pootle., julien lepiller, 2017/05/11
- 24/36: gnu: Add python-django-contact-form., julien lepiller, 2017/05/11
- 29/36: gnu: Add python-django-redis., julien lepiller, 2017/05/11
- 20/36: gnu: Add python-django-assets., julien lepiller, 2017/05/11
- 26/36: gnu: Add python-django-overextends., julien lepiller, 2017/05/11
- 28/36: gnu: Add python-fakeredis., julien lepiller, 2017/05/11
- 35/36: gnu: Fix python2-django-allauth., julien lepiller, 2017/05/11