web.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 web) |
20 | #:use-module ((guix licenses) #:prefix l:) |
21 | #:use-module (gnu packages) |
22 | #:use-module (gnu packages python) |
23 | #:use-module (more packages python) |
24 | #:use-module (more packages django) |
25 | #:use-module (guix packages) |
26 | #:use-module (guix download) |
27 | #:use-module (guix utils) |
28 | #:use-module (guix build-system python) |
29 | #:use-module (srfi srfi-1)) |
30 | |
31 | (define-public pootle |
32 | (package |
33 | (name "pootle") |
34 | (version "2.8.0rc5") |
35 | (source |
36 | (origin |
37 | (method url-fetch) |
38 | (uri (pypi-uri "Pootle" version ".tar.bz2")) |
39 | (sha256 |
40 | (base32 |
41 | "0m6qcpkcy22dk3ad5y2k8851kqg2w6vrkywgy4vabwbacd7r1mvn")) |
42 | (modules '((guix build utils))) |
43 | (snippet |
44 | '(begin |
45 | (substitute* "Pootle.egg-info/requires.txt" |
46 | (("1.7.3") "1.8.0")) |
47 | (substitute* "requirements/base.txt" |
48 | (("1.7.3") "1.8.0")))))) |
49 | (build-system python-build-system) |
50 | (arguments |
51 | `(#:python ,python-2)) |
52 | (propagated-inputs |
53 | `(("django-allauth" ,python2-django-allauth) |
54 | ("django-assets" ,python2-django-assets) |
55 | ("django-bulk-update" ,python2-django-bulk-update) |
56 | ("django-contact-form" ,python2-django-contact-form) |
57 | ("django-contrib-comments" ,python2-django-contrib-comments) |
58 | ("django-overextends" ,python2-django-overextends) |
59 | ("django-redis" ,python2-django-redis) |
60 | ("django-rq" ,python2-django-rq) |
61 | ("django-sortedm2m" ,python2-django-sortedm2m) |
62 | ("django-statici18n" ,python2-django-statici18n) |
63 | ("babel" ,python2-babel) |
64 | ("cssmin" ,python2-cssmin) |
65 | ("diff-match-patch" ,python2-diff-match-patch) |
66 | ("dirsync" ,python2-dirsync) |
67 | ("elasticsearch" ,python2-elasticsearch) |
68 | ("jsonfield" ,python2-django-jsonfield) |
69 | ("lxml" ,python2-lxml) |
70 | ("dateutil" ,python2-dateutil-2) |
71 | ("levenshtein" ,python2-levenshtein) |
72 | ("mysqlclient" ,python2-mysqlclient) |
73 | ("psycopg2" ,python2-psycopg2) |
74 | ("pytz" ,python2-pytz) |
75 | ("rq" ,python2-rq) |
76 | ("scandir" ,python2-scandir) |
77 | ("stemming" ,python2-stemming) |
78 | ("translate-toolkit" ,python2-translate-toolkit))) |
79 | (home-page "http://pootle.translatehouse.org/") |
80 | (synopsis "Community localization server") |
81 | (description "Community localization server.") |
82 | (license l:gpl3+))) |
83 |