django.scm
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
3 | ;;; |
4 | ;;; This file is part of GNU Guix. |
5 | ;;; |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
9 | ;;; your option) any later version. |
10 | ;;; |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | ;;; GNU General Public License for more details. |
15 | ;;; |
16 | ;;; You should have received a copy of the GNU General Public License |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
18 | |
19 | (define-module (more packages django) |
20 | #:use-module (guix packages) |
21 | #:use-module (guix download) |
22 | #:use-module (guix build-system gnu) |
23 | #:use-module (guix build-system python) |
24 | #:use-module ((guix licenses) #:prefix license:) |
25 | #:use-module (gnu packages) |
26 | #:use-module (gnu packages django) |
27 | #:use-module (gnu packages python) |
28 | #:use-module (more packages python)) |
29 | |
30 | |
31 | (define-public python-django-assets |
32 | (package |
33 | (name "python-django-assets") |
34 | (version "0.12") |
35 | (source (origin |
36 | (method url-fetch) |
37 | (uri (pypi-uri "django-assets" version)) |
38 | (sha256 |
39 | (base32 |
40 | "0y0007fvkn1rdlj2g0y6k1cnkx53kxab3g8i85i0rd58k335p365")))) |
41 | (build-system python-build-system) |
42 | (native-inputs |
43 | `(("python-nose" ,python-nose))) |
44 | (propagated-inputs |
45 | `(("python-django" ,python-django) |
46 | ("python-webassets" ,python-webassets))) |
47 | (home-page "http://github.com/miracle2k/django-assets") |
48 | (synopsis "Asset management for Django") |
49 | (description |
50 | "Asset management for Django, to compress and merge CSS and Javascript |
51 | files. Integrates the webassets library with Django, adding support for |
52 | merging, minifying and compiling CSS and Javascript files.") |
53 | (license license:bsd-2))) |
54 | |
55 | (define-public python2-django-assets |
56 | (package-with-python2 python-django-assets)) |
57 | |
58 | (define-public python-django-jsonfield |
59 | (package |
60 | (name "python-django-jsonfield") |
61 | (version "1.0.3") |
62 | (source (origin |
63 | (method url-fetch) |
64 | (uri (pypi-uri "jsonfield" version)) |
65 | (sha256 |
66 | (base32 |
67 | "19x4lak0hg9c20r7mvf27w7i8r6i4sg2g0ypmlmp2665fnk76zvy")) |
68 | (modules '((guix build utils))) |
69 | (snippet |
70 | '(substitute* "jsonfield/tests.py" |
71 | (("django.forms.util") "django.forms.utils"))))) |
72 | (build-system python-build-system) |
73 | (propagated-inputs |
74 | `(("python-django" ,python-django))) |
75 | (home-page "https://github.com/bradjasper/django-jsonfield") |
76 | (synopsis "Store validated JSON in your model") |
77 | (description |
78 | "django-jsonfield is a reusable Django field that allows you to store |
79 | validated JSON in your model. It silently takes care of serialization. To |
80 | use, simply add the field to one of your models.") |
81 | (license license:expat))) |
82 | |
83 | (define-public python2-django-jsonfield |
84 | (package-with-python2 python-django-jsonfield)) |
85 | |
86 | (define-public python-django-bulk-update |
87 | (package |
88 | (name "python-django-bulk-update") |
89 | (version "1.1.10") |
90 | (source (origin |
91 | (method url-fetch) |
92 | (uri (pypi-uri "django-bulk-update" version)) |
93 | (sha256 |
94 | (base32 |
95 | "0mbng9m7swfc0dnidipbzlxfhlfjrv755dlnha5s4m9mgdxb1fhc")))) |
96 | (build-system python-build-system) |
97 | (native-inputs |
98 | `(("six" ,python-six) |
99 | ("jsonfield" ,python-django-jsonfield))) |
100 | (propagated-inputs |
101 | `(("python-django" ,python-django))) |
102 | (home-page "https://github.com/aykut/django-bulk-update") |
103 | (synopsis "Simple bulk update over Django ORM or with helper function") |
104 | (description |
105 | "Simple bulk update over Django ORM or with helper function. This |
106 | project aims to bulk update given objects using one query over Django ORM.") |
107 | (license license:expat))) |
108 | |
109 | (define-public python2-django-bulk-update |
110 | (package-with-python2 python-django-bulk-update)) |
111 | |
112 | (define-public python-django-contact-form |
113 | (package |
114 | (name "python-django-contact-form") |
115 | (version "1.3") |
116 | (source (origin |
117 | (method url-fetch) |
118 | (uri (pypi-uri "django-contact-form" version)) |
119 | (sha256 |
120 | (base32 |
121 | "0az590y56k5ahv4sixrkn54d3a8ig2q2z9pl6s3m4f533mx2gj17")))) |
122 | (build-system python-build-system) |
123 | (propagated-inputs |
124 | `(("python-django" ,python-django))) |
125 | (home-page "https://github.com/ubernostrum/django-contact-form") |
126 | (synopsis "Contact form for Django") |
127 | (description |
128 | "This application provides simple, extensible contact-form functionality |
129 | for Django sites.") |
130 | (license license:bsd-3))) |
131 | |
132 | (define-public python2-django-contact-form |
133 | (package-with-python2 python-django-contact-form)) |
134 | |
135 | (define-public python-django-contrib-comments |
136 | (package |
137 | (name "python-django-contrib-comments") |
138 | (version "1.8.0") |
139 | (source (origin |
140 | (method url-fetch) |
141 | (uri (pypi-uri "django-contrib-comments" version)) |
142 | (sha256 |
143 | (base32 |
144 | "0bxsgw8jrkhg6r5s0z6ksfi4w8yknaqb1s9acmxd9pm3pnsnp5kx")))) |
145 | (build-system python-build-system) |
146 | (propagated-inputs |
147 | `(("python-django" ,python-django))) |
148 | (home-page "https://github.com/django/django-contrib-comments") |
149 | (synopsis "Comments framework") |
150 | (description |
151 | "Django used to include a comments framework; since Django 1.6 it's been |
152 | separated to a separate project. This is that project. This framework can be |
153 | used to attach comments to any model, so you can use it for comments on blog |
154 | entries, photos, book chapters, or anything else.") |
155 | (license license:bsd-3))) |
156 | |
157 | (define-public python2-django-contrib-comments |
158 | (package-with-python2 python-django-contrib-comments)) |
159 | |
160 | (define-public python-django-overextends |
161 | (package |
162 | (name "python-django-overextends") |
163 | (version "0.4.2") |
164 | (source (origin |
165 | (method url-fetch) |
166 | (uri (pypi-uri "django-overextends" version)) |
167 | (sha256 |
168 | (base32 |
169 | "05rxfjwkwi354qpwjacv1ak77ksgj5fql9yz8i3f1a20b97l8196")))) |
170 | (build-system python-build-system) |
171 | (propagated-inputs |
172 | `(("python-django" ,python-django) |
173 | ("sphinx-me" ,python-sphinx-me))) |
174 | (home-page "https://github.com/stephenmcd/django-overextends") |
175 | (synopsis "Circular template inheritance") |
176 | (description |
177 | "A Django reusable app providing the overextends template tag, a drop-in |
178 | replacement for Django's extends tag, which allows you to use circular template |
179 | inheritance. The primary use-case for overextends is to simultaneously |
180 | override and extend templates from other reusable apps, in your own Django |
181 | project.") |
182 | (license license:bsd-2))) |
183 | |
184 | (define-public python2-django-overextends |
185 | (package-with-python2 python-django-overextends)) |
186 | |
187 | (define-public python-django-redis |
188 | (package |
189 | (name "python-django-redis") |
190 | (version "4.7.0") |
191 | (source (origin |
192 | (method url-fetch) |
193 | (uri (pypi-uri "django-redis" version)) |
194 | (sha256 |
195 | (base32 |
196 | "0yyyxv8n9l9dhs893jsqwg2cxqkkc79g719n9dzzzqgkzialv1c1")))) |
197 | (build-system python-build-system) |
198 | (native-inputs |
199 | `(("python-redis" ,python-redis))) |
200 | (propagated-inputs |
201 | `(("python-django" ,python-django))) |
202 | (home-page "https://github.com/niwibe/django-redis") |
203 | (synopsis "Full featured redis cache backend for Django") |
204 | (description |
205 | "Full featured redis cache backend for Django.") |
206 | (license license:bsd-3))) |
207 | |
208 | (define-public python2-django-redis |
209 | (package-with-python2 python-django-redis)) |
210 | |
211 | (define-public python-django-rq |
212 | (package |
213 | (name "python-django-rq") |
214 | (version "0.9.4") |
215 | (source (origin |
216 | (method url-fetch) |
217 | (uri (pypi-uri "django-rq" version)) |
218 | (sha256 |
219 | (base32 |
220 | "04v8ilfdp10bk31fxgh4cn083gsn5m06342cnpm5d10nd8hc0vky")))) |
221 | (build-system python-build-system) |
222 | (native-inputs |
223 | `(("python-rq" ,python-rq))) |
224 | (propagated-inputs |
225 | `(("python-django" ,python-django))) |
226 | (home-page "https://github.com/ui/django-rq") |
227 | (synopsis "Django integration with RQ") |
228 | (description |
229 | "Django integration with RQ, a Redis based Python queuing library. |
230 | Django-RQ is a simple app that allows you to configure your queues in django's |
231 | settings.py and easily use them in your project.") |
232 | (license license:expat))) |
233 | |
234 | (define-public python2-django-rq |
235 | (package-with-python2 python-django-rq)) |
236 | |
237 | (define-public python-django-sortedm2m |
238 | (package |
239 | (name "python-django-sortedm2m") |
240 | (version "1.3.3") |
241 | (source (origin |
242 | (method url-fetch) |
243 | (uri (pypi-uri "django-sortedm2m" version)) |
244 | (sha256 |
245 | (base32 |
246 | "0axf765i7b3c2s83nlph47asi8s071dhq8l7y382v1pw785s22vi")))) |
247 | (build-system python-build-system) |
248 | (propagated-inputs |
249 | `(("python-django" ,python-django))) |
250 | (home-page "https://github.com/gregmuellegger/django-sortedm2m") |
251 | (synopsis "drop-in replacement for django's own ManyToManyField") |
252 | (description |
253 | "Sortedm2m is a drop-in replacement for django's own ManyToManyField. |
254 | The provided SortedManyToManyField behaves like the original one but remembers |
255 | the order of added relations.") |
256 | (license license:bsd-3))) |
257 | |
258 | (define-public python2-django-sortedm2m |
259 | (package-with-python2 python-django-sortedm2m)) |
260 | |
261 | (define-public python-django-appconf |
262 | (package |
263 | (name "python-django-appconf") |
264 | (version "1.0.2") |
265 | (source (origin |
266 | (method url-fetch) |
267 | (uri (pypi-uri "django-appconf" version)) |
268 | (sha256 |
269 | (base32 |
270 | "0qdjdx35g66xjsc50v0c5h3kg6njs8df33mbjx6j4k1vd3m9lkba")))) |
271 | (build-system python-build-system) |
272 | (propagated-inputs |
273 | `(("python-django" ,python-django))) |
274 | (home-page "https://github.com/django-compressor/django-appconf") |
275 | (synopsis "Handle configuration defaults of packaged Django apps") |
276 | (description |
277 | "This app precedes Django's own AppConfig classes that act as \"objects |
278 | [to] store metadata for an application\" inside Django's app loading mechanism. |
279 | In other words, they solve a related but different use case than |
280 | django-appconf and can't easily be used as a replacement. The similarity in |
281 | name is purely coincidental.") |
282 | (license license:bsd-3))) |
283 | |
284 | (define-public python2-django-appconf |
285 | (package-with-python2 python-django-appconf)) |
286 | |
287 | (define-public python-django-statici18n |
288 | (package |
289 | (name "python-django-statici18n") |
290 | (version "1.3.0") |
291 | (source (origin |
292 | (method url-fetch) |
293 | (uri (pypi-uri "django-statici18n" version)) |
294 | (sha256 |
295 | (base32 |
296 | "0alcf4g1nv69njhq5k3qw4mfl2k6dc18bik5nk0g1mnp3m8zyz7k")))) |
297 | (build-system python-build-system) |
298 | (propagated-inputs |
299 | `(("python-django" ,python-django) |
300 | ("django-appconf" ,python-django-appconf))) |
301 | (home-page "https://github.com/zyegfryed/django-statici18n") |
302 | (synopsis "Generate JavaScript catalog to static files") |
303 | (description |
304 | "A Django app that provides helper for generating JavaScript catalog to |
305 | static files.") |
306 | (license license:bsd-3))) |
307 | |
308 | (define-public python2-django-statici18n |
309 | (package-with-python2 python-django-statici18n)) |
310 |