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-allauth |
32 | (package |
33 | (name "python-django-allauth") |
34 | (version "0.30.0") |
35 | (source (origin |
36 | (method url-fetch) |
37 | (uri (pypi-uri "django-allauth" version)) |
38 | (sha256 |
39 | (base32 |
40 | "1fslqc5qqb0b66yscvkyjwfv8cnbfx5nlkpnwimyb3pf1nc1w7r3")))) |
41 | (build-system python-build-system) |
42 | (propagated-inputs |
43 | `(("python-django" ,python-django) |
44 | ("python-mock" ,python-mock) |
45 | ("python-openid" ,python-openid) |
46 | ("python-requests" ,python-requests) |
47 | ("python-requests-oauthlib" ,python-requests-oauthlib))) |
48 | (home-page "http://www.intenct.nl/projects/django-allauth") |
49 | (synopsis "Reusable Django app for local and social authentication") |
50 | (description |
51 | "django-allauth is a reusable Django app that allows for both local and |
52 | social authentication, with flows that just work.") |
53 | (license license:expat))) |
54 | |
55 | (define-public python2-django-allauth |
56 | (package |
57 | (inherit (package-with-python2 python-django-allauth)) |
58 | (propagated-inputs |
59 | `(("python-django" ,python2-django) |
60 | ("python-mock" ,python2-mock) |
61 | ("python-openid" ,python2-openid) |
62 | ("python-requests" ,python2-requests) |
63 | ("python-requests-oauthlib" ,python2-requests-oauthlib))))) |
64 | |
65 | (define-public python-django-assets |
66 | (package |
67 | (name "python-django-assets") |
68 | (version "0.12") |
69 | (source (origin |
70 | (method url-fetch) |
71 | (uri (pypi-uri "django-assets" version)) |
72 | (sha256 |
73 | (base32 |
74 | "0y0007fvkn1rdlj2g0y6k1cnkx53kxab3g8i85i0rd58k335p365")))) |
75 | (build-system python-build-system) |
76 | (native-inputs |
77 | `(("python-nose" ,python-nose))) |
78 | (propagated-inputs |
79 | `(("python-django" ,python-django) |
80 | ("python-webassets" ,python-webassets))) |
81 | (home-page "http://github.com/miracle2k/django-assets") |
82 | (synopsis "Asset management for Django") |
83 | (description |
84 | "Asset management for Django, to compress and merge CSS and Javascript |
85 | files. Integrates the webassets library with Django, adding support for |
86 | merging, minifying and compiling CSS and Javascript files.") |
87 | (license license:bsd-2))) |
88 | |
89 | (define-public python2-django-assets |
90 | (package-with-python2 python-django-assets)) |
91 | |
92 | (define-public python-django-jsonfield |
93 | (package |
94 | (name "python-django-jsonfield") |
95 | (version "1.0.3") |
96 | (source (origin |
97 | (method url-fetch) |
98 | (uri (pypi-uri "jsonfield" version)) |
99 | (sha256 |
100 | (base32 |
101 | "19x4lak0hg9c20r7mvf27w7i8r6i4sg2g0ypmlmp2665fnk76zvy")) |
102 | (modules '((guix build utils))) |
103 | (snippet |
104 | '(substitute* "jsonfield/tests.py" |
105 | (("django.forms.util") "django.forms.utils"))))) |
106 | (build-system python-build-system) |
107 | (propagated-inputs |
108 | `(("python-django" ,python-django))) |
109 | (home-page "https://github.com/bradjasper/django-jsonfield") |
110 | (synopsis "Store validated JSON in your model") |
111 | (description |
112 | "django-jsonfield is a reusable Django field that allows you to store |
113 | validated JSON in your model. It silently takes care of serialization. To |
114 | use, simply add the field to one of your models.") |
115 | (license license:expat))) |
116 | |
117 | (define-public python2-django-jsonfield |
118 | (package-with-python2 python-django-jsonfield)) |
119 | |
120 | (define-public python-django-bulk-update |
121 | (package |
122 | (name "python-django-bulk-update") |
123 | (version "1.1.10") |
124 | (source (origin |
125 | (method url-fetch) |
126 | (uri (pypi-uri "django-bulk-update" version)) |
127 | (sha256 |
128 | (base32 |
129 | "0mbng9m7swfc0dnidipbzlxfhlfjrv755dlnha5s4m9mgdxb1fhc")))) |
130 | (build-system python-build-system) |
131 | (native-inputs |
132 | `(("six" ,python-six) |
133 | ("jsonfield" ,python-django-jsonfield))) |
134 | (propagated-inputs |
135 | `(("python-django" ,python-django))) |
136 | (home-page "https://github.com/aykut/django-bulk-update") |
137 | (synopsis "Simple bulk update over Django ORM or with helper function") |
138 | (description |
139 | "Simple bulk update over Django ORM or with helper function. This |
140 | project aims to bulk update given objects using one query over Django ORM.") |
141 | (license license:expat))) |
142 | |
143 | (define-public python2-django-bulk-update |
144 | (package-with-python2 python-django-bulk-update)) |
145 | |
146 | (define-public python-django-contact-form |
147 | (package |
148 | (name "python-django-contact-form") |
149 | (version "1.3") |
150 | (source (origin |
151 | (method url-fetch) |
152 | (uri (pypi-uri "django-contact-form" version)) |
153 | (sha256 |
154 | (base32 |
155 | "0az590y56k5ahv4sixrkn54d3a8ig2q2z9pl6s3m4f533mx2gj17")))) |
156 | (build-system python-build-system) |
157 | (propagated-inputs |
158 | `(("python-django" ,python-django))) |
159 | (home-page "https://github.com/ubernostrum/django-contact-form") |
160 | (synopsis "Contact form for Django") |
161 | (description |
162 | "This application provides simple, extensible contact-form functionality |
163 | for Django sites.") |
164 | (license license:bsd-3))) |
165 | |
166 | (define-public python2-django-contact-form |
167 | (package-with-python2 python-django-contact-form)) |
168 | |
169 | (define-public python-django-contrib-comments |
170 | (package |
171 | (name "python-django-contrib-comments") |
172 | (version "1.8.0") |
173 | (source (origin |
174 | (method url-fetch) |
175 | (uri (pypi-uri "django-contrib-comments" version)) |
176 | (sha256 |
177 | (base32 |
178 | "0bxsgw8jrkhg6r5s0z6ksfi4w8yknaqb1s9acmxd9pm3pnsnp5kx")))) |
179 | (build-system python-build-system) |
180 | (propagated-inputs |
181 | `(("python-django" ,python-django))) |
182 | (home-page "https://github.com/django/django-contrib-comments") |
183 | (synopsis "Comments framework") |
184 | (description |
185 | "Django used to include a comments framework; since Django 1.6 it's been |
186 | separated to a separate project. This is that project. This framework can be |
187 | used to attach comments to any model, so you can use it for comments on blog |
188 | entries, photos, book chapters, or anything else.") |
189 | (license license:bsd-3))) |
190 | |
191 | (define-public python2-django-contrib-comments |
192 | (package-with-python2 python-django-contrib-comments)) |
193 | |
194 | (define-public python-django-overextends |
195 | (package |
196 | (name "python-django-overextends") |
197 | (version "0.4.2") |
198 | (source (origin |
199 | (method url-fetch) |
200 | (uri (pypi-uri "django-overextends" version)) |
201 | (sha256 |
202 | (base32 |
203 | "05rxfjwkwi354qpwjacv1ak77ksgj5fql9yz8i3f1a20b97l8196")))) |
204 | (build-system python-build-system) |
205 | (propagated-inputs |
206 | `(("python-django" ,python-django) |
207 | ("sphinx-me" ,python-sphinx-me))) |
208 | (home-page "https://github.com/stephenmcd/django-overextends") |
209 | (synopsis "Circular template inheritance") |
210 | (description |
211 | "A Django reusable app providing the overextends template tag, a drop-in |
212 | replacement for Django's extends tag, which allows you to use circular template |
213 | inheritance. The primary use-case for overextends is to simultaneously |
214 | override and extend templates from other reusable apps, in your own Django |
215 | project.") |
216 | (license license:bsd-2))) |
217 | |
218 | (define-public python2-django-overextends |
219 | (package-with-python2 python-django-overextends)) |
220 | |
221 | (define-public python-django-redis |
222 | (package |
223 | (name "python-django-redis") |
224 | (version "4.7.0") |
225 | (source (origin |
226 | (method url-fetch) |
227 | (uri (pypi-uri "django-redis" version)) |
228 | (sha256 |
229 | (base32 |
230 | "0yyyxv8n9l9dhs893jsqwg2cxqkkc79g719n9dzzzqgkzialv1c1")))) |
231 | (build-system python-build-system) |
232 | (native-inputs |
233 | `(("python-redis" ,python-redis))) |
234 | (propagated-inputs |
235 | `(("python-django" ,python-django))) |
236 | (home-page "https://github.com/niwibe/django-redis") |
237 | (synopsis "Full featured redis cache backend for Django") |
238 | (description |
239 | "Full featured redis cache backend for Django.") |
240 | (license license:bsd-3))) |
241 | |
242 | (define-public python2-django-redis |
243 | (package-with-python2 python-django-redis)) |
244 | |
245 | (define-public python-django-rq |
246 | (package |
247 | (name "python-django-rq") |
248 | (version "0.9.4") |
249 | (source (origin |
250 | (method url-fetch) |
251 | (uri (pypi-uri "django-rq" version)) |
252 | (sha256 |
253 | (base32 |
254 | "04v8ilfdp10bk31fxgh4cn083gsn5m06342cnpm5d10nd8hc0vky")))) |
255 | (build-system python-build-system) |
256 | (native-inputs |
257 | `(("python-rq" ,python-rq))) |
258 | (propagated-inputs |
259 | `(("python-django" ,python-django))) |
260 | (home-page "https://github.com/ui/django-rq") |
261 | (synopsis "Django integration with RQ") |
262 | (description |
263 | "Django integration with RQ, a Redis based Python queuing library. |
264 | Django-RQ is a simple app that allows you to configure your queues in django's |
265 | settings.py and easily use them in your project.") |
266 | (license license:expat))) |
267 | |
268 | (define-public python2-django-rq |
269 | (package-with-python2 python-django-rq)) |
270 | |
271 | (define-public python-django-sortedm2m |
272 | (package |
273 | (name "python-django-sortedm2m") |
274 | (version "1.3.3") |
275 | (source (origin |
276 | (method url-fetch) |
277 | (uri (pypi-uri "django-sortedm2m" version)) |
278 | (sha256 |
279 | (base32 |
280 | "0axf765i7b3c2s83nlph47asi8s071dhq8l7y382v1pw785s22vi")))) |
281 | (build-system python-build-system) |
282 | (propagated-inputs |
283 | `(("python-django" ,python-django))) |
284 | (home-page "https://github.com/gregmuellegger/django-sortedm2m") |
285 | (synopsis "drop-in replacement for django's own ManyToManyField") |
286 | (description |
287 | "Sortedm2m is a drop-in replacement for django's own ManyToManyField. |
288 | The provided SortedManyToManyField behaves like the original one but remembers |
289 | the order of added relations.") |
290 | (license license:bsd-3))) |
291 | |
292 | (define-public python2-django-sortedm2m |
293 | (package-with-python2 python-django-sortedm2m)) |
294 | |
295 | (define-public python-django-appconf |
296 | (package |
297 | (name "python-django-appconf") |
298 | (version "1.0.2") |
299 | (source (origin |
300 | (method url-fetch) |
301 | (uri (pypi-uri "django-appconf" version)) |
302 | (sha256 |
303 | (base32 |
304 | "0qdjdx35g66xjsc50v0c5h3kg6njs8df33mbjx6j4k1vd3m9lkba")))) |
305 | (build-system python-build-system) |
306 | (propagated-inputs |
307 | `(("python-django" ,python-django))) |
308 | (home-page "https://github.com/django-compressor/django-appconf") |
309 | (synopsis "Handle configuration defaults of packaged Django apps") |
310 | (description |
311 | "This app precedes Django's own AppConfig classes that act as \"objects |
312 | [to] store metadata for an application\" inside Django's app loading mechanism. |
313 | In other words, they solve a related but different use case than |
314 | django-appconf and can't easily be used as a replacement. The similarity in |
315 | name is purely coincidental.") |
316 | (license license:bsd-3))) |
317 | |
318 | (define-public python2-django-appconf |
319 | (package-with-python2 python-django-appconf)) |
320 | |
321 | (define-public python-django-statici18n |
322 | (package |
323 | (name "python-django-statici18n") |
324 | (version "1.3.0") |
325 | (source (origin |
326 | (method url-fetch) |
327 | (uri (pypi-uri "django-statici18n" version)) |
328 | (sha256 |
329 | (base32 |
330 | "0alcf4g1nv69njhq5k3qw4mfl2k6dc18bik5nk0g1mnp3m8zyz7k")))) |
331 | (build-system python-build-system) |
332 | (propagated-inputs |
333 | `(("python-django" ,python-django) |
334 | ("django-appconf" ,python-django-appconf))) |
335 | (home-page "https://github.com/zyegfryed/django-statici18n") |
336 | (synopsis "Generate JavaScript catalog to static files") |
337 | (description |
338 | "A Django app that provides helper for generating JavaScript catalog to |
339 | static files.") |
340 | (license license:bsd-3))) |
341 | |
342 | (define-public python2-django-statici18n |
343 | (package-with-python2 python-django-statici18n)) |
344 |