Commit | Line | Data |
---|---|---|
468bdabb | 1 | ;;; GNU Guix --- Functional package management for GNU |
4a3e602c | 2 | ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com> |
fe542b97 | 3 | ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> |
846b2534 | 4 | ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> |
60edbe22 | 5 | ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com> |
78395334 | 6 | ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> |
48766ea8 | 7 | ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net> |
4670f70a | 8 | ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> |
11e4c1fd | 9 | ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org> |
9576cc72 | 10 | ;;; Copyright © 2016 humanitiesNerd <catonano@gmail.com> |
0985f526 | 11 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> |
c5c08f1b | 12 | ;;; Copyright © 2016 David Thompson <davet@gnu.org> |
ae609001 | 13 | ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com> |
d95e8e01 | 14 | ;;; Copyright © 2016 Roel Janssen <roel@gnu.org> |
ce74e520 | 15 | ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is> |
46bd4515 | 16 | ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> |
59065bb3 | 17 | ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
e7761186 | 18 | ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com> |
154c71e0 | 19 | ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net> |
468bdabb LC |
20 | ;;; |
21 | ;;; This file is part of GNU Guix. | |
22 | ;;; | |
23 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
24 | ;;; under the terms of the GNU General Public License as published by | |
25 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
26 | ;;; your option) any later version. | |
27 | ;;; | |
28 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
29 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
30 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
31 | ;;; GNU General Public License for more details. | |
32 | ;;; | |
33 | ;;; You should have received a copy of the GNU General Public License | |
34 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
35 | ||
1ffa7090 | 36 | (define-module (gnu packages emacs) |
f61e0e79 | 37 | #:use-module ((guix licenses) #:prefix license:) |
468bdabb LC |
38 | #:use-module (guix packages) |
39 | #:use-module (guix download) | |
f906d30c | 40 | #:use-module (guix git-download) |
e5045f30 FB |
41 | #:use-module (guix gexp) |
42 | #:use-module (guix monads) | |
43 | #:use-module (guix store) | |
468bdabb | 44 | #:use-module (guix build-system gnu) |
78395334 | 45 | #:use-module (guix build-system emacs) |
71f57158 | 46 | #:use-module (guix build-system glib-or-gtk) |
fe4163f3 | 47 | #:use-module (guix build-system trivial) |
59a43334 | 48 | #:use-module (gnu packages) |
f906d30c | 49 | #:use-module (gnu packages guile) |
7abe1965 | 50 | #:use-module (gnu packages gtk) |
8ba4dc63 | 51 | #:use-module (gnu packages gnome) |
1ffa7090 | 52 | #:use-module (gnu packages ncurses) |
41184943 | 53 | #:use-module (gnu packages tex) |
1ffa7090 | 54 | #:use-module (gnu packages texinfo) |
a7fd7b68 | 55 | #:use-module (gnu packages tls) |
4f028c8f | 56 | #:use-module (gnu packages pkg-config) |
50efa797 LC |
57 | #:use-module (gnu packages xorg) |
58 | #:use-module (gnu packages lesstif) | |
e55354b8 | 59 | #:use-module (gnu packages image) |
504a83af | 60 | #:use-module (gnu packages linux) |
9a4c9715 | 61 | #:use-module (gnu packages version-control) |
18d26210 MW |
62 | #:use-module (gnu packages imagemagick) |
63 | #:use-module (gnu packages w3m) | |
89925972 | 64 | #:use-module (gnu packages wget) |
18d26210 | 65 | #:use-module (gnu packages autotools) |
be379ee7 | 66 | #:use-module (gnu packages base) |
f61e0e79 | 67 | #:use-module (gnu packages compression) |
50efa797 | 68 | #:use-module (gnu packages xml) |
4a3e602c | 69 | #:use-module (gnu packages glib) |
388fd01b | 70 | #:use-module (gnu packages acl) |
13fe4891 | 71 | #:use-module (gnu packages package-management) |
77c9286d | 72 | #:use-module (gnu packages perl) |
ec9825d6 | 73 | #:use-module (gnu packages pdf) |
58a7dc13 | 74 | #:use-module (gnu packages scheme) |
41184943 | 75 | #:use-module (gnu packages statistics) |
77c9286d LC |
76 | #:use-module (gnu packages xiph) |
77 | #:use-module (gnu packages mp3) | |
154c71e0 | 78 | #:use-module (gnu packages gettext) |
a80b60f4 AI |
79 | #:use-module (gnu packages fribidi) |
80 | #:use-module (gnu packages gd) | |
81 | #:use-module (gnu packages fontutils) | |
4a3e602c TUBK |
82 | #:use-module (guix utils) |
83 | #:use-module (srfi srfi-1)) | |
468bdabb LC |
84 | |
85 | (define-public emacs | |
86 | (package | |
87 | (name "emacs") | |
846b2534 | 88 | (version "25.1") |
468bdabb LC |
89 | (source (origin |
90 | (method url-fetch) | |
91 | (uri (string-append "mirror://gnu/emacs/emacs-" | |
3be9f724 | 92 | version ".tar.xz")) |
468bdabb LC |
93 | (sha256 |
94 | (base32 | |
846b2534 | 95 | "0cwgyiyymnx4xdg99dm2drfxcyhy2jmyf0rkr9fwj9mwwf77kwhr")) |
fc1adab1 | 96 | (patches (search-patches "emacs-exec-path.patch" |
4509ec72 | 97 | "emacs-fix-scheme-indent-function.patch" |
486f36eb AK |
98 | "emacs-source-date-epoch.patch")) |
99 | (modules '((guix build utils))) | |
100 | (snippet | |
101 | ;; Delete the bundled byte-compiled elisp files and | |
102 | ;; generated autoloads. | |
103 | '(with-directory-excursion "lisp" | |
104 | (for-each delete-file | |
105 | (append (find-files "." "\\.elc$") | |
106 | (find-files "." "loaddefs\\.el$") | |
107 | ;; This is the only "autoloads" file that | |
108 | ;; does not have "*loaddefs.el" name. | |
109 | '("eshell/esh-groups.el"))))))) | |
71f57158 | 110 | (build-system glib-or-gtk-build-system) |
468bdabb | 111 | (arguments |
13fe4891 FB |
112 | `(#:phases |
113 | (modify-phases %standard-phases | |
114 | (add-before 'configure 'fix-/bin/pwd | |
115 | (lambda _ | |
116 | ;; Use `pwd', not `/bin/pwd'. | |
117 | (substitute* (find-files "." "^Makefile\\.in$") | |
118 | (("/bin/pwd") | |
119 | "pwd")))) | |
13fe4891 FB |
120 | (add-after 'install 'install-site-start |
121 | ;; Copy guix-emacs.el from Guix and add it to site-start.el. This | |
122 | ;; way, Emacs packages provided by Guix and installed in | |
123 | ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are | |
124 | ;; automatically found. | |
125 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
126 | (let* ((guix-src (assoc-ref inputs "guix-src")) | |
127 | (out (assoc-ref outputs "out")) | |
c48899eb | 128 | (lisp-dir (string-append out "/share/emacs/site-lisp")) |
13fe4891 FB |
129 | (unpack (assoc-ref %standard-phases 'unpack))) |
130 | (mkdir "guix") | |
131 | (with-directory-excursion "guix" | |
132 | (apply unpack (list #:source guix-src)) | |
133 | (install-file "emacs/guix-emacs.el" lisp-dir)) | |
134 | (with-output-to-file (string-append lisp-dir "/site-start.el") | |
135 | (lambda () | |
136 | (display "(require 'guix-emacs nil t)"))) | |
137 | #t)))))) | |
468bdabb | 138 | (inputs |
c4c4cc05 | 139 | `(("gnutls" ,gnutls) |
468bdabb LC |
140 | ("ncurses" ,ncurses) |
141 | ||
142 | ;; TODO: Add the optional dependencies. | |
fa275717 | 143 | ("libx11" ,libx11) |
0a9e9a63 | 144 | ("gtk+" ,gtk+) |
fa275717 | 145 | ("libxft" ,libxft) |
50efa797 | 146 | ("libtiff" ,libtiff) |
504a83af | 147 | ("giflib" ,giflib) |
50efa797 | 148 | ("libjpeg" ,libjpeg-8) |
388fd01b | 149 | ("acl" ,acl) |
50efa797 LC |
150 | |
151 | ;; When looking for libpng `configure' links with `-lpng -lz', so we | |
152 | ;; must also provide zlib as an input. | |
153 | ("libpng" ,libpng) | |
f61e0e79 | 154 | ("zlib" ,zlib) |
50efa797 | 155 | |
8ba4dc63 | 156 | ("librsvg" ,librsvg) |
fa275717 | 157 | ("libxpm" ,libxpm) |
50efa797 | 158 | ("libxml2" ,libxml2) |
504a83af MW |
159 | ("libice" ,libice) |
160 | ("libsm" ,libsm) | |
161 | ("alsa-lib" ,alsa-lib) | |
13fe4891 | 162 | ("dbus" ,dbus) |
01c5c21a AI |
163 | ("guix-src" ,(package-source guix)) |
164 | ||
165 | ;; multilingualization support | |
166 | ("libotf" ,libotf) | |
167 | ("m17n-lib" ,m17n-lib))) | |
c4c4cc05 JD |
168 | (native-inputs |
169 | `(("pkg-config" ,pkg-config) | |
170 | ("texinfo" ,texinfo))) | |
64c98347 LC |
171 | |
172 | (native-search-paths | |
173 | (list (search-path-specification | |
174 | (variable "INFOPATH") | |
175 | (files '("share/info"))))) | |
176 | ||
468bdabb | 177 | (home-page "http://www.gnu.org/software/emacs/") |
f50d2669 | 178 | (synopsis "The extensible, customizable, self-documenting text editor") |
468bdabb | 179 | (description |
79c311b8 LC |
180 | "GNU Emacs is an extensible and highly customizable text editor. It is |
181 | based on an Emacs Lisp interpreter with extensions for text editing. Emacs | |
182 | has been extended in essentially all areas of computing, giving rise to a | |
183 | vast array of packages supporting, e.g., email, IRC and XMPP messaging, | |
184 | spreadsheets, remote server editing, and much more. Emacs includes extensive | |
185 | documentation on all aspects of the system, from basic editing to writing | |
186 | large Lisp programs. It has full Unicode support for nearly all human | |
187 | languages.") | |
f61e0e79 | 188 | (license license:gpl3+))) |
4f028c8f | 189 | |
b2eaf7ba | 190 | (define-public emacs-minimal |
4fd540b7 LC |
191 | ;; This is the version that you should use as an input to packages that just |
192 | ;; need to byte-compile .el files. | |
b2eaf7ba AK |
193 | (package (inherit emacs) |
194 | (name "emacs-minimal") | |
195 | (synopsis "The extensible text editor (used only for byte-compilation)") | |
196 | (build-system gnu-build-system) | |
197 | (arguments | |
198 | (substitute-keyword-arguments (package-arguments emacs) | |
199 | ((#:phases phases) | |
200 | `(modify-phases ,phases | |
201 | (delete 'install-site-start))))) | |
202 | (inputs | |
203 | `(("ncurses" ,ncurses))) | |
204 | (native-inputs | |
205 | `(("pkg-config" ,pkg-config))))) | |
206 | ||
207 | (define-public emacs-no-x | |
4fd540b7 | 208 | (package (inherit emacs) |
4fd540b7 LC |
209 | (name "emacs-no-x") |
210 | (synopsis "The extensible, customizable, self-documenting text | |
211 | editor (console only)") | |
212 | (build-system gnu-build-system) | |
213 | (inputs (fold alist-delete | |
214 | (package-inputs emacs) | |
215 | '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg" | |
8ba4dc63 | 216 | "libpng" "librsvg" "libxpm" "libice" "libsm" |
4fd540b7 LC |
217 | |
218 | ;; D-Bus depends on libx11, so remove it as well. | |
219 | "dbus"))))) | |
220 | ||
4a3e602c TUBK |
221 | (define-public emacs-no-x-toolkit |
222 | (package (inherit emacs) | |
223 | (name "emacs-no-x-toolkit") | |
224 | (synopsis "The extensible, customizable, self-documenting text | |
225 | editor (without an X toolkit)" ) | |
71f57158 | 226 | (build-system gnu-build-system) |
388fd01b MW |
227 | (inputs (append `(("inotify-tools" ,inotify-tools)) |
228 | (alist-delete "gtk+" (package-inputs emacs)))) | |
229 | (arguments (append '(#:configure-flags '("--with-x-toolkit=no")) | |
230 | (package-arguments emacs))))) | |
4a3e602c | 231 | |
f906d30c CAW |
232 | (define-public guile-emacs |
233 | (package (inherit emacs) | |
234 | (name "guile-emacs") | |
235 | (version "20150512.41120e0") | |
236 | (source (origin | |
237 | (method git-fetch) | |
238 | (uri (git-reference | |
239 | (url "git://git.hcoop.net/git/bpt/emacs.git") | |
240 | (commit "41120e0f595b16387eebfbf731fff70481de1b4b"))) | |
241 | (sha256 | |
242 | (base32 | |
243 | "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6")))) | |
244 | (native-inputs | |
245 | `(("autoconf" ,autoconf) | |
246 | ("automake" ,automake) | |
247 | ("guile" ,guile-for-guile-emacs) | |
248 | ,@(package-native-inputs emacs))) | |
249 | (arguments | |
250 | (substitute-keyword-arguments `(;; Build fails if we allow parallel build. | |
251 | #:parallel-build? #f | |
252 | ;; Tests aren't passing for now. | |
253 | #:tests? #f | |
254 | ,@(package-arguments emacs)) | |
255 | ((#:phases phases) | |
256 | `(modify-phases ,phases | |
257 | (add-after 'unpack 'autogen | |
258 | (lambda _ | |
259 | (zero? (system* "sh" "autogen.sh")))))))))) | |
260 | ||
4f028c8f LC |
261 | \f |
262 | ;;; | |
263 | ;;; Emacs hacking. | |
264 | ;;; | |
265 | ||
266 | (define-public geiser | |
267 | (package | |
268 | (name "geiser") | |
113e23e0 | 269 | (version "0.9") |
4f028c8f LC |
270 | (source (origin |
271 | (method url-fetch) | |
cf8f58b2 LC |
272 | (uri (string-append "mirror://savannah/geiser/" version |
273 | "/geiser-" version ".tar.gz")) | |
4f028c8f | 274 | (sha256 |
1f8ad12a | 275 | (base32 |
113e23e0 | 276 | "1n772ysl1dmn0vy3gk230ymyjm14h93zw99y6h2rqp1ixy7v43dm")))) |
4f028c8f | 277 | (build-system gnu-build-system) |
d51cafb0 AK |
278 | (arguments |
279 | '(#:phases (alist-cons-after | |
280 | 'install 'post-install | |
281 | (lambda* (#:key outputs #:allow-other-keys) | |
282 | (symlink "geiser-install.el" | |
283 | (string-append (assoc-ref outputs "out") | |
284 | "/share/emacs/site-lisp/" | |
285 | "geiser-autoloads.el"))) | |
286 | %standard-phases))) | |
6aaf3899 | 287 | (inputs `(("guile" ,guile-2.0))) |
b8fc3622 | 288 | (native-inputs `(("emacs" ,emacs-minimal))) |
4f028c8f LC |
289 | (home-page "http://nongnu.org/geiser/") |
290 | (synopsis "Collection of Emacs modes for Guile and Racket hacking") | |
291 | (description | |
9586011d LC |
292 | "Geiser is a collection of Emacs major and minor modes that conspire with |
293 | one or more Scheme implementations to keep the Lisp Machine Spirit alive. The | |
294 | continuously running Scheme interpreter takes the center of the stage in | |
295 | Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme | |
296 | implementation, Emacs and, ultimately, the schemer, giving them access to live | |
297 | metadata.") | |
f61e0e79 | 298 | (license license:bsd-3))) |
9a4c9715 | 299 | |
11e4c1fd | 300 | (define-public geiser-next |
fb0de6f7 AK |
301 | ;; This has become "geiser". |
302 | (deprecated-package "geiser-next" geiser)) | |
11e4c1fd | 303 | |
fe4163f3 MW |
304 | (define-public paredit |
305 | (package | |
967cfd18 | 306 | (name "emacs-paredit") |
c181b870 | 307 | (version "24") |
fe4163f3 | 308 | (source (origin |
c181b870 AK |
309 | (method url-fetch) |
310 | (uri (string-append "http://mumble.net/~campbell/emacs/paredit-" | |
311 | version ".el")) | |
312 | (sha256 | |
313 | (base32 | |
314 | "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka")))) | |
fe4163f3 | 315 | (build-system trivial-build-system) |
b8fc3622 | 316 | (native-inputs `(("emacs" ,emacs-minimal))) |
fe4163f3 MW |
317 | (arguments |
318 | `(#:modules ((guix build utils) | |
319 | (guix build emacs-utils)) | |
320 | #:builder | |
321 | (begin | |
322 | (use-modules (guix build utils)) | |
323 | (use-modules (guix build emacs-utils)) | |
324 | ||
325 | (let* ((emacs (string-append (assoc-ref %build-inputs "emacs") | |
326 | "/bin/emacs")) | |
327 | (source (assoc-ref %build-inputs "source")) | |
328 | (lisp-dir (string-append %output | |
329 | "/share/emacs/site-lisp")) | |
330 | (target (string-append lisp-dir "/paredit.el"))) | |
331 | (mkdir-p lisp-dir) | |
332 | (copy-file source target) | |
333 | (with-directory-excursion lisp-dir | |
334 | (parameterize ((%emacs emacs)) | |
d51cafb0 | 335 | (emacs-generate-autoloads ,name lisp-dir) |
fe4163f3 MW |
336 | (emacs-batch-eval '(byte-compile-file "paredit.el")))))))) |
337 | (home-page "http://mumble.net/~campbell/emacs/paredit/") | |
338 | (synopsis "Emacs minor mode for editing parentheses") | |
339 | (description | |
340 | "ParEdit (paredit.el) is a minor mode for performing structured editing | |
341 | of S-expression data. The typical example of this would be Lisp or Scheme | |
342 | source code. | |
343 | ||
344 | ParEdit helps **keep parentheses balanced** and adds many keys for moving | |
345 | S-expressions and moving around in S-expressions. Its behavior can be jarring | |
346 | for those who may want transient periods of unbalanced parentheses, such as | |
347 | when typing parentheses directly or commenting out code line by line.") | |
f61e0e79 | 348 | (license license:gpl3+))) |
fe4163f3 | 349 | |
967cfd18 LC |
350 | (define-public paredit/old-name |
351 | (deprecated-package "paredit" paredit)) | |
352 | ||
2f910ef6 LC |
353 | (define-public git-modes |
354 | (package | |
355 | (name "git-modes") | |
d1dfa22f | 356 | (version "1.2.2") |
2f910ef6 LC |
357 | (source (origin |
358 | (method url-fetch) | |
359 | (uri (string-append | |
360 | "https://github.com/magit/git-modes/archive/" | |
361 | version ".tar.gz")) | |
8fd3c1ff | 362 | (file-name (string-append name "-" version ".tar.gz")) |
2f910ef6 LC |
363 | (sha256 |
364 | (base32 | |
d1dfa22f | 365 | "0gb9c18jib8rpm14vig9774104lwmd8353ps0259m861syf6664d")))) |
2f910ef6 LC |
366 | (build-system gnu-build-system) |
367 | (arguments | |
368 | `(#:modules ((guix build gnu-build-system) | |
369 | (guix build emacs-utils) | |
370 | (guix build utils)) | |
371 | #:imported-modules (,@%gnu-build-system-modules | |
372 | (guix build emacs-utils)) | |
373 | ||
374 | #:make-flags (list (string-append "PREFIX=" | |
375 | (assoc-ref %outputs "out")) | |
376 | ;; Don't put .el files in a 'git-modes' | |
377 | ;; sub-directory. | |
378 | (string-append "LISPDIR=" | |
379 | (assoc-ref %outputs "out") | |
380 | "/share/emacs/site-lisp")) | |
89949e8f | 381 | #:tests? #f ; no check target |
2f910ef6 LC |
382 | #:phases (modify-phases %standard-phases |
383 | (delete 'configure) | |
384 | (add-after 'install 'emacs-autoloads | |
385 | (lambda* (#:key outputs #:allow-other-keys) | |
386 | (let* ((out (assoc-ref outputs "out")) | |
387 | (lisp (string-append | |
388 | out "/share/emacs/site-lisp/"))) | |
389 | (emacs-generate-autoloads ,name lisp))))))) | |
b8fc3622 | 390 | (native-inputs `(("emacs" ,emacs-minimal))) |
2f910ef6 LC |
391 | (home-page "https://github.com/magit/git-modes") |
392 | (synopsis "Emacs major modes for Git configuration files") | |
393 | (description | |
394 | "This package provides Emacs major modes for editing various Git | |
395 | configuration files, such as .gitattributes, .gitignore, and .git/config.") | |
396 | (license license:gpl3+))) | |
397 | ||
2b0e4300 AK |
398 | (define-public emacs-with-editor |
399 | (package | |
400 | (name "emacs-with-editor") | |
4a1eafb0 | 401 | (version "2.5.6") |
2b0e4300 AK |
402 | (source (origin |
403 | (method url-fetch) | |
404 | (uri (string-append | |
405 | "https://github.com/magit/with-editor/archive/v" | |
406 | version ".tar.gz")) | |
407 | (file-name (string-append name "-" version ".tar.gz")) | |
408 | (sha256 | |
409 | (base32 | |
4a1eafb0 | 410 | "14vypqj3wqym5yd0nggfm1xdgq5hv1kwxkg6i8ymlpxcdfxj45w7")))) |
2b0e4300 AK |
411 | (build-system emacs-build-system) |
412 | (propagated-inputs | |
413 | `(("emacs-dash" ,emacs-dash))) | |
414 | (home-page "https://github.com/magit/with-editor") | |
415 | (synopsis "Emacs library for using Emacsclient as EDITOR") | |
416 | (description | |
417 | "This package provides an Emacs library to use the Emacsclient as | |
418 | @code{$EDITOR} of child processes, making sure they know how to call home. | |
419 | For remote processes a substitute is provided, which communicates with Emacs | |
420 | on stdout instead of using a socket as the Emacsclient does.") | |
421 | (license license:gpl3+))) | |
422 | ||
9a4c9715 MW |
423 | (define-public magit |
424 | (package | |
425 | (name "magit") | |
e15cb9a3 | 426 | (version "2.8.0") |
9a4c9715 MW |
427 | (source (origin |
428 | (method url-fetch) | |
fac8b30b MW |
429 | (uri (string-append |
430 | "https://github.com/magit/magit/releases/download/" | |
431 | version "/" name "-" version ".tar.gz")) | |
9a4c9715 | 432 | (sha256 |
7e4871ba | 433 | (base32 |
e15cb9a3 | 434 | "1znvb7inwinrhifqzwp4lp9j6yp1l25j7riczc0zmvcjbpl5yhfq")))) |
9a4c9715 | 435 | (build-system gnu-build-system) |
2c047b4a | 436 | (native-inputs `(("texinfo" ,texinfo) |
b8fc3622 | 437 | ("emacs" ,emacs-minimal))) |
46bd4515 AG |
438 | (inputs |
439 | `(("git" ,git) | |
440 | ("perl" ,perl))) | |
3db5ed11 AK |
441 | (propagated-inputs |
442 | `(("dash" ,emacs-dash) | |
443 | ("with-editor" ,emacs-with-editor))) | |
9a4c9715 MW |
444 | (arguments |
445 | `(#:modules ((guix build gnu-build-system) | |
446 | (guix build utils) | |
447 | (guix build emacs-utils)) | |
8ff3df5b | 448 | #:imported-modules (,@%gnu-build-system-modules |
9a4c9715 | 449 | (guix build emacs-utils)) |
7e4871ba LC |
450 | |
451 | #:test-target "test" | |
55f29c39 | 452 | #:tests? #f ; tests are not included in the release |
7e4871ba | 453 | |
55f29c39 AK |
454 | #:make-flags |
455 | (list (string-append "PREFIX=" %output) | |
456 | ;; Don't put .el files in a sub-directory. | |
457 | (string-append "lispdir=" %output "/share/emacs/site-lisp") | |
458 | (string-append "DASH_DIR=" | |
459 | (assoc-ref %build-inputs "dash") | |
460 | "/share/emacs/site-lisp/guix.d/dash-" | |
3db5ed11 AK |
461 | ,(package-version emacs-dash)) |
462 | (string-append "WITH_EDITOR_DIR=" | |
463 | (assoc-ref %build-inputs "with-editor") | |
464 | "/share/emacs/site-lisp/guix.d/with-editor-" | |
465 | ,(package-version emacs-with-editor))) | |
d41a8a07 | 466 | |
9a4c9715 | 467 | #:phases |
c466bfd1 | 468 | (modify-phases %standard-phases |
55f29c39 | 469 | (delete 'configure) |
c466bfd1 LC |
470 | (add-before |
471 | 'build 'patch-exec-paths | |
472 | (lambda* (#:key inputs #:allow-other-keys) | |
46bd4515 AG |
473 | (let ((git (assoc-ref inputs "git")) |
474 | (perl (assoc-ref inputs "perl"))) | |
55f29c39 AK |
475 | (emacs-substitute-variables "lisp/magit-git.el" |
476 | ("magit-git-executable" (string-append git "/bin/git"))) | |
46bd4515 AG |
477 | (substitute* "lisp/magit-sequence.el" |
478 | (("perl") (string-append perl "/bin/perl"))) | |
55f29c39 | 479 | #t)))))) |
9a4c9715 MW |
480 | (home-page "http://magit.github.io/") |
481 | (synopsis "Emacs interface for the Git version control system") | |
482 | (description | |
483 | "With Magit, you can inspect and modify your Git repositories with Emacs. | |
484 | You can review and commit the changes you have made to the tracked files, for | |
485 | example, and you can browse the history of past changes. There is support for | |
486 | cherry picking, reverting, merging, rebasing, and other common Git | |
487 | operations.") | |
f61e0e79 | 488 | (license license:gpl3+))) |
18d26210 | 489 | |
97cc51f8 LC |
490 | (define-public magit-svn |
491 | (package | |
492 | (name "magit-svn") | |
b7f16845 | 493 | (version "2.1.1") |
97cc51f8 | 494 | (source (origin |
be379ee7 AK |
495 | (method url-fetch) |
496 | (uri (string-append | |
497 | "https://github.com/magit/magit-svn/archive/" | |
498 | version ".tar.gz")) | |
499 | (file-name (string-append name "-" version ".tar.gz")) | |
97cc51f8 LC |
500 | (sha256 |
501 | (base32 | |
b7f16845 | 502 | "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz")))) |
97cc51f8 | 503 | (build-system trivial-build-system) |
b8fc3622 | 504 | (native-inputs `(("emacs" ,emacs-minimal) |
be379ee7 AK |
505 | ("tar" ,tar) |
506 | ("gzip" ,gzip))) | |
507 | (propagated-inputs `(("dash" ,emacs-dash) | |
508 | ("magit" ,magit))) | |
97cc51f8 LC |
509 | (arguments |
510 | `(#:modules ((guix build utils) | |
511 | (guix build emacs-utils)) | |
512 | ||
513 | #:builder | |
514 | (begin | |
515 | (use-modules (guix build utils) | |
516 | (guix build emacs-utils)) | |
517 | ||
be379ee7 AK |
518 | (let* ((tar (string-append (assoc-ref %build-inputs "tar") |
519 | "/bin/tar")) | |
520 | (PATH (string-append (assoc-ref %build-inputs "gzip") | |
521 | "/bin")) | |
522 | (emacs (string-append (assoc-ref %build-inputs "emacs") | |
97cc51f8 LC |
523 | "/bin/emacs")) |
524 | (magit (string-append (assoc-ref %build-inputs "magit") | |
525 | "/share/emacs/site-lisp")) | |
be379ee7 AK |
526 | (dash (string-append (assoc-ref %build-inputs "dash") |
527 | "/share/emacs/site-lisp/guix.d/dash-" | |
528 | ,(package-version emacs-dash))) | |
97cc51f8 LC |
529 | (source (assoc-ref %build-inputs "source")) |
530 | (lisp-dir (string-append %output "/share/emacs/site-lisp"))) | |
be379ee7 AK |
531 | (setenv "PATH" PATH) |
532 | (system* tar "xvf" source) | |
96c46210 LC |
533 | |
534 | (install-file (string-append ,name "-" ,version "/magit-svn.el") | |
535 | lisp-dir) | |
97cc51f8 LC |
536 | |
537 | (with-directory-excursion lisp-dir | |
538 | (parameterize ((%emacs emacs)) | |
539 | (emacs-generate-autoloads ,name lisp-dir) | |
540 | (setenv "EMACSLOADPATH" | |
be379ee7 | 541 | (string-append ":" magit ":" dash)) |
97cc51f8 LC |
542 | (emacs-batch-eval '(byte-compile-file "magit-svn.el")))))))) |
543 | (home-page "https://github.com/magit/magit-svn") | |
544 | (synopsis "Git-SVN extension to Magit") | |
545 | (description | |
546 | "This package is an extension to Magit, the Git Emacs mode, providing | |
547 | support for Git-SVN.") | |
548 | (license license:gpl3+))) | |
549 | ||
c1562e3d AK |
550 | (define-public emacs-magit-popup |
551 | (package | |
552 | (name "emacs-magit-popup") | |
553 | (version (package-version magit)) | |
554 | (source (origin | |
555 | (method url-fetch) | |
556 | (uri (string-append | |
557 | "https://raw.githubusercontent.com/magit/magit/" | |
558 | version "/lisp/magit-popup.el")) | |
559 | (file-name (string-append "magit-popup-" version ".el")) | |
560 | (sha256 | |
561 | (base32 | |
e15cb9a3 | 562 | "0lmw824zp8c0vhikfkiay9wn4nmaksz6mfy0fldvy4wlx5c26yh3")))) |
c1562e3d AK |
563 | (build-system emacs-build-system) |
564 | (propagated-inputs | |
565 | `(("emacs-dash" ,emacs-dash))) | |
566 | (home-page "https://github.com/magit/magit") | |
567 | (synopsis "Define prefix-infix-suffix command combos") | |
568 | (description | |
569 | "This library implements a generic interface for toggling switches and | |
570 | setting options and then invoking an Emacs command which does something with | |
571 | these arguments. The prototypical use is for the command to call an external | |
572 | process, passing on the arguments as command line arguments.") | |
573 | (license license:gpl3+))) | |
574 | ||
00f4bd50 FB |
575 | (define-public haskell-mode |
576 | (package | |
577 | (name "haskell-mode") | |
578 | (version "13.14.2") | |
579 | (source (origin | |
580 | (method url-fetch) | |
581 | (file-name (string-append name "-" version ".tar.gz")) | |
582 | (uri (string-append | |
583 | "https://github.com/haskell/haskell-mode/archive/v" | |
584 | version ".tar.gz")) | |
585 | (sha256 | |
586 | (base32 "1kxc2yj8vb122dv91r68h7c5ladcryx963fr16plfhg71fv7f9av")))) | |
00f4bd50 | 587 | (native-inputs |
b8fc3622 | 588 | `(("emacs" ,emacs-minimal) |
6aaf3899 | 589 | ("texinfo" ,texinfo))) |
00f4bd50 FB |
590 | (build-system gnu-build-system) |
591 | (arguments | |
592 | `(#:make-flags (list (string-append "EMACS=" | |
593 | (assoc-ref %build-inputs "emacs") | |
594 | "/bin/emacs")) | |
595 | #:phases | |
596 | (modify-phases %standard-phases | |
597 | (delete 'configure) | |
598 | (add-before | |
599 | 'build 'pre-build | |
600 | (lambda* (#:key inputs #:allow-other-keys) | |
601 | (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh"))) | |
602 | (setenv "SHELL" "sh") | |
603 | (substitute* (find-files "." "\\.el") (("/bin/sh") sh)) | |
604 | #t))) | |
605 | (replace | |
606 | 'install | |
607 | (lambda* (#:key outputs #:allow-other-keys) | |
608 | (let* ((out (assoc-ref outputs "out")) | |
609 | (el-dir (string-append out "/share/emacs/site-lisp")) | |
610 | (doc (string-append | |
611 | out "/share/doc/haskell-mode-" ,version)) | |
612 | (info (string-append out "/share/info"))) | |
613 | (define (copy-to-dir dir files) | |
96c46210 LC |
614 | (for-each (lambda (f) |
615 | (install-file f dir)) | |
616 | files)) | |
00f4bd50 FB |
617 | |
618 | (with-directory-excursion "doc" | |
619 | (unless (zero? (system* "makeinfo" "haskell-mode.texi")) | |
620 | (error "makeinfo failed")) | |
96c46210 | 621 | (install-file "haskell-mode.info" info)) |
00f4bd50 FB |
622 | (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md")) |
623 | (copy-to-dir el-dir (find-files "." "\\.elc?")) | |
624 | ;; these are now distributed with emacs | |
625 | (with-directory-excursion el-dir | |
626 | (for-each delete-file '("cl-lib.el" "ert.el"))) | |
627 | #t)))))) | |
628 | (home-page "https://github.com/haskell/haskell-mode") | |
629 | (synopsis "Haskell mode for Emacs") | |
630 | (description | |
631 | "This is an Emacs mode for editing, debugging and developing Haskell | |
632 | programs.") | |
633 | (license license:gpl3+))) | |
634 | ||
1defd8cd LC |
635 | (define-public let-alist |
636 | (package | |
637 | (name "emacs-let-alist") | |
638 | (version "1.0.4") | |
639 | (source (origin | |
640 | (method url-fetch) | |
f32ffa04 | 641 | (uri (string-append "https://elpa.gnu.org/packages/let-alist-" |
1defd8cd LC |
642 | version ".el")) |
643 | (sha256 | |
644 | (base32 | |
645 | "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x")))) | |
646 | (build-system trivial-build-system) | |
647 | (arguments | |
648 | `(#:modules ((guix build utils) | |
649 | (guix build emacs-utils)) | |
650 | ||
651 | #:builder (begin | |
652 | (use-modules (guix build emacs-utils) | |
653 | (guix build utils)) | |
654 | ||
655 | (let* ((out (assoc-ref %outputs "out")) | |
656 | (lispdir (string-append out | |
657 | "/share/emacs/site-lisp/" | |
658 | "guix.d/let-alist-" | |
659 | ,version)) | |
660 | (emacs (assoc-ref %build-inputs "emacs"))) | |
661 | ||
662 | (mkdir-p lispdir) | |
663 | (copy-file (assoc-ref %build-inputs "source") | |
664 | (string-append lispdir "/let-alist.el")) | |
665 | ||
666 | (setenv "PATH" (string-append emacs "/bin")) | |
667 | (emacs-byte-compile-directory lispdir) | |
668 | #t)))) | |
b8fc3622 | 669 | (native-inputs `(("emacs" ,emacs-minimal))) |
f32ffa04 | 670 | (home-page "https://elpa.gnu.org/packages/let-alist.html") |
1defd8cd LC |
671 | (synopsis "Easily let-bind values of an assoc-list by their names") |
672 | (description | |
673 | "This package offers a single Emacs Lisp macro, @code{let-alist}. This | |
674 | macro takes a first argument, whose value must be an alist (association list), | |
675 | and a body. | |
676 | ||
677 | The macro expands to a let form containing the body, where each dotted symbol | |
678 | inside body is let-bound to their cdrs in the alist. Only those present in | |
679 | the body are let-bound and this search is done at compile time.") | |
680 | (license license:gpl3+))) | |
681 | ||
6e3fdbbe LC |
682 | (define-public flycheck |
683 | (package | |
684 | (name "emacs-flycheck") | |
afb6fdaa | 685 | (version "28") |
6e3fdbbe LC |
686 | (source (origin |
687 | (method url-fetch) | |
0b928076 AK |
688 | (uri (string-append |
689 | "https://github.com/flycheck/flycheck/releases/download/" | |
690 | version "/flycheck-" version ".tar")) | |
6e3fdbbe LC |
691 | (sha256 |
692 | (base32 | |
afb6fdaa | 693 | "1yjxivk11d7w39zfhj2xr4h6xhwx1aj6yhyzd63rjrad7xpjfl86")))) |
6e3fdbbe LC |
694 | (build-system emacs-build-system) |
695 | (propagated-inputs | |
696 | `(("emacs-dash" ,emacs-dash) | |
bdff55ea LC |
697 | ("emacs-let-alist" ,let-alist) |
698 | ("emacs-seq" ,emacs-seq))) | |
6e3fdbbe LC |
699 | (home-page "https://www.flycheck.org") |
700 | (synopsis "On-the-fly syntax checking") | |
701 | (description | |
702 | "This package provides on-the-fly syntax checking for GNU Emacs. It is a | |
703 | replacement for the older Flymake extension which is part of GNU Emacs, with | |
704 | many improvements and additional features. | |
705 | ||
706 | Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax | |
707 | checking for over 30 programming and markup languages with more than 70 | |
708 | different tools. It highlights errors and warnings inline in the buffer, and | |
709 | provides an optional IDE-like error list.") | |
710 | (license license:gpl3+))) ;+GFDLv1.3+ for the manual | |
711 | ||
18d26210 MW |
712 | \f |
713 | ;;; | |
714 | ;;; Web browsing. | |
715 | ;;; | |
716 | ||
717 | (define-public emacs-w3m | |
718 | (package | |
719 | (name "emacs-w3m") | |
2e74b9f4 | 720 | (version "1.4.538+0.20141022") |
18d26210 MW |
721 | (source (origin |
722 | (method url-fetch) | |
723 | (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_" | |
724 | version ".orig.tar.gz")) | |
725 | (sha256 | |
2e74b9f4 AK |
726 | (base32 |
727 | "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y")))) | |
18d26210 | 728 | (build-system gnu-build-system) |
6aaf3899 | 729 | (native-inputs `(("autoconf" ,autoconf) |
b8fc3622 | 730 | ("emacs" ,emacs-minimal))) |
18d26210 | 731 | (inputs `(("w3m" ,w3m) |
6aaf3899 | 732 | ("imagemagick" ,imagemagick))) |
18d26210 | 733 | (arguments |
caaf1933 | 734 | `(#:modules ((guix build gnu-build-system) |
18d26210 MW |
735 | (guix build utils) |
736 | (guix build emacs-utils)) | |
8ff3df5b | 737 | #:imported-modules (,@%gnu-build-system-modules |
18d26210 MW |
738 | (guix build emacs-utils)) |
739 | #:configure-flags | |
740 | (let ((out (assoc-ref %outputs "out"))) | |
741 | (list (string-append "--with-lispdir=" | |
742 | out "/share/emacs/site-lisp") | |
743 | (string-append "--with-icondir=" | |
2e74b9f4 AK |
744 | out "/share/images/emacs-w3m") |
745 | ;; Leave .el files uncompressed, otherwise GC can't | |
746 | ;; identify run-time dependencies. See | |
747 | ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html> | |
748 | "--without-compress-install")) | |
18d26210 MW |
749 | #:tests? #f ; no check target |
750 | #:phases | |
932ece65 AK |
751 | (modify-phases %standard-phases |
752 | (add-after 'unpack 'autoconf | |
753 | (lambda _ | |
754 | (zero? (system* "autoconf")))) | |
755 | (add-before 'build 'patch-exec-paths | |
756 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
757 | (let ((out (assoc-ref outputs "out")) | |
758 | (w3m (assoc-ref inputs "w3m")) | |
759 | (imagemagick (assoc-ref inputs "imagemagick")) | |
760 | (coreutils (assoc-ref inputs "coreutils"))) | |
761 | (emacs-substitute-variables "w3m.el" | |
762 | ("w3m-command" (string-append w3m "/bin/w3m")) | |
763 | ("w3m-touch-command" | |
764 | (string-append coreutils "/bin/touch")) | |
765 | ("w3m-image-viewer" | |
766 | (string-append imagemagick "/bin/display")) | |
767 | ("w3m-icon-directory" | |
768 | (string-append out "/share/images/emacs-w3m"))) | |
769 | (emacs-substitute-variables "w3m-image.el" | |
770 | ("w3m-imagick-convert-program" | |
771 | (string-append imagemagick "/bin/convert")) | |
772 | ("w3m-imagick-identify-program" | |
773 | (string-append imagemagick "/bin/identify"))) | |
774 | #t))) | |
775 | (replace 'install | |
776 | (lambda* (#:key outputs #:allow-other-keys) | |
777 | (and (zero? (system* "make" "install" "install-icons")) | |
778 | (with-directory-excursion | |
779 | (string-append (assoc-ref outputs "out") | |
780 | "/share/emacs/site-lisp") | |
781 | (for-each delete-file '("ChangeLog" "ChangeLog.1")) | |
782 | (symlink "w3m-load.el" "w3m-autoloads.el") | |
783 | #t))))))) | |
18d26210 MW |
784 | (home-page "http://emacs-w3m.namazu.org/") |
785 | (synopsis "Simple Web browser for Emacs based on w3m") | |
786 | (description | |
35b9e423 | 787 | "Emacs-w3m is an emacs interface for the w3m web browser.") |
f61e0e79 | 788 | (license license:gpl2+))) |
89925972 MW |
789 | |
790 | (define-public emacs-wget | |
791 | (package | |
792 | (name "emacs-wget") | |
793 | (version "0.5.0") | |
794 | (source (origin | |
795 | (method url-fetch) | |
796 | (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_" | |
797 | version ".orig.tar.gz")) | |
798 | (sha256 | |
799 | (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff")))) | |
800 | (build-system gnu-build-system) | |
6aaf3899 | 801 | (inputs `(("wget" ,wget))) |
b8fc3622 | 802 | (native-inputs `(("emacs" ,emacs-minimal))) |
89925972 | 803 | (arguments |
caaf1933 | 804 | `(#:modules ((guix build gnu-build-system) |
89925972 MW |
805 | (guix build utils) |
806 | (guix build emacs-utils)) | |
caaf1933 | 807 | #:imported-modules (,@%gnu-build-system-modules |
89925972 MW |
808 | (guix build emacs-utils)) |
809 | #:tests? #f ; no check target | |
810 | #:phases | |
811 | (alist-replace | |
812 | 'configure | |
813 | (lambda* (#:key outputs #:allow-other-keys) | |
814 | (substitute* "Makefile" | |
815 | (("/usr/local") (assoc-ref outputs "out")) | |
816 | (("/site-lisp/emacs-wget") "/site-lisp"))) | |
817 | (alist-cons-before | |
818 | 'build 'patch-exec-paths | |
819 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
820 | (let ((wget (assoc-ref inputs "wget"))) | |
821 | (emacs-substitute-variables "wget.el" | |
822 | ("wget-command" (string-append wget "/bin/wget"))))) | |
d51cafb0 AK |
823 | (alist-cons-after |
824 | 'install 'post-install | |
825 | (lambda* (#:key outputs #:allow-other-keys) | |
826 | (emacs-generate-autoloads | |
827 | "wget" (string-append (assoc-ref outputs "out") | |
828 | "/share/emacs/site-lisp/"))) | |
829 | %standard-phases))))) | |
89925972 | 830 | (home-page "http://www.emacswiki.org/emacs/EmacsWget") |
ae2189a9 | 831 | (synopsis "Simple file downloader for Emacs based on wget") |
89925972 | 832 | (description |
35b9e423 | 833 | "Emacs-wget is an emacs interface for the wget file downloader.") |
f61e0e79 | 834 | (license license:gpl2+))) |
77c9286d LC |
835 | |
836 | \f | |
837 | ;;; | |
838 | ;;; Multimedia. | |
839 | ;;; | |
840 | ||
841 | (define-public emms | |
842 | (package | |
d06d4d7b | 843 | (name "emacs-emms") |
0985f526 | 844 | (version "4.1") |
77c9286d LC |
845 | (source (origin |
846 | (method url-fetch) | |
847 | (uri (string-append "mirror://gnu/emms/emms-" | |
848 | version ".tar.gz")) | |
849 | (sha256 | |
850 | (base32 | |
0985f526 | 851 | "0ay6631p3dr6xnhkm7skwn0gp317r1mxbip28m126w4zqf05cbh3")) |
77c9286d LC |
852 | (modules '((guix build utils))) |
853 | (snippet | |
854 | '(substitute* "Makefile" | |
855 | (("/usr/bin/install-info") | |
856 | ;; No need to use 'install-info' since it would create a | |
857 | ;; useless 'dir' file. | |
858 | "true") | |
859 | (("^INFODIR=.*") | |
860 | ;; Install Info files to $out/share/info, not $out/info. | |
861 | "INFODIR := $(PREFIX)/share/info\n") | |
862 | (("/site-lisp/emms") | |
863 | ;; Install directly in share/emacs/site-lisp, not in a | |
864 | ;; sub-directory. | |
865 | "/site-lisp") | |
866 | (("^all: (.*)\n" _ rest) | |
867 | ;; Build 'emms-print-metadata'. | |
868 | (string-append "all: " rest " emms-print-metadata\n")))))) | |
869 | (build-system gnu-build-system) | |
870 | (arguments | |
caaf1933 | 871 | `(#:modules ((guix build gnu-build-system) |
77c9286d LC |
872 | (guix build utils) |
873 | (guix build emacs-utils)) | |
caaf1933 | 874 | #:imported-modules (,@%gnu-build-system-modules |
77c9286d LC |
875 | (guix build emacs-utils)) |
876 | ||
2fe176be EF |
877 | #:phases |
878 | (modify-phases %standard-phases | |
879 | (replace 'configure | |
880 | (lambda* (#:key inputs outputs #:allow-other-keys) | |
881 | (let ((out (assoc-ref outputs "out")) | |
882 | (vorbis (assoc-ref inputs "vorbis-tools")) | |
883 | (alsa (assoc-ref inputs "alsa-utils")) | |
884 | (mpg321 (assoc-ref inputs "mpg321")) | |
885 | (mp3info (assoc-ref inputs "mp3info"))) | |
886 | ;; Specify the installation directory. | |
887 | (substitute* "Makefile" | |
888 | (("PREFIX=.*$") | |
889 | (string-append "PREFIX := " out "\n"))) | |
890 | ||
891 | (setenv "SHELL" (which "sh")) | |
892 | (setenv "CC" "gcc") | |
893 | ||
894 | ;; Specify the absolute file names of the various | |
895 | ;; programs so that everything works out-of-the-box. | |
896 | (with-directory-excursion "lisp" | |
897 | (emacs-substitute-variables | |
898 | "emms-player-mpg321-remote.el" | |
899 | ("emms-player-mpg321-remote-command" | |
900 | (string-append mpg321 "/bin/mpg321"))) | |
901 | (substitute* "emms-player-simple.el" | |
902 | (("\"ogg123\"") | |
903 | (string-append "\"" vorbis "/bin/ogg123\""))) | |
904 | (emacs-substitute-variables "emms-info-ogginfo.el" | |
905 | ("emms-info-ogginfo-program-name" | |
906 | (string-append vorbis "/bin/ogginfo"))) | |
907 | (emacs-substitute-variables "emms-info-libtag.el" | |
908 | ("emms-info-libtag-program-name" | |
909 | (string-append out "/bin/emms-print-metadata"))) | |
910 | (emacs-substitute-variables "emms-info-mp3info.el" | |
911 | ("emms-info-mp3info-program-name" | |
912 | (string-append mp3info "/bin/mp3info"))) | |
913 | (substitute* "emms-volume-amixer.el" | |
914 | (("\"amixer\"") | |
915 | (string-append "\"" alsa "/bin/amixer\""))) | |
916 | (substitute* "emms-tag-editor.el" | |
917 | (("\"mp3info\"") | |
918 | (string-append "\"" mp3info "/bin/mp3info\""))))))) | |
919 | (add-before 'install 'pre-install | |
920 | (lambda* (#:key outputs #:allow-other-keys) | |
921 | ;; The 'install' rule expects the target directory to exist. | |
922 | (let* ((out (assoc-ref outputs "out")) | |
923 | (man1 (string-append out "/share/man/man1"))) | |
924 | (mkdir-p man1) | |
925 | #t))) | |
926 | (add-after 'install 'post-install | |
927 | (lambda* (#:key outputs #:allow-other-keys) | |
928 | (let* ((out (assoc-ref outputs "out")) | |
929 | (target (string-append | |
930 | out "/bin/emms-print-metadata"))) | |
931 | (symlink "emms-auto.el" | |
932 | (string-append out "/share/emacs/site-lisp/" | |
933 | "emms-autoloads.el")) | |
934 | (mkdir-p (dirname target)) | |
935 | (copy-file "src/emms-print-metadata" target) | |
936 | (chmod target #o555))))) | |
77c9286d | 937 | #:tests? #f)) |
b8fc3622 | 938 | (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils) |
77c9286d | 939 | ("texinfo" ,texinfo))) |
c72aed6d | 940 | (inputs `(("alsa-utils" ,alsa-utils) |
77c9286d LC |
941 | ("vorbis-tools" ,vorbis-tools) |
942 | ("mpg321" ,mpg321) | |
943 | ("taglib" ,taglib) | |
944 | ("mp3info" ,mp3info))) | |
945 | (synopsis "Emacs Multimedia System") | |
946 | (description | |
947 | "EMMS is the Emacs Multimedia System. It is a small front-end which | |
948 | can control one of the supported external players. Thus, it supports | |
949 | whatever formats are supported by your music player. It also | |
950 | supports tagging and playlist management, all behind a clean and | |
951 | light user interface.") | |
952 | (home-page "http://www.gnu.org/software/emms/") | |
f61e0e79 | 953 | (license license:gpl3+))) |
c7e553a3 | 954 | |
1095bd1d RW |
955 | (define-public emacs-emms-player-mpv |
956 | (package | |
957 | (name "emacs-emms-player-mpv") | |
f9875807 | 958 | (version "0.0.10") |
1095bd1d RW |
959 | (source |
960 | (origin | |
961 | (method url-fetch) | |
962 | (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/" | |
963 | version ".tar.gz")) | |
964 | (file-name (string-append name "-" version ".tar.gz")) | |
965 | (sha256 | |
966 | (base32 | |
f9875807 | 967 | "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq")))) |
1095bd1d RW |
968 | (build-system emacs-build-system) |
969 | (propagated-inputs | |
970 | `(("emms" ,emms))) | |
971 | (home-page "https://github.com/dochang/emms-player-mpv/") | |
972 | (synopsis "Mpv support for EMMS") | |
973 | (description | |
974 | "This package provides an EMMS player that uses mpv. It supports pause | |
975 | and seeking.") | |
976 | (license license:gpl3+))) | |
977 | ||
c7e553a3 LC |
978 | \f |
979 | ;;; | |
980 | ;;; Miscellaneous. | |
981 | ;;; | |
982 | ||
983 | (define-public bbdb | |
984 | (package | |
985 | (name "bbdb") | |
986 | (version "3.1.2") | |
987 | (source (origin | |
988 | (method url-fetch) | |
989 | (uri (string-append "mirror://savannah/bbdb/bbdb-" | |
990 | version ".tar.gz")) | |
991 | (sha256 | |
992 | (base32 | |
993 | "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05")) | |
994 | (modules '((guix build utils))) | |
995 | (snippet | |
996 | ;; We don't want to build and install the PDF. | |
997 | '(substitute* "doc/Makefile.in" | |
998 | (("^doc_DATA = .*$") | |
999 | "doc_DATA =\n"))))) | |
1000 | (build-system gnu-build-system) | |
1001 | (arguments | |
1002 | '(#:phases (alist-cons-after | |
1003 | 'install 'post-install | |
1004 | (lambda* (#:key outputs #:allow-other-keys) | |
1005 | ;; Add an autoloads file with the right name for guix.el. | |
1006 | (let* ((out (assoc-ref outputs "out")) | |
1007 | (site (string-append out "/share/emacs/site-lisp"))) | |
1008 | (with-directory-excursion site | |
1009 | (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))) | |
1010 | %standard-phases))) | |
b8fc3622 | 1011 | (native-inputs `(("emacs" ,emacs-minimal))) |
c7e553a3 LC |
1012 | (home-page "http://savannah.nongnu.org/projects/bbdb/") |
1013 | (synopsis "Contact management utility for Emacs") | |
1014 | (description | |
1015 | "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides | |
1016 | an address book for email and snail mail addresses, phone numbers and the | |
1017 | like. It can be linked with various Emacs mail clients (Message and Mail | |
1018 | mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.") | |
f61e0e79 | 1019 | (license license:gpl3+))) |
78395334 | 1020 | |
b654de6d AK |
1021 | (define-public emacs-async |
1022 | (package | |
1023 | (name "emacs-async") | |
a8ce82ac | 1024 | (version "1.9") |
b654de6d AK |
1025 | (source (origin |
1026 | (method url-fetch) | |
f32ffa04 | 1027 | (uri (string-append "https://elpa.gnu.org/packages/async-" |
b654de6d AK |
1028 | version ".tar")) |
1029 | (sha256 | |
1030 | (base32 | |
a8ce82ac | 1031 | "1ip5nc8xyln5szvqwp6wqva9xr84pn8ssn3nnphrszr19y4js2bm")))) |
b654de6d | 1032 | (build-system emacs-build-system) |
f32ffa04 | 1033 | (home-page "https://elpa.gnu.org/packages/async.html") |
b654de6d AK |
1034 | (synopsis "Asynchronous processing in Emacs") |
1035 | (description | |
1036 | "This package provides the ability to call asynchronous functions and | |
1037 | processes. For example, it can be used to run dired commands (for copying, | |
1038 | moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used | |
1039 | as a library for other Emacs packages.") | |
1040 | (license license:gpl3+))) | |
1041 | ||
78395334 FB |
1042 | (define-public emacs-auctex |
1043 | (package | |
1044 | (name "emacs-auctex") | |
1045 | (version "11.88.6") | |
1046 | (source | |
1047 | (origin | |
1048 | (method url-fetch) | |
1049 | (uri (string-append | |
f32ffa04 | 1050 | "https://elpa.gnu.org/packages/auctex-" |
78395334 FB |
1051 | version |
1052 | ".tar")) | |
1053 | (sha256 | |
1054 | (base32 | |
1055 | "1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc")))) | |
1056 | (build-system emacs-build-system) | |
a6eafbed AK |
1057 | ;; We use 'emacs' because AUCTeX requires dbus at compile time |
1058 | ;; ('emacs-minimal' does not provide dbus). | |
1059 | (arguments `(#:emacs ,emacs)) | |
78395334 FB |
1060 | (native-inputs |
1061 | `(("perl" ,perl))) | |
1062 | (home-page "http://www.gnu.org/software/auctex/") | |
1063 | (synopsis "Integrated environment for TeX") | |
1064 | (description | |
1065 | "AUCTeX is a comprehensive customizable integrated environment for | |
1066 | writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs | |
1067 | or XEmacs.") | |
1068 | (license license:gpl3+))) | |
85ef742c FB |
1069 | |
1070 | (define-public emacs-mmm-mode | |
1071 | (package | |
1072 | (name "emacs-mmm-mode") | |
1073 | (version "0.5.4") | |
1074 | (source | |
1075 | (origin | |
1076 | (method url-fetch) | |
1077 | (uri (string-append | |
0c909c05 AK |
1078 | "https://github.com/purcell/mmm-mode/archive/" |
1079 | version ".tar.gz")) | |
1080 | (file-name (string-append name "-" version ".tar.gz")) | |
85ef742c FB |
1081 | (sha256 |
1082 | (base32 | |
0c909c05 AK |
1083 | "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv")))) |
1084 | (build-system gnu-build-system) | |
1085 | (arguments | |
1086 | '(#:phases | |
1087 | (modify-phases %standard-phases | |
1088 | (add-after 'unpack 'autogen | |
1089 | (lambda _ | |
1090 | (zero? (system* "sh" "autogen.sh"))))))) | |
1091 | (native-inputs | |
1092 | `(("autoconf" ,autoconf) | |
1093 | ("automake" ,automake) | |
b8fc3622 | 1094 | ("emacs" ,emacs-minimal) |
0c909c05 | 1095 | ("texinfo" ,texinfo))) |
85ef742c | 1096 | (home-page "https://github.com/purcell/mmm-mode") |
0c909c05 | 1097 | (synopsis "Allow multiple major modes in an Emacs buffer") |
85ef742c | 1098 | (description |
0c909c05 | 1099 | "MMM Mode is a minor mode that allows multiple major modes to coexist in a |
85ef742c FB |
1100 | single buffer.") |
1101 | (license license:gpl3+))) | |
ec9825d6 RW |
1102 | |
1103 | (define-public emacs-pdf-tools | |
1104 | (package | |
1105 | (name "emacs-pdf-tools") | |
eccd0b57 | 1106 | (version "0.70") |
ec9825d6 RW |
1107 | (source (origin |
1108 | (method url-fetch) | |
1109 | (uri (string-append | |
1110 | "https://github.com/politza/pdf-tools/archive/v" | |
1111 | version ".tar.gz")) | |
1112 | (file-name (string-append name "-" version ".tar.gz")) | |
1113 | (sha256 | |
1114 | (base32 | |
eccd0b57 | 1115 | "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77")))) |
ec9825d6 RW |
1116 | (build-system gnu-build-system) |
1117 | (arguments | |
1118 | `(#:tests? #f ; there are no tests | |
1119 | #:modules ((guix build gnu-build-system) | |
1bcae5c5 | 1120 | ((guix build emacs-build-system) #:prefix emacs:) |
ec9825d6 RW |
1121 | (guix build utils) |
1122 | (guix build emacs-utils)) | |
1123 | #:imported-modules (,@%gnu-build-system-modules | |
1bcae5c5 | 1124 | (guix build emacs-build-system) |
ec9825d6 RW |
1125 | (guix build emacs-utils)) |
1126 | #:phases | |
1127 | (modify-phases %standard-phases | |
1bcae5c5 AK |
1128 | ;; Build server side using 'gnu-build-system'. |
1129 | (add-after 'unpack 'enter-server-dir | |
1130 | (lambda _ (chdir "server") #t)) | |
1131 | (add-before 'configure 'autogen | |
1132 | (lambda _ | |
1133 | (zero? (system* "bash" "autogen.sh")))) | |
1134 | ||
1135 | ;; Build emacs side using 'emacs-build-system'. | |
1136 | (add-after 'compress-documentation 'enter-lisp-dir | |
1137 | (lambda _ (chdir "../lisp") #t)) | |
1138 | (add-after 'enter-lisp-dir 'emacs-patch-variables | |
1139 | (lambda* (#:key outputs #:allow-other-keys) | |
1140 | ;; Set path to epdfinfo program. | |
1141 | (emacs-substitute-variables "pdf-info.el" | |
1142 | ("pdf-info-epdfinfo-program" | |
1143 | (string-append (assoc-ref outputs "out") | |
1144 | "/bin/epdfinfo"))) | |
1145 | ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto | |
1146 | ;; upgrading" that pdf-tools tries to perform. | |
1147 | (emacs-substitute-variables "pdf-tools.el" | |
1148 | ("pdf-tools-handle-upgrades" '())))) | |
1149 | (add-after 'emacs-patch-variables 'emacs-install | |
1150 | (assoc-ref emacs:%standard-phases 'install)) | |
1151 | (add-after 'emacs-install 'emacs-build | |
1152 | (assoc-ref emacs:%standard-phases 'build)) | |
1153 | (add-after 'emacs-install 'emacs-make-autoloads | |
1154 | (assoc-ref emacs:%standard-phases 'make-autoloads))))) | |
ec9825d6 RW |
1155 | (native-inputs `(("autoconf" ,autoconf) |
1156 | ("automake" ,automake) | |
1157 | ("pkg-config" ,pkg-config) | |
b8fc3622 | 1158 | ("emacs" ,emacs-minimal))) |
e6527d64 AK |
1159 | (propagated-inputs |
1160 | `(("let-alist" ,let-alist))) | |
ec9825d6 RW |
1161 | (inputs `(("poppler" ,poppler) |
1162 | ("cairo" ,cairo) | |
1163 | ("glib" ,glib) | |
1164 | ("libpng" ,libpng) | |
1165 | ("zlib" ,zlib))) | |
1166 | (synopsis "Emacs support library for PDF files") | |
1167 | (description | |
1168 | "PDF Tools is, among other things, a replacement of DocView for PDF | |
1169 | files. The key difference is that pages are not pre-rendered by | |
1170 | e.g. ghostscript and stored in the file-system, but rather created on-demand | |
1171 | and stored in memory.") | |
1172 | (home-page "https://github.com/politza/pdf-tools") | |
1173 | (license license:gpl3+))) | |
d4dbf10e FB |
1174 | |
1175 | (define-public emacs-dash | |
1176 | (package | |
1177 | (name "emacs-dash") | |
a31a79bc | 1178 | (version "2.13.0") |
d4dbf10e FB |
1179 | (source (origin |
1180 | (method url-fetch) | |
1181 | (uri (string-append | |
1182 | "https://github.com/magnars/dash.el/archive/" | |
1183 | version ".tar.gz")) | |
1184 | (file-name (string-append name "-" version ".tar.gz")) | |
1185 | (sha256 | |
1186 | (base32 | |
a31a79bc | 1187 | "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb")))) |
d4dbf10e FB |
1188 | (build-system emacs-build-system) |
1189 | (arguments | |
1190 | `(#:phases | |
1191 | (modify-phases %standard-phases | |
1192 | (add-before 'install 'check | |
1193 | (lambda _ | |
1194 | (zero? (system* "./run-tests.sh"))))))) | |
1195 | (home-page "https://github.com/magnars/dash.el") | |
1196 | (synopsis "Modern list library for Emacs") | |
1197 | (description "This package provides a modern list API library for Emacs.") | |
1198 | (license license:gpl3+))) | |
85777fe5 | 1199 | |
d6e5de1e RJ |
1200 | (define-public emacs-d-mode |
1201 | (package | |
1202 | (name "emacs-d-mode") | |
1203 | (version "2.0.8") | |
1204 | (source (origin | |
1205 | (method url-fetch) | |
1206 | (uri (string-append | |
1207 | "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/" | |
1208 | "archive/" version ".tar.gz")) | |
1209 | (sha256 | |
1210 | (base32 | |
1211 | "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0")))) | |
1212 | (build-system emacs-build-system) | |
1213 | (propagated-inputs | |
1214 | `(("emacs-undercover" ,emacs-undercover))) | |
1215 | (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode") | |
1216 | (synopsis "Emacs major mode for editing D code") | |
1217 | (description "This package provides an Emacs major mode for highlighting | |
1218 | code written in the D programming language. This mode is currently known to | |
1219 | work with Emacs 24 and 25.") | |
1220 | (license license:gpl2+))) | |
1221 | ||
1075b437 DB |
1222 | (define-public emacs-undo-tree |
1223 | (package | |
1224 | (name "emacs-undo-tree") | |
1225 | (version "0.6.4") | |
1226 | (source (origin | |
1227 | (method git-fetch) | |
1228 | (uri (git-reference | |
1229 | (url "http://dr-qubit.org/git/undo-tree.git") | |
1230 | (commit "release/0.6.4"))) | |
1231 | (file-name (string-append name "-" version "-checkout")) | |
1232 | (sha256 | |
1233 | (base32 | |
1234 | "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3")))) | |
1235 | (build-system emacs-build-system) | |
1236 | (home-page "http://www.dr-qubit.org/emacs.php") | |
1237 | (synopsis "Treat undo history as a tree") | |
1238 | (description "Tree-like interface to Emacs undo system, providing | |
1239 | graphical tree presentation of all previous states of buffer that | |
1240 | allows easily move between them.") | |
1241 | (license license:gpl3+))) | |
1242 | ||
85777fe5 FB |
1243 | (define-public emacs-s |
1244 | (package | |
1245 | (name "emacs-s") | |
48e28c69 | 1246 | (version "1.11.0") |
85777fe5 FB |
1247 | (source (origin |
1248 | (method url-fetch) | |
1249 | (uri (string-append | |
1250 | "https://github.com/magnars/s.el/archive/" | |
1251 | version ".tar.gz")) | |
1252 | (file-name (string-append name "-" version ".tar.gz")) | |
1253 | (sha256 | |
1254 | (base32 | |
48e28c69 | 1255 | "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2")))) |
85777fe5 FB |
1256 | (build-system emacs-build-system) |
1257 | (arguments | |
1258 | `(#:phases | |
1259 | (modify-phases %standard-phases | |
1260 | (add-before 'install 'check | |
1261 | (lambda _ | |
1262 | (zero? (system* "./run-tests.sh"))))))) | |
1263 | (home-page "https://github.com/magnars/s.el") | |
a124bbd2 | 1264 | (synopsis "Emacs string manipulation library") |
85777fe5 FB |
1265 | (description "This package provides an Emacs library for manipulating |
1266 | strings.") | |
1267 | (license license:gpl3+))) | |
cf9ce01f FB |
1268 | |
1269 | (define-public emacs-f | |
1270 | (package | |
1271 | (name "emacs-f") | |
ad5d899e | 1272 | (version "0.18.2") |
cf9ce01f FB |
1273 | (source (origin |
1274 | (method url-fetch) | |
1275 | (uri (string-append | |
1276 | "https://github.com/rejeep/f.el/archive/v" | |
1277 | version ".tar.gz")) | |
1278 | (file-name (string-append name "-" version ".tar.gz")) | |
1279 | (sha256 | |
1280 | (base32 | |
ad5d899e | 1281 | "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5")))) |
cf9ce01f FB |
1282 | (build-system emacs-build-system) |
1283 | (propagated-inputs | |
1284 | `(("emacs-s" ,emacs-s) | |
1285 | ("emacs-dash" ,emacs-dash))) | |
1286 | (home-page "http://github.com/rejeep/f.el") | |
1287 | (synopsis "Emacs API for working with files and directories") | |
1288 | (description "This package provides an Emacs library for working with | |
1289 | files and directories.") | |
1290 | (license license:gpl3+))) | |
48dbeef7 | 1291 | |
1c32830b RW |
1292 | (define-public emacs-el-mock |
1293 | (package | |
1294 | (name "emacs-el-mock") | |
1295 | (version "1.25.1") | |
1296 | (source | |
1297 | (origin | |
1298 | (method url-fetch) | |
1299 | (uri (string-append "https://github.com/rejeep/el-mock.el/" | |
1300 | "archive/v" version ".tar.gz")) | |
1301 | (file-name (string-append name "-" version ".tar.gz")) | |
1302 | (sha256 | |
1303 | (base32 | |
1304 | "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b")))) | |
1305 | (build-system emacs-build-system) | |
1306 | (home-page "http://github.com/rejeep/el-mock.el") | |
1307 | (synopsis "Tiny mock and stub framework in Emacs Lisp") | |
1308 | (description | |
1309 | "Emacs Lisp Mock is a library for mocking and stubbing using readable | |
1310 | syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp | |
1311 | Expectations, but it can be used in other contexts.") | |
1312 | (license license:gpl3+))) | |
1313 | ||
0c5d837c RW |
1314 | (define-public emacs-espuds |
1315 | (package | |
1316 | (name "emacs-espuds") | |
1317 | (version "0.3.3") | |
1318 | (source | |
1319 | (origin | |
1320 | (method url-fetch) | |
1321 | (uri (string-append "https://github.com/ecukes/espuds/" | |
1322 | "archive/v" version ".tar.gz")) | |
1323 | (file-name (string-append name "-" version ".tar.gz")) | |
1324 | (sha256 | |
1325 | (base32 | |
1326 | "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k")))) | |
1327 | (build-system emacs-build-system) | |
1328 | (propagated-inputs | |
1329 | `(("emacs-s" ,emacs-s) | |
1330 | ("emacs-dash" ,emacs-dash) | |
1331 | ("emacs-f" ,emacs-f))) | |
1332 | (home-page "http://github.com/ecukes/espuds") | |
1333 | (synopsis "Common step definitions for Ecukes") | |
1334 | (description "Espuds is a collection of the most commonly used step | |
1335 | definitions for testing with the Ecukes framework.") | |
1336 | (license license:gpl3+))) | |
1337 | ||
8bebe734 CB |
1338 | (define-public emacs-es-mode |
1339 | (package | |
1340 | (name "emacs-es-mode") | |
1341 | (version "4.2.0") | |
1342 | (source (origin | |
1343 | (method url-fetch) | |
1344 | (uri (string-append | |
1345 | "https://github.com/dakrone/es-mode/archive/" | |
1346 | version ".tar.gz")) | |
1347 | (file-name (string-append name "-" version ".tar.gz")) | |
1348 | (sha256 | |
1349 | (base32 | |
1350 | "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y")))) | |
1351 | (build-system emacs-build-system) | |
1352 | (propagated-inputs | |
1353 | ;; The version of org in Emacs 24.5 is not sufficient, and causes tables | |
1354 | ;; to be rendered incorrectly | |
1355 | `(("emacs-org" ,emacs-org))) | |
1356 | (home-page "https://github.com/dakrone/es-mode") | |
1357 | (synopsis "Major mode for editing Elasticsearch queries") | |
1358 | (description "@code{es-mode} includes highlighting, completion and | |
1359 | indentation support for Elasticsearch queries. Also supported are | |
1360 | @code{es-mode} blocks in @code{org-mode}, for which the results of queries can | |
1361 | be processed through @code{jq}, or in the case of aggregations, can be | |
1362 | rendered in to a table. In addition, there is an @code{es-command-center} | |
1363 | mode, which displays information about Elasticsearch clusters.") | |
1364 | (license license:gpl3+))) | |
1365 | ||
d0e43782 RW |
1366 | (define-public emacs-expand-region |
1367 | (package | |
1368 | (name "emacs-expand-region") | |
1369 | (version "0.10.0") | |
1370 | (source | |
1371 | (origin | |
1372 | (method url-fetch) | |
1373 | (uri (string-append "https://github.com/magnars/expand-region.el" | |
1374 | "/archive/" version ".tar.gz")) | |
1375 | (file-name (string-append name "-" version ".tar.gz")) | |
1376 | (sha256 | |
1377 | (base32 | |
1378 | "1zfiaqyb3zqiyqjkpqsjw660j09805nqsg25q6ars2h8gs0rnvxb")))) | |
1379 | (build-system emacs-build-system) | |
1380 | (home-page "https://github.com/magnars/expand-region.el") | |
1381 | (synopsis "Increase selected region by semantic units") | |
1382 | (description | |
1383 | "Expand region increases the selected region by semantic units. Just | |
1384 | keep pressing the key until it selects what you want. There's also | |
1385 | @code{er/contract-region} if you expand too far.") | |
1386 | (license license:gpl3+))) | |
1387 | ||
65568446 RW |
1388 | (define-public emacs-fill-column-indicator |
1389 | (package | |
1390 | (name "emacs-fill-column-indicator") | |
1391 | (version "1.81") | |
1392 | (source | |
1393 | (origin | |
1394 | (method url-fetch) | |
1395 | (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator" | |
1396 | "/archive/v" version ".tar.gz")) | |
1397 | (file-name (string-append name "-" version ".tar.gz")) | |
1398 | (sha256 | |
1399 | (base32 | |
1400 | "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8")))) | |
1401 | (build-system emacs-build-system) | |
1402 | (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator") | |
1403 | (synopsis "Graphically indicate the fill column") | |
1404 | (description | |
1405 | "Fill-column-indicator graphically indicates the location of the fill | |
1406 | column by drawing a thin line down the length of the editing window.") | |
1407 | (license license:gpl3+))) | |
1408 | ||
7b9769b0 RW |
1409 | (define-public emacs-znc |
1410 | (package | |
1411 | (name "emacs-znc") | |
1412 | (version "0.0.2") | |
1413 | (source | |
1414 | (origin | |
1415 | (method url-fetch) | |
1416 | (uri (string-append "https://marmalade-repo.org/packages/znc-" | |
1417 | version ".el")) | |
1418 | (sha256 | |
1419 | (base32 | |
1420 | "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh")))) | |
1421 | (build-system emacs-build-system) | |
1422 | (home-page "https://github.com/sshirokov/ZNC.el") | |
1423 | (synopsis "Make ERC and ZNC get along better") | |
1424 | (description | |
1425 | "This is a thin wrapper around @code{erc} that enables one to use the ZNC | |
1426 | IRC bouncer with ERC.") | |
1427 | (license license:expat))) | |
1428 | ||
1f9a7097 RW |
1429 | (define-public emacs-shut-up |
1430 | (package | |
1431 | (name "emacs-shut-up") | |
1432 | (version "0.3.2") | |
1433 | (source | |
1434 | (origin | |
1435 | (method url-fetch) | |
1436 | (uri (string-append "https://github.com/cask/shut-up/" | |
1437 | "archive/v" version ".tar.gz")) | |
1438 | (file-name (string-append name "-" version ".tar.gz")) | |
1439 | (sha256 | |
1440 | (base32 | |
1441 | "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1")))) | |
1442 | (build-system emacs-build-system) | |
1443 | (home-page "https://github.com/cask/shut-up") | |
1444 | (synopsis "Silence Emacs") | |
1445 | (description "This package silences most output of Emacs when running an | |
1446 | Emacs shell script.") | |
1447 | (license license:expat))) | |
1448 | ||
dbe38a3a RW |
1449 | (define-public emacs-undercover |
1450 | (package | |
1451 | (name "emacs-undercover") | |
1452 | (version "0.6.0") | |
1453 | (source | |
1454 | (origin | |
1455 | (method url-fetch) | |
1456 | (uri (string-append "https://github.com/sviridov/undercover.el/" | |
1457 | "archive/v" version ".tar.gz")) | |
1458 | (file-name (string-append name "-" version ".tar.gz")) | |
1459 | (sha256 | |
1460 | (base32 | |
1461 | "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a")))) | |
1462 | (build-system emacs-build-system) | |
1463 | (propagated-inputs | |
1464 | `(("emacs-dash" ,emacs-dash) | |
1465 | ("emacs-shut-up" ,emacs-shut-up))) | |
1466 | (home-page "https://github.com/sviridov/undercover.el") | |
1467 | (synopsis "Test coverage library for Emacs Lisp") | |
1468 | (description | |
1469 | "Undercover is a test coverage library for software written in Emacs | |
1470 | Lisp.") | |
1471 | (license license:expat))) | |
1472 | ||
07046e5f RW |
1473 | (define-public emacs-paren-face |
1474 | (package | |
1475 | (name "emacs-paren-face") | |
1476 | (version "1.0.0") | |
1477 | (source | |
1478 | (origin | |
1479 | (method url-fetch) | |
1480 | (uri (string-append "https://github.com/tarsius/paren-face/archive/" | |
1481 | version ".tar.gz")) | |
1482 | (file-name (string-append name "-" version ".tar.gz")) | |
1483 | (sha256 | |
1484 | (base32 | |
1485 | "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn")))) | |
1486 | (build-system emacs-build-system) | |
1487 | (home-page "http://github.com/tarsius/paren-face") | |
1488 | (synopsis "Face for parentheses in lisp modes") | |
1489 | (description | |
1490 | "This library defines a face named @code{parenthesis} used just for | |
1491 | parentheses. The intended purpose of this face is to make parentheses less | |
1492 | visible in Lisp code by dimming them. Lispers probably don't need to be | |
1493 | constantly made aware of the existence of the parentheses. Dimming them might | |
1494 | be even more useful for people new to lisp who have not yet learned to | |
1495 | subconsciously blend out the parentheses.") | |
1496 | (license license:gpl3+))) | |
1497 | ||
a46e3c0d RW |
1498 | (define-public emacs-page-break-lines |
1499 | (package | |
1500 | (name "emacs-page-break-lines") | |
1501 | (version "0.11") | |
1502 | (source | |
1503 | (origin | |
1504 | (method url-fetch) | |
1505 | (uri (string-append "https://github.com/purcell/page-break-lines/" | |
1506 | "archive/" version ".tar.gz")) | |
1507 | (file-name (string-append name "-" version ".tar.gz")) | |
1508 | (sha256 | |
1509 | (base32 | |
1510 | "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg")))) | |
1511 | (build-system emacs-build-system) | |
1512 | (home-page "https://github.com/purcell/page-break-lines") | |
1513 | (synopsis "Display page breaks as tidy horizontal lines") | |
1514 | (description | |
1515 | "This library provides a global mode which displays form feed characters | |
1516 | as horizontal rules.") | |
1517 | (license license:gpl3+))) | |
1518 | ||
1f8a951b RW |
1519 | (define-public emacs-simple-httpd |
1520 | (package | |
1521 | (name "emacs-simple-httpd") | |
1522 | (version "1.4.6") | |
1523 | (source | |
1524 | (origin | |
1525 | (method url-fetch) | |
1526 | (uri (string-append "https://github.com/skeeto/emacs-web-server/" | |
1527 | "archive/" version ".tar.gz")) | |
1528 | (file-name (string-append name "-" version ".tar.gz")) | |
1529 | (sha256 | |
1530 | (base32 | |
1531 | "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r")))) | |
1532 | (build-system emacs-build-system) | |
1533 | (home-page "https://github.com/skeeto/emacs-http-server") | |
1534 | (synopsis "HTTP server in pure Emacs Lisp") | |
1535 | (description | |
1536 | "This package provides a simple HTTP server written in Emacs Lisp to | |
1537 | serve files and directory listings.") | |
1538 | (license license:unlicense))) | |
1539 | ||
6c04acaa RW |
1540 | (define-public emacs-skewer-mode |
1541 | (package | |
1542 | (name "emacs-skewer-mode") | |
1543 | (version "1.6.2") | |
1544 | (source | |
1545 | (origin | |
1546 | (method url-fetch) | |
1547 | (uri (string-append "https://github.com/skeeto/skewer-mode/archive/" | |
1548 | version ".tar.gz")) | |
1549 | (file-name (string-append name "-" version ".tar.gz")) | |
1550 | (sha256 | |
1551 | (base32 | |
1552 | "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0")))) | |
1553 | (build-system emacs-build-system) | |
1554 | (propagated-inputs | |
1555 | `(("emacs-simple-httpd" ,emacs-simple-httpd) | |
1556 | ("emacs-js2-mode" ,emacs-js2-mode))) | |
1557 | (home-page "https://github.com/skeeto/skewer-mode") | |
1558 | (synopsis "Live web development in Emacs") | |
1559 | (description | |
1560 | "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in | |
1561 | a web browser. Expressions are sent on-the-fly from an editing buffer to be | |
1562 | evaluated in the browser, just like Emacs does with an inferior Lisp process | |
1563 | in Lisp modes.") | |
1564 | (license license:unlicense))) | |
1565 | ||
8d810163 RW |
1566 | (define-public emacs-rich-minority |
1567 | (package | |
1568 | (name "emacs-rich-minority") | |
1569 | (version "1.0.1") | |
1570 | (source | |
1571 | (origin | |
1572 | (method url-fetch) | |
1573 | (uri (string-append "https://github.com/Malabarba/rich-minority/" | |
1574 | "archive/" version ".tar.gz")) | |
1575 | (file-name (string-append name "-" version ".tar.gz")) | |
1576 | (sha256 | |
1577 | (base32 | |
1578 | "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v")))) | |
1579 | (build-system emacs-build-system) | |
1580 | (home-page "https://github.com/Malabarba/rich-minority") | |
1581 | (synopsis "Clean-up and beautify the list of minor modes") | |
1582 | (description | |
1583 | "This Emacs package hides and/or highlights minor modes in the | |
1584 | mode-line.") | |
1585 | (license license:gpl2+))) | |
1586 | ||
b33f913d RW |
1587 | (define-public emacs-smart-mode-line |
1588 | (package | |
1589 | (name "emacs-smart-mode-line") | |
1590 | (version "2.10.1") | |
1591 | (source | |
1592 | (origin | |
1593 | (method url-fetch) | |
1594 | (uri (string-append "https://github.com/Malabarba/smart-mode-line/" | |
1595 | "archive/" version ".tar.gz")) | |
1596 | (file-name (string-append name "-" version ".tar.gz")) | |
1597 | (sha256 | |
1598 | (base32 | |
1599 | "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8")))) | |
1600 | (build-system emacs-build-system) | |
1601 | (propagated-inputs | |
1602 | `(("emacs-rich-minority" ,emacs-rich-minority))) | |
1603 | (home-page "http://github.com/Malabarba/smart-mode-line") | |
66e07664 | 1604 | (synopsis "Color-coded smart mode-line") |
b33f913d RW |
1605 | (description |
1606 | "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to | |
1607 | read from small to large monitors by using colors, a prefix feature, and smart | |
1608 | truncation.") | |
1609 | (license license:gpl2+))) | |
1610 | ||
3bcb304e RW |
1611 | (define-public emacs-shell-switcher |
1612 | (package | |
1613 | (name "emacs-shell-switcher") | |
1614 | (version "1.0.1") | |
1615 | (source | |
1616 | (origin | |
1617 | (method url-fetch) | |
1618 | (uri (string-append "https://github.com/DamienCassou/shell-switcher" | |
1619 | "/archive/v" version ".tar.gz")) | |
1620 | (file-name (string-append name "-" version ".tar.gz")) | |
1621 | (sha256 | |
1622 | (base32 | |
1623 | "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz")))) | |
1624 | (build-system emacs-build-system) | |
1625 | (home-page "https://github.com/DamienCassou/shell-switcher") | |
1626 | (synopsis "Provide fast switching between shell buffers") | |
1627 | (description | |
1628 | "This package provides commands to quickly switch between shell buffers.") | |
1629 | (license license:gpl3+))) | |
1630 | ||
48dbeef7 FB |
1631 | (define-public emacs-ob-ipython |
1632 | (package | |
1633 | (name "emacs-ob-ipython") | |
1634 | (version "20150704.8807064693") | |
1635 | (source (origin | |
1636 | (method git-fetch) | |
1637 | (uri (git-reference | |
698bd297 | 1638 | (commit "880706469338ab59b5bb7dbe8460016f89755364") |
48dbeef7 FB |
1639 | (url "https://github.com/gregsexton/ob-ipython.git"))) |
1640 | (sha256 | |
1641 | (base32 | |
1642 | "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7")))) | |
1643 | (build-system emacs-build-system) | |
1644 | (propagated-inputs | |
1645 | `(("emacs-f" ,emacs-f))) | |
1646 | (home-page "http://www.gregsexton.org") | |
1647 | (synopsis "Org-Babel functions for IPython evaluation") | |
1648 | (description "This package adds support to Org-Babel for evaluating Python | |
1649 | source code using IPython.") | |
1650 | (license license:gpl3+))) | |
6fd66b6c LC |
1651 | |
1652 | (define-public emacs-debbugs | |
1653 | (package | |
1654 | (name "emacs-debbugs") | |
32e16112 | 1655 | (version "0.9") |
6fd66b6c LC |
1656 | (source (origin |
1657 | (method url-fetch) | |
f32ffa04 | 1658 | (uri (string-append "https://elpa.gnu.org/packages/debbugs-" |
6fd66b6c LC |
1659 | version ".tar")) |
1660 | (sha256 | |
1661 | (base32 | |
32e16112 | 1662 | "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k")))) |
6fd66b6c | 1663 | (build-system emacs-build-system) |
32e16112 AK |
1664 | (propagated-inputs |
1665 | `(("emacs-async" ,emacs-async))) | |
f32ffa04 | 1666 | (home-page "https://elpa.gnu.org/packages/debbugs.html") |
6fd66b6c LC |
1667 | (synopsis "Access the Debbugs bug tracker in Emacs") |
1668 | (description | |
1669 | "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug | |
1670 | Tracker} from within Emacs. | |
1671 | ||
1672 | For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs, | |
1673 | and the command @code{M-x debbugs-gnu-search} for bug searching. If you | |
1674 | prefer the listing of bugs as TODO items of @code{org-mode}, you could use | |
1675 | @code{M-x debbugs-org} and related commands. | |
1676 | ||
1677 | A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug | |
1678 | Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.") | |
1679 | (license license:gpl3+))) | |
3ffe36f5 LC |
1680 | |
1681 | (define-public emacs-deferred | |
1682 | (package | |
1683 | (name "emacs-deferred") | |
1684 | (version "0.3.2") | |
1685 | (home-page "https://github.com/kiwanami/emacs-deferred") | |
1686 | (source (origin | |
1687 | (method git-fetch) | |
1688 | (uri (git-reference | |
1689 | (url home-page) | |
1690 | (commit (string-append "v" version)))) | |
1691 | (sha256 | |
1692 | (base32 | |
1693 | "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr")) | |
1694 | (file-name (string-append name "-" version)))) | |
1695 | (build-system emacs-build-system) | |
1696 | ;; FIXME: Would need 'el-expectations' to actually run tests. | |
1697 | (synopsis "Simple asynchronous functions for Emacs Lisp") | |
1698 | (description | |
1699 | "The @code{deferred.el} library provides support for asynchronous tasks. | |
1700 | The API is almost the same as that of | |
1701 | @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library | |
1702 | for asynchronous tasks.") | |
1703 | (license license:gpl3+))) | |
d001bb5a LC |
1704 | |
1705 | (define-public butler | |
1706 | (package | |
1707 | (name "emacs-butler") | |
1708 | (version "0.2.4") | |
1709 | (home-page "https://github.com/AshtonKem/Butler") | |
1710 | (source (origin | |
1711 | (method git-fetch) | |
1712 | (uri (git-reference | |
1713 | (url home-page) | |
1714 | (commit version))) | |
1715 | (sha256 | |
1716 | (base32 | |
1717 | "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj")) | |
1718 | (file-name (string-append name "-" version)))) | |
1719 | (build-system emacs-build-system) | |
1720 | (propagated-inputs | |
1721 | `(("emacs-deferred" ,emacs-deferred))) | |
1722 | (synopsis "Emacs client for Jenkins") | |
1723 | (description | |
1724 | "Butler provides an interface to connect to Jenkins continuous | |
1725 | integration servers. Users can specify a list of server in the | |
1726 | @code{butler-server-list} variable and then use @code{M-x butler-status} to | |
1727 | view the build status of those servers' build jobs, and possibly to trigger | |
1728 | build jobs.") | |
1729 | (license license:gpl3+))) | |
2d1db448 | 1730 | |
d1dbeddd RW |
1731 | (define-public emacs-company |
1732 | (package | |
1733 | (name "emacs-company") | |
1734 | (version "0.8.12") | |
1735 | (source | |
1736 | (origin | |
1737 | (method url-fetch) | |
1738 | (uri (string-append "https://github.com/company-mode/company-mode/archive/" | |
1739 | version ".tar.gz")) | |
1740 | (file-name (string-append name "-" version ".tar.gz")) | |
1741 | (sha256 | |
1742 | (base32 | |
1743 | "1vwmbqm7h4lrszv2qxy6fqzznm9raigi84cadx982c9m7shp0zzz")))) | |
1744 | (build-system emacs-build-system) | |
1745 | (home-page "http://company-mode.github.io/") | |
1746 | (synopsis "Modular text completion framework") | |
1747 | (description | |
1748 | "Company is a modular completion mechanism. Modules for retrieving | |
1749 | completion candidates are called back-ends, modules for displaying them are | |
1750 | front-ends. Company comes with many back-ends, e.g. @code{company-elisp}. | |
1751 | These are distributed in separate files and can be used individually.") | |
1752 | (license license:gpl3+))) | |
1753 | ||
7c438099 RW |
1754 | (define-public emacs-multiple-cursors |
1755 | (package | |
1756 | (name "emacs-multiple-cursors") | |
1757 | (version "1.4.0") | |
1758 | (source | |
1759 | (origin | |
1760 | (method url-fetch) | |
1761 | (uri (string-append "https://github.com/magnars/multiple-cursors.el/" | |
1762 | "archive/" version ".tar.gz")) | |
1763 | (file-name (string-append name "-" version ".tar.gz")) | |
1764 | (sha256 | |
1765 | (base32 | |
1766 | "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k")))) | |
1767 | (build-system emacs-build-system) | |
1768 | (home-page "https://github.com/magnars/multiple-cursors.el") | |
1769 | (synopsis "Multiple cursors for Emacs") | |
1770 | (description | |
1771 | "This package adds support to Emacs for editing text with multiple | |
1772 | simultaneous cursors.") | |
1773 | (license license:gpl3+))) | |
1774 | ||
2d1db448 LC |
1775 | (define-public typo |
1776 | (package | |
1777 | (name "emacs-typo") | |
1778 | (version "1.1") | |
1779 | (home-page "https://github.com/jorgenschaefer/typoel") | |
1780 | (source (origin | |
1781 | (method git-fetch) | |
1782 | (uri (git-reference | |
1783 | (url home-page) | |
1784 | (commit (string-append "v" version)))) | |
1785 | (sha256 | |
1786 | (base32 | |
1787 | "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2")) | |
1788 | (file-name (string-append name "-" version)))) | |
1789 | (build-system emacs-build-system) | |
1790 | (synopsis "Minor mode for typographic editing") | |
1791 | (description | |
1792 | "This package provides two Emacs modes, @code{typo-mode} and | |
1793 | @code{typo-global-mode}. These modes automatically insert Unicode characters | |
1794 | for quotation marks, dashes, and ellipses. For example, typing @kbd{\"} | |
1795 | automatically inserts a Unicode opening or closing quotation mark, depending | |
1796 | on context.") | |
1797 | (license license:gpl3+))) | |
e037a09f FB |
1798 | |
1799 | (define-public emacs-scheme-complete | |
1800 | (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5")) | |
1801 | (package | |
1802 | (name "emacs-scheme-complete") | |
1803 | (version (string-append "20151223." (string-take commit 8))) | |
1804 | (source | |
1805 | (origin | |
1806 | (file-name (string-append name "-" version)) | |
1807 | (method git-fetch) | |
1808 | (uri (git-reference | |
1809 | (url "https://github.com/ashinn/scheme-complete.git") | |
1810 | (commit commit))) | |
1811 | (sha256 | |
1812 | (base32 | |
1813 | "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x")) | |
1814 | (patches | |
fc1adab1 | 1815 | (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch")))) |
e037a09f FB |
1816 | (build-system emacs-build-system) |
1817 | (home-page "https://github.com/ashinn/scheme-complete") | |
1818 | (synopsis "Smart tab completion for Scheme in Emacs") | |
1819 | (description | |
1820 | "This file provides a single function, @code{scheme-smart-complete}, | |
1821 | which you can use for intelligent, context-sensitive completion for any Scheme | |
1822 | implementation in Emacs. To use it just load this file and bind that function | |
1823 | to a key in your preferred mode.") | |
1824 | (license license:public-domain)))) | |
58a7dc13 FB |
1825 | |
1826 | (define-public emacs-mit-scheme-doc | |
1827 | (package | |
1828 | (name "emacs-mit-scheme-doc") | |
1829 | (version "20140203") | |
1830 | (source | |
1831 | (origin | |
1832 | (modules '((guix build utils))) | |
1833 | (snippet | |
1834 | ;; keep only file of interest | |
1835 | '(begin | |
1836 | (for-each delete-file '("dot-emacs.el" "Makefile")) | |
1837 | (copy-file "6.945-config/mit-scheme-doc.el" "mit-scheme-doc.el") | |
1838 | (delete-file-recursively "6.945-config"))) | |
1839 | (file-name (string-append name "-" version ".tar.bz2")) | |
1840 | (method url-fetch) | |
1841 | (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/" | |
1842 | "6.945/dont-panic/emacs-basic-config.tar.bz2")) | |
1843 | (sha256 | |
1844 | (base32 | |
1845 | "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1")))) | |
1846 | (build-system emacs-build-system) | |
1847 | (inputs `(("mit-scheme" ,mit-scheme))) | |
1848 | (arguments | |
1849 | `(#:phases | |
1850 | (modify-phases %standard-phases | |
1851 | (add-after 'unpack 'configure-doc | |
1852 | (lambda* (#:key inputs #:allow-other-keys) | |
1853 | (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme")) | |
1854 | (doc-dir (string-append mit-scheme-dir "/share/doc/" | |
1855 | "mit-scheme-" | |
1856 | ,(package-version mit-scheme)))) | |
1857 | (substitute* "mit-scheme-doc.el" | |
1858 | (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/") | |
1859 | (string-append "file:" doc-dir "/mit-scheme-ref/"))))))))) | |
1860 | (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/") | |
1861 | (synopsis "MIT-Scheme documentation lookup for Emacs") | |
1862 | (description | |
1863 | "This package provides a set of Emacs functions to search definitions of | |
1864 | identifiers in the MIT-Scheme documentation.") | |
1865 | (license license:gpl2+))) | |
e5045f30 | 1866 | |
e5045f30 FB |
1867 | (define-public emacs-constants |
1868 | (package | |
1869 | (name "emacs-constants") | |
f99f3f24 | 1870 | (version "2.6") |
a9e41d2f | 1871 | (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants") |
e5045f30 FB |
1872 | (source |
1873 | (origin | |
37dbfc50 | 1874 | (file-name (string-append name "-" version ".tar.gz")) |
f99f3f24 FB |
1875 | (method url-fetch) |
1876 | (uri (string-append "https://github.com/fedeinthemix/emacs-constants" | |
1877 | "/archive/v" version ".tar.gz")) | |
e5045f30 FB |
1878 | (sha256 |
1879 | (base32 | |
f99f3f24 | 1880 | "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n")))) |
e5045f30 | 1881 | (build-system emacs-build-system) |
e5045f30 FB |
1882 | (synopsis "Enter definition of constants into an Emacs buffer") |
1883 | (description | |
1884 | "This package provides functions for inserting the definition of natural | |
1885 | constants and units into an Emacs buffer.") | |
1886 | (license license:gpl2+))) | |
85960693 | 1887 | |
e203221f RW |
1888 | (define-public emacs-tagedit |
1889 | (package | |
1890 | (name "emacs-tagedit") | |
1891 | (version "1.4.0") | |
1892 | (source | |
1893 | (origin | |
1894 | (method url-fetch) | |
1895 | (uri (string-append "https://github.com/magnars/tagedit/" | |
1896 | "archive/" version ".tar.gz")) | |
1897 | (file-name (string-append name "-" version ".tar.gz")) | |
1898 | (sha256 | |
1899 | (base32 | |
1900 | "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq")))) | |
1901 | (build-system emacs-build-system) | |
1902 | (propagated-inputs | |
1903 | `(("emacs-s" ,emacs-s) | |
1904 | ("emacs-dash" ,emacs-dash))) | |
1905 | (home-page "https://github.com/magnars/tagedit") | |
1906 | (synopsis "Some paredit-like features for html-mode") | |
1907 | (description | |
1908 | "This package provides a collection of paredit-like functions for editing | |
1909 | in @code{html-mode}.") | |
1910 | (license license:gpl3+))) | |
1911 | ||
85960693 FB |
1912 | (define-public emacs-slime |
1913 | (package | |
1914 | (name "emacs-slime") | |
54055e9f | 1915 | (version "2.18") |
85960693 FB |
1916 | (source |
1917 | (origin | |
1918 | (file-name (string-append name "-" version ".tar.gz")) | |
1919 | (method url-fetch) | |
1920 | (uri (string-append | |
1921 | "https://github.com/slime/slime/archive/v" | |
1922 | version ".tar.gz")) | |
1923 | (sha256 | |
1924 | (base32 | |
54055e9f | 1925 | "146avwbwr6mw0nmgyihx8gkr0mv6al7a73igzxvysj62000cqvlj")))) |
85960693 FB |
1926 | (build-system emacs-build-system) |
1927 | (native-inputs | |
1928 | `(("texinfo" ,texinfo))) | |
1929 | (arguments | |
1930 | `(#:phases | |
1931 | (modify-phases %standard-phases | |
1932 | (add-before 'install 'configure | |
1933 | (lambda* _ | |
1934 | (emacs-substitute-variables "slime.el" | |
1935 | ("inferior-lisp-program" "sbcl")) | |
1936 | #t)) | |
1937 | (add-before 'install 'install-doc | |
1938 | (lambda* (#:key outputs #:allow-other-keys) | |
1939 | (let* ((out (assoc-ref outputs "out")) | |
1940 | (info-dir (string-append out "/share/info")) | |
1941 | (doc-dir (string-append out "/share/doc/" | |
1942 | ,name "-" ,version)) | |
1943 | (doc-files '("doc/slime-refcard.pdf" | |
1944 | "README.md" "NEWS" "PROBLEMS" | |
1945 | "CONTRIBUTING.md"))) | |
1946 | (with-directory-excursion "doc" | |
1947 | (substitute* "Makefile" | |
1948 | (("infodir=/usr/local/info") | |
1949 | (string-append "infodir=" info-dir))) | |
1950 | (system* "make" "html/index.html") | |
1951 | (system* "make" "slime.info") | |
1952 | (install-file "slime.info" info-dir) | |
1953 | (copy-recursively "html" (string-append doc-dir "/html"))) | |
1954 | (for-each (lambda (f) | |
1955 | (install-file f doc-dir) | |
1956 | (delete-file f)) | |
1957 | doc-files) | |
1958 | (delete-file-recursively "doc") | |
1959 | #t)))))) | |
1960 | (home-page "https://github.com/slime/slime") | |
1961 | (synopsis "Superior Lisp Interaction Mode for Emacs") | |
1962 | (description | |
1963 | "SLIME extends Emacs with support for interactive programming in | |
1964 | Common Lisp. The features are centered around @{slime-mode}, an Emacs | |
1965 | minor mode that complements the standard @{lisp-mode}. While lisp-mode | |
1966 | supports editing Lisp source files, @{slime-mode} adds support for | |
1967 | interacting with a running Common Lisp process for compilation, | |
1968 | debugging, documentation lookup, and so on.") | |
1969 | (license license:gpl2+))) | |
e11d14fe | 1970 | |
1971 | (define-public emacs-popup | |
1972 | (package | |
1973 | (name "emacs-popup") | |
1974 | (version "0.5.3") | |
1975 | (source (origin | |
1976 | (method url-fetch) | |
1977 | (uri (string-append | |
1978 | "https://github.com/auto-complete/popup-el/archive/v" | |
1979 | version ".tar.gz")) | |
1980 | (file-name (string-append name "-" version ".tar.gz")) | |
1981 | (sha256 | |
1982 | (base32 | |
1983 | "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0")))) | |
1984 | (build-system emacs-build-system) | |
e11d14fe | 1985 | (home-page "https://github.com/auto-complete/popup-el") |
1986 | (synopsis "Visual Popup User Interface for Emacs") | |
1987 | (description | |
1988 | "Popup.el is a visual popup user interface library for Emacs. | |
1989 | This provides a basic API and common UI widgets such as popup tooltips | |
1990 | and popup menus.") | |
1991 | (license license:gpl3+))) | |
48766ea8 RW |
1992 | |
1993 | (define-public emacs-god-mode | |
1994 | (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964") | |
1995 | (revision "1")) | |
1996 | (package | |
1997 | (name "emacs-god-mode") | |
1998 | (version (string-append "20151005.925." | |
1999 | revision "-" (string-take commit 9))) | |
2000 | (source | |
2001 | (origin | |
2002 | (method git-fetch) | |
2003 | (uri (git-reference | |
2004 | (url "https://github.com/chrisdone/god-mode.git") | |
2005 | (commit commit))) | |
2006 | (file-name (string-append name "-" version "-checkout")) | |
2007 | (sha256 | |
2008 | (base32 | |
2009 | "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix")))) | |
2010 | (build-system emacs-build-system) | |
2011 | (home-page "https://github.com/chrisdone/god-mode") | |
2012 | (synopsis "Minor mode for entering commands without modifier keys") | |
2013 | (description | |
2014 | "This package provides a global minor mode for entering Emacs commands | |
2015 | without modifier keys. It's similar to Vim's separation of commands and | |
2016 | insertion mode. When enabled all keys are implicitly prefixed with | |
2017 | @samp{C-} (among other helpful shortcuts).") | |
2018 | (license license:gpl3+)))) | |
4670f70a CM |
2019 | |
2020 | (define-public emacs-rfcview | |
2021 | (package | |
2022 | (name "emacs-rfcview") | |
2023 | (version "0.13") | |
2024 | (home-page "http://www.loveshack.ukfsn.org/emacs") | |
2025 | (source (origin | |
02736daa | 2026 | (method url-fetch) |
4670f70a CM |
2027 | (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el") |
2028 | (sha256 | |
2029 | (base32 | |
2030 | "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz")))) | |
2031 | (build-system emacs-build-system) | |
4670f70a CM |
2032 | (synopsis "Prettify Request for Comments (RFC) documents") |
2033 | (description "The Internet Engineering Task Force (IETF) and the Internet | |
2034 | Society (ISOC) publish various Internet-related protocols and specifications | |
2035 | as \"Request for Comments\" (RFC) documents and Internet Standard (STD) | |
2036 | documents. RFCs and STDs are published in a simple text form. This package | |
2037 | provides an Emacs major mode, rfcview-mode, which makes it more pleasant to | |
2038 | read these documents in Emacs. It prettifies the text and adds | |
2039 | hyperlinks/menus for easier navigation. It also provides functions for | |
2040 | browsing the index of RFC documents and fetching them from remote servers or | |
2041 | local directories.") | |
2042 | (license license:gpl3+))) | |
2043 | ||
9e9c71eb CM |
2044 | (define-public emacs-ffap-rfc-space |
2045 | (package | |
2046 | (name "emacs-ffap-rfc-space") | |
2047 | (version "12") | |
2048 | (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html") | |
2049 | (source (origin | |
02736daa | 2050 | (method url-fetch) |
9e9c71eb CM |
2051 | (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el") |
2052 | (sha256 | |
2053 | (base32 | |
2054 | "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck")))) | |
2055 | (build-system emacs-build-system) | |
9e9c71eb CM |
2056 | (synopsis "Make ffap recognize an RFC with a space before its number") |
2057 | (description "The Internet Engineering Task Force (IETF) and the | |
2058 | Internet Society (ISOC) publish various Internet-related protocols and | |
2059 | specifications as \"Request for Comments\" (RFC) documents. The | |
2060 | built-in Emacs module \"ffap\" (Find File at Point) has the ability to | |
2061 | recognize names at point which look like \"RFC1234\" and \"RFC-1234\" | |
2062 | and load the appropriate RFC from a remote server. However, it fails | |
2063 | to recognize a name like \"RFC 1234\". This package enhances ffap so | |
2064 | that it correctly finds RFCs even when a space appears before the | |
2065 | number.") | |
2066 | (license license:gpl3+))) | |
9576cc72 | 2067 | |
db1a4960 RW |
2068 | (define-public emacs-org-bullets |
2069 | (package | |
2070 | (name "emacs-org-bullets") | |
2071 | (version "0.2.4") | |
2072 | (source | |
2073 | (origin | |
2074 | (method url-fetch) | |
2075 | (uri (string-append "https://github.com/sabof/org-bullets/archive/" | |
2076 | version ".tar.gz")) | |
2077 | (file-name (string-append name "-" version ".tar.gz")) | |
2078 | (sha256 | |
2079 | (base32 | |
2080 | "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh")))) | |
2081 | (build-system emacs-build-system) | |
2082 | (home-page "https://github.com/sabof/org-bullets") | |
2083 | (synopsis "Show bullets in org-mode as UTF-8 characters") | |
2084 | (description | |
2085 | "This package provides an Emacs minor mode causing bullets in | |
2086 | @code{org-mode} to be rendered as UTF-8 characters.") | |
2087 | (license license:gpl3+))) | |
2088 | ||
9576cc72 AP |
2089 | (define-public emacs-zenburn-theme |
2090 | (package | |
2091 | (name "emacs-zenburn-theme") | |
2092 | (version "2.4") | |
2093 | (source (origin | |
2094 | (method url-fetch) | |
2095 | (uri (string-append | |
2096 | "https://github.com/bbatsov/zenburn-emacs/archive/v" | |
2097 | version ".tar.gz")) | |
2098 | (file-name (string-append name "-" version ".tar.gz")) | |
2099 | (sha256 | |
2100 | (base32 | |
2101 | "0lyi84bm8sa7vj40n6zg6rlbsmi53mi1y9xn6gkjj29s5zbcnlg7")))) | |
2102 | (build-system emacs-build-system) | |
2103 | (home-page "http://github.com/bbatsov/zenburn-emacs") | |
2104 | (synopsis "Low contrast color theme for Emacs") | |
2105 | (description | |
2106 | "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs. | |
2107 | It is built on top of the custom theme support in Emacs 24 or later.") | |
2108 | (license license:gpl3+))) | |
2109 | ||
012c8b35 RW |
2110 | (define-public emacs-solarized-theme |
2111 | (package | |
2112 | (name "emacs-solarized-theme") | |
2113 | (version "1.2.2") | |
2114 | (source (origin | |
2115 | (method url-fetch) | |
2116 | (uri (string-append "https://github.com/bbatsov/solarized-emacs/" | |
2117 | "archive/v" version ".tar.gz")) | |
2118 | (file-name (string-append name "-" version ".tar.gz")) | |
2119 | (sha256 | |
2120 | (base32 | |
2121 | "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx")))) | |
2122 | (build-system emacs-build-system) | |
2123 | (propagated-inputs | |
090bdb9e | 2124 | `(("emacs-dash" ,emacs-dash))) |
012c8b35 RW |
2125 | (home-page "http://github.com/bbatsov/solarized-emacs") |
2126 | (synopsis "Port of the Solarized theme for Emacs") | |
2127 | (description | |
2128 | "Solarized for Emacs is a port of the Solarized theme for Vim. This | |
2129 | package provides a light and a dark variant.") | |
2130 | (license license:gpl3+))) | |
2131 | ||
e7761186 AV |
2132 | (define-public emacs-ahungry-theme |
2133 | (package | |
2134 | (name "emacs-ahungry-theme") | |
2135 | (version "1.3.0") | |
2136 | (source | |
2137 | (origin (method url-fetch) | |
f32ffa04 | 2138 | (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-" |
e7761186 AV |
2139 | version ".tar")) |
2140 | (sha256 | |
2141 | (base32 | |
2142 | "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq")))) | |
2143 | (build-system emacs-build-system) | |
2144 | (home-page "https://github.com/ahungry/color-theme-ahungry") | |
2145 | (synopsis "Ahungry color theme for Emacs") | |
2146 | (description "Ahungry theme for Emacs provides bright and bold colors. | |
2147 | If you load it from a terminal, you will be able to make use of the | |
2148 | transparent background. If you load it from a GUI, it will default to a | |
2149 | dark background.") | |
2150 | (license license:gpl3+))) | |
2151 | ||
5c447e28 AP |
2152 | (define-public emacs-smartparens |
2153 | (package | |
2154 | (name "emacs-smartparens") | |
59c827f4 | 2155 | (version "1.8.0") |
5c447e28 AP |
2156 | (source (origin |
2157 | (method url-fetch) | |
2158 | (uri (string-append | |
2159 | "https://github.com/Fuco1/smartparens/archive/" | |
2160 | version ".tar.gz")) | |
2161 | (file-name (string-append name "-" version ".tar.gz")) | |
2162 | (sha256 | |
2163 | (base32 | |
59c827f4 | 2164 | "0xsqiklg0q4w6gj0js1hvsz4lkypvcx6c9kzb1mz232gwlqx1azw")))) |
5c447e28 AP |
2165 | (build-system emacs-build-system) |
2166 | (propagated-inputs `(("emacs-dash" ,emacs-dash))) | |
2167 | (home-page "https://github.com/Fuco1/smartparens") | |
2168 | (synopsis "Paredit-like insertion, wrapping and navigation with user | |
2169 | defined pairs") | |
2170 | (description | |
2171 | "Smartparens is a minor mode for Emacs that deals with parens pairs | |
2172 | and tries to be smart about it. It started as a unification effort to | |
2173 | combine functionality of several existing packages in a single, | |
2174 | compatible and extensible way to deal with parentheses, delimiters, tags | |
2175 | and the like. Some of these packages include autopair, textmate, | |
2176 | wrap-region, electric-pair-mode, paredit and others. With the basic | |
2177 | features found in other packages it also brings many improvements as | |
2178 | well as completely new features.") | |
2179 | (license license:gpl3+))) | |
8eeb301d | 2180 | |
8f82641a RJ |
2181 | (define-public emacs-hl-todo |
2182 | (package | |
2183 | (name "emacs-hl-todo") | |
35d1ade7 | 2184 | (version "1.7.1") |
8f82641a RJ |
2185 | (source (origin |
2186 | (method url-fetch) | |
2187 | (uri (string-append | |
2188 | "https://raw.githubusercontent.com/tarsius/hl-todo/" | |
2189 | version "/hl-todo.el")) | |
0e7c4089 | 2190 | (file-name (string-append "hl-todo-" version ".el")) |
8f82641a RJ |
2191 | (sha256 |
2192 | (base32 | |
35d1ade7 | 2193 | "0flhz9vy8w1vvwwji92pi5k4659hl368bakj2qf2zfd26z8x583h")))) |
8f82641a RJ |
2194 | (build-system emacs-build-system) |
2195 | (home-page "https://github.com/tarsius/hl-todo") | |
2196 | (synopsis "Emacs mode to highlight TODO and similar keywords") | |
2197 | (description | |
2198 | "This package provides an Emacs mode to highlight TODO and similar | |
2199 | keywords in comments and strings. This package also provides commands for | |
2200 | moving to the next or previous keyword and to invoke @code{occur} with a | |
2201 | regexp that matches all known keywords.") | |
2202 | (license license:gpl3+))) | |
2203 | ||
480f7350 RW |
2204 | (define-public emacs-perspective |
2205 | (package | |
2206 | (name "emacs-perspective") | |
2207 | (version "1.12") | |
2208 | (source | |
2209 | (origin | |
2210 | (method url-fetch) | |
2211 | (uri (string-append "https://github.com/nex3/perspective-el/" | |
2212 | "archive/" version ".tar.gz")) | |
2213 | (file-name (string-append name "-" version ".tar.gz")) | |
2214 | (sha256 | |
2215 | (base32 | |
2216 | "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic")))) | |
2217 | (build-system emacs-build-system) | |
2218 | (home-page "http://github.com/nex3/perspective-el") | |
2219 | (synopsis "Switch between named \"perspectives\"") | |
2220 | (description | |
2221 | "This package provides tagged workspaces in Emacs, similar to workspaces in | |
2222 | windows managers such as Awesome and XMonad. @code{perspective.el} provides | |
2223 | multiple workspaces (or \"perspectives\") for each Emacs frame. Each | |
2224 | perspective is composed of a window configuration and a set of buffers. | |
2225 | Switching to a perspective activates its window configuration, and when in a | |
2226 | perspective only its buffers are available by default.") | |
2227 | ;; This package is released under the same license as Emacs (GPLv3+) or | |
2228 | ;; the Expat license. | |
2229 | (license license:gpl3+))) | |
2230 | ||
f1b61e26 | 2231 | (define-public emacs-rudel |
2232 | (package | |
2233 | (name "emacs-rudel") | |
2234 | (version "0.3.1") | |
2235 | (source | |
2236 | (origin | |
2237 | (method url-fetch) | |
2238 | (uri (string-append "http://elpa.gnu.org/packages/rudel-" | |
2239 | version ".tar")) | |
2240 | (sha256 | |
2241 | (base32 | |
2242 | "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz")))) | |
2243 | (build-system emacs-build-system) | |
2244 | (home-page "http://rudel.sourceforge.net/") | |
2245 | (synopsis "Collaborative editing framework") | |
2246 | (description | |
2247 | "Rudel is a collaborative editing environment for GNU Emacs. Its purpose | |
2248 | is to share buffers with other users in order to edit the contents of those | |
2249 | buffers collaboratively. Rudel supports multiple backends to enable | |
2250 | communication with other collaborative editors using different protocols, | |
2251 | though currently Obby (for use with the Gobby editor) is the only | |
2252 | fully-functional one.") | |
2253 | (license license:gpl3+))) | |
2254 | ||
79b3d3ea RW |
2255 | (define-public emacs-hydra |
2256 | (package | |
2257 | (name "emacs-hydra") | |
86d959bd | 2258 | (version "0.13.6") |
79b3d3ea RW |
2259 | (source |
2260 | (origin | |
2261 | (method url-fetch) | |
2262 | (uri (string-append "https://github.com/abo-abo/hydra/archive/" | |
2263 | version ".tar.gz")) | |
2264 | (file-name (string-append name "-" version ".tar.gz")) | |
2265 | (sha256 | |
2266 | (base32 | |
86d959bd | 2267 | "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0")))) |
79b3d3ea RW |
2268 | (build-system emacs-build-system) |
2269 | (home-page "https://github.com/abo-abo/hydra") | |
2270 | (synopsis "Make Emacs bindings that stick around") | |
2271 | (description | |
2272 | "This package can be used to tie related commands into a family of short | |
2273 | bindings with a common prefix---a Hydra. Once you summon the Hydra (through | |
2274 | the prefixed binding), all the heads can be called in succession with only a | |
2275 | short extension. Any binding that isn't the Hydra's head vanquishes the | |
2276 | Hydra. Note that the final binding, besides vanquishing the Hydra, will still | |
2277 | serve its original purpose, calling the command assigned to it. This makes | |
2278 | the Hydra very seamless; it's like a minor mode that disables itself | |
2279 | automatically.") | |
2280 | (license license:gpl3+))) | |
2281 | ||
12db29ba RW |
2282 | (define-public emacs-ivy |
2283 | (package | |
2284 | (name "emacs-ivy") | |
2285 | (version "0.8.0") | |
2286 | (source | |
2287 | (origin | |
2288 | (method url-fetch) | |
2289 | (uri (string-append "https://github.com/abo-abo/swiper/archive/" | |
2290 | version ".tar.gz")) | |
2291 | (file-name (string-append name "-" version ".tar.gz")) | |
2292 | (sha256 | |
2293 | (base32 | |
2294 | "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q")))) | |
2295 | (build-system emacs-build-system) | |
2296 | (propagated-inputs | |
2297 | `(("emacs-hydra" ,emacs-hydra))) | |
2298 | (home-page "http://oremacs.com/swiper/") | |
2299 | (synopsis "Incremental vertical completion for Emacs") | |
2300 | (description | |
2301 | "This package provides @code{ivy-read} as an alternative to | |
2302 | @code{completing-read} and similar functions. No attempt is made to determine | |
2303 | the best candidate. Instead, the user can navigate candidates with | |
2304 | @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by | |
2305 | splitting the input text by spaces and re-building it into a regular | |
2306 | expression.") | |
2307 | (license license:gpl3+))) | |
2308 | ||
5edc24ec RW |
2309 | (define-public emacs-avy |
2310 | (package | |
2311 | (name "emacs-avy") | |
2312 | (version "0.4.0") | |
2313 | (source | |
2314 | (origin | |
2315 | (method url-fetch) | |
2316 | (uri (string-append "https://github.com/abo-abo/avy/archive/" | |
2317 | version ".tar.gz")) | |
2318 | (file-name (string-append name "-" version ".tar.gz")) | |
2319 | (sha256 | |
2320 | (base32 | |
2321 | "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796")))) | |
2322 | (build-system emacs-build-system) | |
2323 | (home-page "https://github.com/abo-abo/avy") | |
2324 | (synopsis "Tree-based completion for Emacs") | |
2325 | (description | |
2326 | "This package provides a generic completion method based on building a | |
2327 | balanced decision tree with each candidate being a leaf. To traverse the tree | |
2328 | from the root to a desired leaf, typically a sequence of @code{read-key} can | |
2329 | be used. | |
2330 | ||
2331 | In order for @code{read-key} to make sense, the tree needs to be visualized | |
2332 | appropriately, with a character at each branch node. So this completion | |
2333 | method works only for things that you can see on your screen, all at once, | |
2334 | such as the positions of characters, words, line beginnings, links, or | |
2335 | windows.") | |
2336 | (license license:gpl3+))) | |
2337 | ||
93dba17c RW |
2338 | (define-public emacs-ace-window |
2339 | (package | |
2340 | (name "emacs-ace-window") | |
2341 | (version "0.9.0") | |
2342 | (source | |
2343 | (origin | |
2344 | (method url-fetch) | |
2345 | (uri (string-append "https://github.com/abo-abo/ace-window/archive/" | |
2346 | version ".tar.gz")) | |
2347 | (file-name (string-append name "-" version ".tar.gz")) | |
2348 | (sha256 | |
2349 | (base32 | |
2350 | "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn")))) | |
2351 | (build-system emacs-build-system) | |
2352 | (propagated-inputs | |
2353 | `(("emacs-avy" ,emacs-avy))) | |
2354 | (home-page "https://github.com/abo-abo/ace-window") | |
2355 | (synopsis "Quickly switch windows in Emacs") | |
2356 | (description | |
2357 | "@code{ace-window} is meant to replace @code{other-window}. | |
2358 | In fact, when there are only two windows present, @code{other-window} is | |
2359 | called. If there are more, each window will have its first character | |
2360 | highlighted. Pressing that character will switch to that window.") | |
2361 | (license license:gpl3+))) | |
2362 | ||
e1918ce4 RW |
2363 | (define-public emacs-iedit |
2364 | (package | |
2365 | (name "emacs-iedit") | |
2366 | (version "0.9.9") | |
2367 | (source | |
2368 | (origin | |
2369 | (method url-fetch) | |
2370 | (uri (string-append "https://github.com/victorhge/iedit/archive/v" | |
2371 | version ".tar.gz")) | |
2372 | (file-name (string-append name "-" version ".tar.gz")) | |
2373 | (sha256 | |
2374 | (base32 | |
2375 | "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj")))) | |
2376 | (build-system emacs-build-system) | |
2377 | (home-page "http://www.emacswiki.org/emacs/Iedit") | |
2378 | (synopsis "Edit multiple regions in the same way simultaneously") | |
2379 | (description | |
2380 | "This package is an Emacs minor mode and allows you to edit one | |
2381 | occurrence of some text in a buffer (possibly narrowed) or region, and | |
2382 | simultaneously have other occurrences edited in the same way. | |
2383 | ||
2384 | You can also use Iedit mode as a quick way to temporarily show only the buffer | |
2385 | lines that match the current text being edited. This gives you the effect of | |
2386 | a temporary @code{keep-lines} or @code{occur}.") | |
2387 | (license license:gpl3+))) | |
2388 | ||
a5338dd4 RW |
2389 | (define-public emacs-lispy |
2390 | (package | |
2391 | (name "emacs-lispy") | |
2392 | (version "0.26.0") | |
2393 | (source | |
2394 | (origin | |
2395 | (method url-fetch) | |
2396 | (uri (string-append "https://github.com/abo-abo/lispy/archive/" | |
2397 | version ".tar.gz")) | |
2398 | (file-name (string-append name "-" version ".tar.gz")) | |
2399 | (sha256 | |
2400 | (base32 | |
2401 | "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl")))) | |
2402 | (build-system emacs-build-system) | |
2403 | (propagated-inputs | |
2404 | `(("emacs-ace-window" ,emacs-ace-window) | |
2405 | ("emacs-iedit" ,emacs-iedit) | |
2406 | ("emacs-ivy" ,emacs-ivy) | |
2407 | ("emacs-hydra" ,emacs-hydra))) | |
2408 | (home-page "https://github.com/abo-abo/lispy") | |
2409 | (synopsis "Modal S-expression editing") | |
2410 | (description | |
2411 | "Due to the structure of Lisp syntax it's very rare for the programmer to | |
2412 | want to insert characters right before \"(\" or right after \")\". Thus | |
2413 | unprefixed printable characters can be used to call commands when the point is | |
2414 | at one of these special locations. Lispy provides unprefixed keybindings for | |
2415 | S-expression editing when point is at the beginning or end of an | |
2416 | S-expression.") | |
2417 | (license license:gpl3+))) | |
2418 | ||
8eeb301d AP |
2419 | (define-public emacs-clojure-mode |
2420 | (package | |
2421 | (name "emacs-clojure-mode") | |
2422 | (version "5.3.0") | |
2423 | (source (origin | |
2424 | (method url-fetch) | |
2425 | (uri (string-append | |
2426 | "https://github.com/clojure-emacs/clojure-mode/archive/" | |
2427 | version ".tar.gz")) | |
2428 | (file-name (string-append name "-" version ".tar.gz")) | |
2429 | (sha256 | |
2430 | (base32 | |
2431 | "0gi8ra3ap5m3mz4qh1yxp2cldn7z9xcxvypznr6rrlc6a9l8s5a6")))) | |
2432 | (build-system emacs-build-system) | |
2433 | (home-page "http://github.com/clojure-emacs/clojure-mode") | |
2434 | (synopsis "Major mode for Clojure code") | |
2435 | (description | |
2436 | "This Emacs package provides font-lock, indentation, navigation and basic | |
2437 | refactoring for the @uref{http://clojure.org, Clojure programming language}. | |
2438 | It is recommended to use @code{clojure-mode} with paredit or smartparens.") | |
2439 | (license license:gpl3+))) | |
d345491a AP |
2440 | |
2441 | (define-public emacs-epl | |
2442 | (package | |
2443 | (name "emacs-epl") | |
2444 | (version "0.8") | |
2445 | (source (origin | |
2446 | (method url-fetch) | |
2447 | (uri (string-append | |
2448 | "https://github.com/cask/epl/archive/" | |
2449 | version ".tar.gz")) | |
2450 | (sha256 | |
2451 | (base32 | |
2452 | "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc")))) | |
2453 | (build-system emacs-build-system) | |
2454 | (home-page "http://github.com/cask/epl") | |
2455 | (synopsis "Emacs Package Library") | |
2456 | (description | |
2457 | "A package management library for Emacs, based on @code{package.el}. | |
2458 | ||
2459 | The purpose of this library is to wrap all the quirks and hassle of | |
2460 | @code{package.el} into a sane API.") | |
2461 | (license license:gpl3+))) | |
ad6c4bc4 AP |
2462 | |
2463 | (define-public emacs-queue | |
2464 | (package | |
2465 | (name "emacs-queue") | |
2466 | (version "0.1.1") | |
2467 | (source (origin | |
02736daa | 2468 | (method url-fetch) |
f32ffa04 | 2469 | (uri (string-append "https://elpa.gnu.org/packages/queue-" |
ad6c4bc4 AP |
2470 | version ".el")) |
2471 | (sha256 | |
2472 | (base32 | |
2473 | "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391")))) | |
2474 | (build-system emacs-build-system) | |
2475 | (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html") | |
2476 | (synopsis "Queue data structure for Emacs") | |
2477 | (description | |
2478 | "This Emacs library provides queue data structure. These queues can be | |
2479 | used both as a first-in last-out (FILO) and as a first-in first-out (FIFO) | |
2480 | stack, i.e. elements can be added to the front or back of the queue, and can | |
2481 | be removed from the front. This type of data structure is sometimes called an | |
2482 | \"output-restricted deque\".") | |
2483 | (license license:gpl3+))) | |
32abfcf4 AP |
2484 | |
2485 | (define-public emacs-pkg-info | |
2486 | (package | |
2487 | (name "emacs-pkg-info") | |
2488 | (version "0.6") | |
2489 | (source (origin | |
2490 | (method url-fetch) | |
2491 | (uri (string-append | |
2492 | "https://github.com/lunaryorn/pkg-info.el/archive/" | |
2493 | version ".tar.gz")) | |
2494 | (file-name (string-append name "-" version ".tar.gz")) | |
2495 | (sha256 | |
2496 | (base32 | |
2497 | "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5")))) | |
2498 | (build-system emacs-build-system) | |
2499 | (propagated-inputs `(("emacs-epl" ,emacs-epl))) | |
2500 | (home-page "https://github.com/lunaryorn/pkg-info.el") | |
2501 | (synopsis "Information about Emacs packages") | |
2502 | (description | |
2503 | "This library extracts information from the installed Emacs packages.") | |
2504 | (license license:gpl3+))) | |
565bccc5 AP |
2505 | |
2506 | (define-public emacs-spinner | |
2507 | (package | |
2508 | (name "emacs-spinner") | |
2509 | (version "1.7.1") | |
2510 | (source (origin | |
02736daa | 2511 | (method url-fetch) |
f32ffa04 | 2512 | (uri (string-append "https://elpa.gnu.org/packages/spinner-" |
565bccc5 AP |
2513 | version ".el")) |
2514 | (sha256 | |
2515 | (base32 | |
2516 | "1fmwzdih0kbyvs8bn38mpm4sbs2mikqy2vdykfy9g20wpa8vb681")))) | |
2517 | (build-system emacs-build-system) | |
2518 | (home-page "https://github.com/Malabarba/spinner.el") | |
2519 | (synopsis "Emacs mode-line spinner for operations in progress") | |
2520 | (description | |
2521 | "This Emacs package adds spinners and progress-bars to the mode-line for | |
2522 | ongoing operations.") | |
2523 | (license license:gpl3+))) | |
62a45cb6 AP |
2524 | |
2525 | (define-public emacs-seq | |
2526 | (package | |
2527 | (name "emacs-seq") | |
2528 | (version "2.15") | |
2529 | (source (origin | |
2530 | (method url-fetch) | |
f32ffa04 | 2531 | (uri (string-append "https://elpa.gnu.org/packages/seq-" |
62a45cb6 AP |
2532 | version ".tar")) |
2533 | (sha256 | |
2534 | (base32 | |
2535 | "09wi1765bmn7i8fg6ajjfaxgs4ipc42d58zx2fdqpidrdg9c7q73")))) | |
2536 | (build-system emacs-build-system) | |
f32ffa04 | 2537 | (home-page "https://elpa.gnu.org/packages/seq.html") |
62a45cb6 AP |
2538 | (synopsis "Sequence manipulation functions for Emacs") |
2539 | (description | |
2540 | "This Emacs library provides sequence-manipulation functions that | |
2541 | complement basic functions provided by @code{subr.el}. All provided functions | |
2542 | work on lists, strings and vectors.") | |
2543 | (license license:gpl3+))) | |
6ede256f DT |
2544 | |
2545 | (define-public emacs-better-defaults | |
2546 | (package | |
2547 | (name "emacs-better-defaults") | |
2548 | (version "0.1.3") | |
2549 | (source | |
2550 | (origin | |
2551 | (method url-fetch) | |
2552 | (uri (string-append "https://github.com/technomancy/better-defaults" | |
2553 | "/archive/" version ".tar.gz")) | |
13384842 | 2554 | (file-name (string-append name "-" version ".tar.gz")) |
6ede256f DT |
2555 | (sha256 |
2556 | (base32 | |
2557 | "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2")))) | |
2558 | (build-system emacs-build-system) | |
2559 | (home-page "https://github.com/technomancy/better-defaults") | |
2560 | (synopsis "Better defaults for Emacs") | |
2561 | (description | |
2562 | "Better defaults attempts to address the most obvious deficiencies of the | |
2563 | Emacs default configuration in uncontroversial ways that nearly everyone can | |
2564 | agree upon.") | |
2565 | (license license:gpl3+))) | |
c5c08f1b | 2566 | |
7034791a RJ |
2567 | (define-public emacs-eprime |
2568 | (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f")) | |
2569 | (package | |
2570 | (name "emacs-eprime") | |
2571 | (version (string-append "20140513-" (string-take commit 7))) | |
2572 | (source (origin | |
2573 | (method url-fetch) | |
2574 | (uri (string-append "https://raw.githubusercontent.com" | |
2575 | "/AndrewHynes/eprime-mode/" | |
2576 | commit "/eprime-mode.el")) | |
2577 | (file-name (string-append "eprime-" version ".el")) | |
2578 | (sha256 | |
2579 | (base32 | |
2580 | "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d")))) | |
2581 | (build-system emacs-build-system) | |
2582 | (home-page "https://github.com/AndrewHynes/eprime-mode") | |
2583 | (synopsis "E-prime checking mode for Emacs") | |
2584 | (description "This package provides an E-prime checking mode for Emacs | |
2585 | that highlights non-conforming text. The subset of the English language called | |
2586 | E-Prime forbids the use of the \"to be\" form to strengthen your writing.") | |
2587 | (license license:gpl3+)))) | |
2588 | ||
41184943 RJ |
2589 | (define-public emacs-ess |
2590 | (package | |
2591 | (name "emacs-ess") | |
2592 | (version "16.04") | |
2593 | (source (origin | |
2594 | (method url-fetch) | |
2595 | (uri (string-append "http://ess.r-project.org/downloads/ess/ess-" | |
2596 | version ".tgz")) | |
2597 | (sha256 | |
2598 | (base32 | |
2599 | "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg")))) | |
2600 | (build-system gnu-build-system) | |
2601 | (arguments | |
2602 | `(#:tests? #f ; There is no test suite. | |
2603 | #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) | |
2604 | #:phases | |
2605 | (modify-phases %standard-phases | |
2606 | (delete 'configure) | |
2607 | (add-before 'build 'more-shebang-patching | |
2608 | (lambda* (#:key inputs #:allow-other-keys) | |
2609 | (substitute* "Makeconf" | |
2610 | (("SHELL = /bin/sh") | |
2611 | (string-append "SHELL = " (which "sh"))))))))) | |
2612 | (inputs | |
2613 | `(("emacs" ,emacs-minimal) | |
2614 | ("r" ,r))) | |
2615 | (native-inputs | |
2616 | `(("perl" ,perl) | |
2617 | ("texinfo" ,texinfo) | |
2618 | ("texlive" ,texlive))) | |
2619 | (home-page "http://ess.r-project.org/") | |
2620 | (synopsis "Emacs mode for statistical analysis programs") | |
2621 | (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU | |
2622 | Emacs. It is designed to support editing of scripts and interaction with | |
2623 | various statistical analysis programs such as R and OpenBUGS.") | |
2624 | (license license:gpl2+))) | |
2625 | ||
c5c08f1b DT |
2626 | (define-public emacs-smex |
2627 | (package | |
2628 | (name "emacs-smex") | |
2629 | (version "3.0") | |
2630 | (source (origin | |
2631 | (method url-fetch) | |
2632 | (uri (string-append "https://raw.githubusercontent.com" | |
2633 | "/nonsequitur/smex/" version "/smex.el")) | |
2634 | (file-name (string-append "smex-" version ".el")) | |
2635 | (sha256 | |
2636 | (base32 | |
2637 | "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp")))) | |
2638 | (build-system emacs-build-system) | |
2639 | (home-page "http://github.com/nonsequitur/smex/") | |
2640 | (synopsis "M-x interface with Ido-style fuzzy matching") | |
2641 | (description | |
2642 | "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a | |
2643 | convenient interface to your recently and most frequently used commands. And | |
2644 | to all the other commands, too.") | |
2645 | (license license:gpl3+))) | |
3e5be84b DT |
2646 | |
2647 | (define-public emacs-js2-mode | |
2648 | (package | |
2649 | (name "emacs-js2-mode") | |
2650 | (version "20150909") | |
2651 | (source (origin | |
2652 | (method url-fetch) | |
2653 | (uri (string-append "https://github.com/mooz/js2-mode/archive/" | |
2654 | version ".tar.gz")) | |
2655 | (file-name (string-append name "-" version ".tar.gz")) | |
2656 | (sha256 | |
2657 | (base32 | |
2658 | "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0")))) | |
2659 | (build-system emacs-build-system) | |
2660 | (home-page "https://github.com/mooz/js2-mode/") | |
2661 | (synopsis "Improved JavaScript editing mode for Emacs") | |
2662 | (description | |
2663 | "Js2-mode provides a JavaScript major mode for Emacs that is more | |
2664 | advanced than the built-in javascript-mode. Features include accurate syntax | |
2665 | highlighting using a recursive-descent parser, on-the-fly reporting of syntax | |
2666 | errors and strict-mode warnings, smart line-wrapping within comments and | |
2667 | strings, and code folding.") | |
2668 | (license license:gpl3+))) | |
b78b6e80 DT |
2669 | |
2670 | (define-public emacs-markdown-mode | |
2671 | (package | |
2672 | (name "emacs-markdown-mode") | |
2673 | (version "2.1") | |
2674 | (source (origin | |
2675 | (method url-fetch) | |
2676 | (uri (string-append "https://raw.githubusercontent.com/jrblevin" | |
2677 | "/markdown-mode/v" version | |
2678 | "/markdown-mode.el")) | |
2679 | (file-name (string-append "markdown-mode-" version ".el")) | |
2680 | (sha256 | |
2681 | (base32 | |
2682 | "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w")))) | |
2683 | (build-system emacs-build-system) | |
2684 | (home-page "http://jblevins.org/projects/markdown-mode/") | |
2685 | (synopsis "Emacs Major mode for Markdown files") | |
2686 | (description | |
2687 | "Markdown-mode is a major mode for editing Markdown-formatted text files | |
2688 | in Emacs.") | |
2689 | (license license:gpl3+))) | |
a2670dde DT |
2690 | |
2691 | (define-public emacs-projectile | |
2692 | (package | |
2693 | (name "emacs-projectile") | |
2694 | (version "0.13.0") | |
2695 | (source (origin | |
2696 | (method url-fetch) | |
2697 | (uri (string-append "https://raw.githubusercontent.com/bbatsov" | |
2698 | "/projectile/v" version "/projectile.el")) | |
2699 | (file-name (string-append "projectile-" version ".el")) | |
2700 | (sha256 | |
2701 | (base32 | |
2702 | "1pc6xb61hzxzc5hkqkli1ab0s7wz0rfgx4kcn9y30ksvhw18smbz")))) | |
2703 | (build-system emacs-build-system) | |
2704 | (propagated-inputs | |
2705 | `(("emacs-dash" ,emacs-dash) | |
2706 | ("emacs-pkg-info" ,emacs-pkg-info))) | |
2707 | (home-page "https://github.com/bbatsov/projectile") | |
2708 | (synopsis "Manage and navigate projects in Emacs easily") | |
2709 | (description | |
2710 | "This library provides easy project management and navigation. The | |
2711 | concept of a project is pretty basic - just a folder containing special file. | |
2712 | Currently git, mercurial and bazaar repos are considered projects by default. | |
2713 | If you want to mark a folder manually as a project just create an empty | |
2714 | .projectile file in it.") | |
2715 | (license license:gpl3+))) | |
4aea1e01 DT |
2716 | |
2717 | (define-public emacs-elfeed | |
2718 | (package | |
2719 | (name "emacs-elfeed") | |
2720 | (version "1.4.1") | |
2721 | (source (origin | |
2722 | (method url-fetch) | |
2723 | (uri (string-append "https://github.com/skeeto/elfeed/archive/" | |
2724 | version ".tar.gz")) | |
2725 | (file-name (string-append name "-" version ".tar.gz")) | |
2726 | (sha256 | |
2727 | (base32 | |
2728 | "0i75r8x9ypbfjlnym04h16ikcrlks86p7wsgawrx7mh1lk4inp89")))) | |
2729 | (build-system emacs-build-system) | |
2730 | (home-page "https://github.com/skeeto/elfeed") | |
2731 | (synopsis "Atom/RSS feed reader for Emacs") | |
2732 | (description | |
2733 | "Elfeed is an extensible web feed reader for Emacs, supporting both Atom | |
2734 | and RSS, with a user interface inspired by notmuch.") | |
2735 | (license license:gpl3+))) | |
c86f0207 DT |
2736 | |
2737 | (define-public emacs-rainbow-delimiters | |
2738 | (package | |
2739 | (name "emacs-rainbow-delimiters") | |
2740 | (version "2.1.3") | |
2741 | (source (origin | |
2742 | (method url-fetch) | |
2743 | (uri (string-append "https://raw.githubusercontent.com/Fanael" | |
2744 | "/rainbow-delimiters/" version | |
2745 | "/rainbow-delimiters.el")) | |
2746 | (file-name (string-append "rainbow-delimiters-" version ".el")) | |
2747 | (sha256 | |
2748 | (base32 | |
2749 | "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck")))) | |
2750 | (build-system emacs-build-system) | |
2751 | (home-page "https://github.com/Fanael/rainbow-delimiters") | |
2752 | (synopsis "Highlight brackets according to their depth") | |
2753 | (description | |
2754 | "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which | |
2755 | highlights parentheses, brackets, and braces according to their depth. Each | |
2756 | successive level is highlighted in a different color, making it easy to spot | |
2757 | matching delimiters, orient yourself in the code, and tell which statements | |
2758 | are at a given level.") | |
2759 | (license license:gpl3+))) | |
65b49ae7 | 2760 | |
d95e8e01 RJ |
2761 | (define-public emacs-rainbow-identifiers |
2762 | (package | |
2763 | (name "emacs-rainbow-identifiers") | |
2764 | (version "0.2.2") | |
2765 | (source (origin | |
2766 | (method url-fetch) | |
2767 | (uri (string-append "https://raw.githubusercontent.com/Fanael" | |
2768 | "/rainbow-identifiers/" version | |
2769 | "/rainbow-identifiers.el")) | |
2770 | (file-name (string-append "rainbow-identifiers-" version ".el")) | |
2771 | (sha256 | |
2772 | (base32 | |
2773 | "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31")))) | |
2774 | (build-system emacs-build-system) | |
2775 | (home-page "https://github.com/Fanael/rainbow-identifiers") | |
2776 | (synopsis "Highlight identifiers in source code") | |
2777 | (description | |
2778 | "Rainbow identifiers mode is an Emacs minor mode providing highlighting of | |
2779 | identifiers based on their names. Each identifier gets a color based on a hash | |
2780 | of its name.") | |
2781 | (license license:bsd-2))) | |
2782 | ||
fede3a90 RW |
2783 | (define-public emacs-visual-fill-column |
2784 | (package | |
2785 | (name "emacs-visual-fill-column") | |
2786 | (version "1.7") | |
2787 | (source (origin | |
2788 | (method url-fetch) | |
2789 | (uri (string-append "https://codeload.github.com/joostkremers/" | |
2790 | "visual-fill-column/tar.gz/" version)) | |
2791 | (file-name (string-append name "-" version ".tar.gz")) | |
2792 | (sha256 | |
2793 | (base32 | |
2794 | "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq")))) | |
2795 | (build-system emacs-build-system) | |
2796 | (home-page "https://github.com/joostkremers/visual-fill-column") | |
2797 | (synopsis "Fill-column for visual-line-mode") | |
2798 | (description | |
2799 | "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics | |
2800 | the effect of @code{fill-column} in @code{visual-line-mode}. Instead of | |
2801 | wrapping lines at the window edge, which is the standard behaviour of | |
2802 | @code{visual-line-mode}, it wraps lines at @code{fill-column}. If | |
2803 | @code{fill-column} is too large for the window, the text is wrapped at the | |
2804 | window edge.") | |
2805 | (license license:gpl3+))) | |
2806 | ||
65b49ae7 DT |
2807 | (define-public emacs-ido-completing-read+ |
2808 | (package | |
2809 | (name "emacs-ido-completing-read+") | |
2810 | (version "3.12") | |
2811 | (source (origin | |
2812 | (method url-fetch) | |
2813 | (uri (string-append "https://raw.githubusercontent.com" | |
2814 | "/DarwinAwardWinner/ido-ubiquitous/v" | |
2815 | version "/ido-completing-read+.el")) | |
2816 | (file-name (string-append "ido-completing-read+-" version ".el")) | |
2817 | (sha256 | |
2818 | (base32 | |
2819 | "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf")))) | |
2820 | (build-system emacs-build-system) | |
2821 | (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous") | |
2822 | (synopsis "Replacement for completing-read using ido") | |
2823 | (description | |
2824 | "The ido-completing-read+ function is a wrapper for ido-completing-read. | |
2825 | Importantly, it detects edge cases that ordinary ido cannot handle and either | |
2826 | adjusts them so ido can handle them, or else simply falls back to the standard | |
2827 | Emacs completion function instead.") | |
2828 | (license license:gpl3+))) | |
529fe992 DT |
2829 | |
2830 | (define-public emacs-ido-ubiquitous | |
2831 | (package | |
2832 | (name "emacs-ido-ubiquitous") | |
2833 | (version "3.12") | |
2834 | (source (origin | |
2835 | (method url-fetch) | |
2836 | (uri (string-append "https://raw.githubusercontent.com" | |
2837 | "/DarwinAwardWinner/ido-ubiquitous/v" | |
2838 | version "/ido-ubiquitous.el")) | |
2839 | (file-name (string-append "ido-ubiquitous-" version ".el")) | |
2840 | (sha256 | |
2841 | (base32 | |
2842 | "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2")))) | |
2843 | (build-system emacs-build-system) | |
2844 | (propagated-inputs | |
2845 | `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+))) | |
2846 | (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous") | |
2847 | (synopsis "Use ido (nearly) everywhere") | |
2848 | (description | |
2849 | "Ido-ubiquitous enables ido-style completion for almost every function | |
2850 | that uses the standard completion function completing-read.") | |
2851 | (license license:gpl3+))) | |
63de1231 DT |
2852 | |
2853 | (define-public emacs-yaml-mode | |
2854 | (package | |
2855 | (name "emacs-yaml-mode") | |
2856 | (version "0.0.12") | |
2857 | (source (origin | |
2858 | (method url-fetch) | |
2859 | (uri (string-append "https://raw.githubusercontent.com/yoshiki" | |
2860 | "/yaml-mode/v" version "/yaml-mode.el")) | |
2861 | (file-name (string-append "yaml-mode-" version ".el")) | |
2862 | (sha256 | |
2863 | (base32 | |
e08580c5 | 2864 | "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax")))) |
63de1231 DT |
2865 | (build-system emacs-build-system) |
2866 | (home-page "https://github.com/yoshiki/yaml-mode") | |
2867 | (synopsis "Major mode for editing YAML files") | |
2868 | (description | |
2869 | "Yaml-mode is an Emacs major mode for editing files in the YAML data | |
2870 | serialization format. It was initially developed by Yoshiki Kurihara and many | |
2871 | features were added by Marshall Vandegrift. As YAML and Python share the fact | |
2872 | that indentation determines structure, this mode provides indentation and | |
2873 | indentation command behavior very similar to that of python-mode.") | |
2874 | (license license:gpl3+))) | |
7529c883 DT |
2875 | |
2876 | (define-public emacs-web-mode | |
2877 | (package | |
2878 | (name "emacs-web-mode") | |
2879 | (version "14") | |
2880 | (source (origin | |
2881 | (method url-fetch) | |
2882 | (uri (string-append "https://raw.githubusercontent.com/fxbois" | |
2883 | "/web-mode/v" version "/web-mode.el")) | |
2884 | (file-name (string-append "web-mode-" version ".el")) | |
2885 | (sha256 | |
2886 | (base32 | |
2887 | "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5")))) | |
2888 | (build-system emacs-build-system) | |
2889 | (synopsis "Major mode for editing web templates") | |
2890 | (description "Web-mode is an Emacs major mode for editing web templates | |
2891 | aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by | |
2892 | client/server side engines). Web-mode is compatible with many template | |
2893 | engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker, | |
2894 | Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template, | |
2895 | Dust.js, React/JSX, Angularjs, ejs, etc.") | |
2896 | (home-page "http://web-mode.org/") | |
2897 | (license license:gpl3+))) | |
ae609001 MJ |
2898 | |
2899 | (define-public emacs-helm | |
2900 | (package | |
2901 | (name "emacs-helm") | |
fa6a082e | 2902 | (version "1.9.8") |
ae609001 MJ |
2903 | (source (origin |
2904 | (method url-fetch) | |
2905 | (uri (string-append | |
2906 | "https://github.com/" name "/helm/archive/v" | |
2907 | version ".tar.gz")) | |
2908 | (file-name (string-append name "-" version ".tar.gz")) | |
2909 | (sha256 | |
2910 | (base32 | |
fa6a082e | 2911 | "019dpzr6l83k1fgxn40aqxjvrpz4dl5d9vi7fc5wjnifmxaqxia6")))) |
ae609001 MJ |
2912 | (build-system emacs-build-system) |
2913 | (propagated-inputs | |
2914 | `(("emacs-async" ,emacs-async) | |
2915 | ("emacs-popup" ,emacs-popup))) | |
2916 | (home-page "https://emacs-helm.github.io/helm/") | |
2917 | (synopsis "Incremental completion and selection narrowing | |
2918 | framework for Emacs") | |
2919 | (description "Helm is incremental completion and selection narrowing | |
2920 | framework for Emacs. It will help steer you in the right direction when | |
2921 | you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork | |
2922 | of @code{anything.el} originally written by Tamas Patrovic and can be | |
2923 | considered to be its successor. Helm sets out to clean up the legacy code in | |
2924 | @code{anything.el} and provide a cleaner, leaner and more modular tool, that's | |
2925 | not tied in the trap of backward compatibility.") | |
2926 | (license license:gpl3+))) | |
f9be4366 AP |
2927 | |
2928 | (define-public emacs-cider | |
2929 | (package | |
2930 | (name "emacs-cider") | |
2931 | (version "0.12.0") | |
2932 | (source (origin | |
2933 | (method url-fetch) | |
2934 | (uri (string-append | |
2935 | "https://github.com/clojure-emacs/cider/archive/v" | |
2936 | version ".tar.gz")) | |
2937 | (file-name (string-append name "-" version ".tar.gz")) | |
2938 | (sha256 | |
2939 | (base32 | |
2940 | "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s")))) | |
2941 | (build-system emacs-build-system) | |
2942 | (propagated-inputs | |
2943 | `(("emacs-clojure-mode" ,emacs-clojure-mode) | |
2944 | ("emacs-spinner" ,emacs-spinner) | |
2945 | ("emacs-pkg-info" ,emacs-pkg-info) | |
2946 | ("emacs-queue" ,emacs-queue) | |
2947 | ("emacs-seq" ,emacs-seq))) | |
2948 | (home-page "https://cider.readthedocs.org/") | |
2949 | (synopsis "Clojure development environment for Emacs") | |
2950 | (description | |
2951 | "CIDER (Clojure Interactive Development Environment that Rocks) aims to | |
2952 | provide an interactive development experience similar to the one you'd get | |
2953 | when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with | |
2954 | Geiser) and Smalltalk. | |
2955 | ||
2956 | CIDER is the successor to the now deprecated combination of using SLIME + | |
2957 | swank-clojure for Clojure development. | |
2958 | ||
2959 | There are plenty of differences between CIDER and SLIME, but the core ideas | |
2960 | are pretty much the same (and SLIME served as the principle inspiration for | |
2961 | CIDER).") | |
2962 | (license license:gpl3+))) | |
26e08b4d | 2963 | |
2964 | (define-public emacs-lua-mode | |
2965 | (package | |
2966 | (name "emacs-lua-mode") | |
2967 | (version "20151025") | |
2968 | (source (origin | |
2969 | (method url-fetch) | |
2970 | (uri (string-append | |
2971 | "https://github.com/immerrr/lua-mode/archive/v" | |
2972 | version ".tar.gz")) | |
2973 | (file-name (string-append name "-" version ".tar.gz")) | |
2974 | (sha256 | |
2975 | (base32 | |
2976 | "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v")))) | |
2977 | (build-system emacs-build-system) | |
2978 | (home-page "http://github.com/immerrr/lua-mode/") | |
2979 | (synopsis "Major mode for lua") | |
2980 | (description | |
2981 | "This Emacs package provides a mode for @uref{https://www.lua.org/, | |
2982 | Lua programing language}.") | |
2983 | (license license:gpl2+))) | |
0202612d | 2984 | |
2985 | (define-public emacs-ebuild-mode | |
2986 | (package | |
2987 | (name "emacs-ebuild-mode") | |
2988 | (version "1.30") | |
2989 | (source (origin | |
2990 | (method url-fetch) | |
2991 | (uri (string-append | |
2992 | "https://dev.gentoo.org/~ulm/emacs/ebuild-mode" | |
2993 | "-" version ".tar.xz")) | |
2994 | (file-name (string-append name "-" version ".tar.xz")) | |
2995 | (sha256 | |
2996 | (base32 | |
2997 | "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz")))) | |
2998 | (build-system emacs-build-system) | |
2999 | (home-page "https://devmanual.gentoo.org") | |
3000 | (synopsis "Major modes for Gentoo package files") | |
3001 | (description | |
3002 | "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42 | |
3003 | news items, openrc and runscripts.") | |
3004 | (license license:gpl2+))) | |
a9fbe94e | 3005 | |
2edbfbf5 | 3006 | (define-public emacs-evil |
3007 | (package | |
3008 | (name "emacs-evil") | |
3009 | (version "1.2.12") | |
3010 | (source | |
3011 | (origin | |
3012 | (method url-fetch) | |
3013 | (uri (string-append "https://bitbucket.org/lyro/evil/get/" | |
3014 | version ".tar.bz2")) | |
3015 | (file-name (string-append name "-" version ".tar.bz2")) | |
3016 | (sha256 | |
3017 | (base32 | |
3018 | "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi")))) | |
3019 | (build-system emacs-build-system) | |
3020 | (propagated-inputs | |
3021 | `(("emacs-undo-tree" ,emacs-undo-tree) | |
3022 | ("emacs-goto-chg" ,emacs-goto-chg))) | |
3023 | (home-page "https://bitbucket.com/lyro/evil") | |
3024 | (synopsis "Extensible Vi layer for Emacs") | |
3025 | (description | |
3026 | "Evil is an extensible vi layer for Emacs. It emulates the | |
3027 | main features of Vim, and provides facilities for writing custom | |
3028 | extensions.") | |
3029 | (license license:gpl3+))) | |
3030 | ||
ce74e520 | 3031 | (define-public emacs-goto-chg |
3032 | (package | |
3033 | (name "emacs-goto-chg") | |
3034 | (version "1.6") | |
3035 | (source | |
3036 | (origin | |
3037 | (method url-fetch) | |
3038 | ;; There is no versioned source. | |
3039 | (uri "https://www.emacswiki.org/emacs/download/goto-chg.el") | |
3040 | (sha256 | |
3041 | (base32 | |
3042 | "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij")))) | |
3043 | (build-system emacs-build-system) | |
3044 | ;; There is no other home page. | |
3045 | (home-page "https://www.emacswiki.org/emacs/goto-chg.el") | |
3046 | (synopsis "Go to the last change in the Emacs buffer") | |
3047 | (description | |
3048 | "This package provides @code{M-x goto-last-change} command that goes to | |
3049 | the point of the most recent edit in the current Emacs buffer. When repeated, | |
3050 | go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is | |
3051 | used for reverse direction.") | |
3052 | (license license:gpl2+))) | |
3053 | ||
a9fbe94e LC |
3054 | (define-public emacs-writegood-mode |
3055 | (package | |
3056 | (name "emacs-writegood-mode") | |
3057 | (version "2.0.2") | |
3058 | (home-page "http://github.com/bnbeckwith/writegood-mode") | |
3059 | (source (origin | |
3060 | (method git-fetch) | |
3061 | (uri (git-reference | |
3062 | (url home-page) | |
3063 | (commit (string-append "v" version)))) | |
3064 | (sha256 | |
3065 | (base32 | |
3066 | "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b")) | |
3067 | (file-name (string-append name "-checkout")))) | |
3068 | (build-system emacs-build-system) | |
3069 | (synopsis "Polish up poor writing on the fly") | |
3070 | (description | |
3071 | "This minor mode tries to find and highlight problems with your writing | |
3072 | in English as you type. It primarily detects \"weasel words\" and abuse of | |
3073 | passive voice.") | |
3074 | (license license:gpl3+))) | |
e08ca4b9 | 3075 | |
3076 | (define-public emacs-neotree | |
3077 | (package | |
3078 | (name "emacs-neotree") | |
3079 | (version "0.2.1") | |
3080 | (home-page "https://github.com/jaypei/emacs-neotree") | |
3081 | (source (origin | |
3082 | (method url-fetch) | |
3083 | (uri (string-append | |
3084 | "https://github.com/jaypei/" name | |
3085 | "/archive/v" version ".tar.gz")) | |
3086 | (sha256 | |
3087 | (base32 | |
3088 | "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s")) | |
f409d0aa | 3089 | (file-name (string-append name "-" version ".tar.gz")))) |
e08ca4b9 | 3090 | (build-system emacs-build-system) |
3091 | (synopsis "Folder tree view for Emacs") | |
3092 | (description "This Emacs package provides a folder tree view.") | |
3093 | (license license:gpl3+))) | |
59065bb3 NG |
3094 | |
3095 | (define-public emacs-org | |
3096 | (package | |
3097 | (name "emacs-org") | |
006a832c | 3098 | (version "20160912") |
59065bb3 NG |
3099 | (source (origin |
3100 | (method url-fetch) | |
3101 | (uri (string-append "http://orgmode.org/elpa/org-" | |
3102 | version ".tar")) | |
3103 | (sha256 | |
3104 | (base32 | |
006a832c | 3105 | "1xawj0pdvqrgzlixxgbfa01gzajfaz47anr5m4aw035rhc6s02r7")))) |
59065bb3 NG |
3106 | (build-system emacs-build-system) |
3107 | (home-page "http://orgmode.org/") | |
3108 | (synopsis "Outline-based notes management and organizer") | |
3109 | (description "Org is an Emacs mode for keeping notes, maintaining TODO | |
3110 | lists, and project planning with a fast and effective plain-text system. It | |
3111 | also is an authoring system with unique support for literate programming and | |
3112 | reproducible research.") | |
3113 | (license license:gpl3+))) | |
41392b9a | 3114 | |
3115 | (define-public emacs-flx | |
3116 | (package | |
3117 | (name "emacs-flx") | |
3118 | (version "0.6.1") | |
3119 | (source | |
3120 | (origin | |
3121 | (method url-fetch) | |
3122 | (uri (string-append "https://github.com/lewang/" | |
3123 | "flx/archive/v" version ".tar.gz")) | |
3124 | (sha256 | |
3125 | (base32 | |
3126 | "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6")) | |
3127 | (file-name (string-append name "-" version ".tar.gz")))) | |
3128 | (build-system emacs-build-system) | |
3129 | (home-page "https://github.com/lewang/flx") | |
3130 | (synopsis "Fuzzy matching for Emacs") | |
3131 | (description | |
3132 | "Flx provides fuzzy matching for emacs a la sublime text. | |
3133 | The sorting algorithm is a balance between word beginnings (abbreviation) | |
3134 | and contiguous matches (substring). The longer the substring match, | |
3135 | the higher it scores. This maps well to how we think about matching. | |
3136 | Flx has support for ido (interactively do things) through flx-ido.") | |
3137 | (license license:gpl3+))) | |
9657aba4 | 3138 | |
3139 | (define-public emacs-cyberpunk-theme | |
3140 | (package | |
3141 | (name "emacs-cyberpunk-theme") | |
3142 | (version "1.17") | |
3143 | (source | |
3144 | (origin | |
3145 | (method url-fetch) | |
3146 | (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/" | |
3147 | "archive/" version ".tar.gz")) | |
3148 | (sha256 | |
3149 | (base32 | |
3150 | "068jcn4g1bvwgpcvyfqygzw6ahill51c1sqzyyvj2paxckbd7h51")) | |
3151 | (file-name (string-append name "-" version ".tar.gz")))) | |
3152 | (build-system emacs-build-system) | |
3153 | (home-page "https://github.com/n3mo/cyberpunk-theme.el") | |
3154 | (synopsis "Cyberpunk theme for emacs built-in color theme support") | |
3155 | (description | |
3156 | "Cyberpunk color theme for the emacs 24+ built-in color theme support | |
3157 | known loosely as deftheme. Many mode-specific customizations are included.") | |
3158 | (license license:gpl3+))) | |
840224aa | 3159 | |
3160 | (define-public emacs-auto-complete | |
3161 | (package | |
3162 | (name "emacs-auto-complete") | |
3163 | (version "1.5.1") | |
3164 | (source | |
3165 | (origin | |
3166 | (method url-fetch) | |
3167 | (uri (string-append "https://github.com/auto-complete/" | |
3168 | "auto-complete/archive/v" version ".tar.gz")) | |
3169 | (sha256 | |
3170 | (base32 | |
3171 | "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv")) | |
3172 | (file-name (string-append name "-" version ".tar.gz")))) | |
3173 | (build-system emacs-build-system) | |
3174 | (propagated-inputs | |
3175 | `(("emacs-popup" ,emacs-popup))) | |
3176 | (home-page "https://github.com/auto-complete/auto-complete") | |
3177 | (synopsis "Intelligent auto-completion extension for Emacs") | |
3178 | (description | |
3179 | "Auto-Complete is an intelligent auto-completion extension for Emacs. | |
3180 | It extends the standard Emacs completion interface and provides an environment | |
3181 | that allows users to concentrate more on their own work. Its features are: | |
3182 | a visual interface, reduce overhead of completion by using statistic method, | |
3183 | extensibility.") | |
3184 | (license license:gpl3+))) | |
154c71e0 AI |
3185 | |
3186 | (define-public m17n-db | |
3187 | (package | |
3188 | (name "m17n-db") | |
3189 | (version "1.7.0") | |
3190 | (source | |
3191 | (origin | |
3192 | (method url-fetch) | |
3193 | (uri (string-append "mirror://savannah/m17n/m17n-db-" | |
3194 | version ".tar.gz")) | |
3195 | (sha256 | |
3196 | (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2")))) | |
3197 | (build-system gnu-build-system) | |
3198 | (inputs | |
3199 | `(("gettext" ,gnu-gettext))) | |
3200 | (arguments | |
3201 | `(#:configure-flags | |
3202 | (list (string-append "--with-charmaps=" | |
3203 | (assoc-ref %build-inputs "libc") | |
3204 | "/share/i18n/charmaps")))) | |
3205 | ;; With `guix lint' the home-page URI returns a small page saying | |
3206 | ;; that your browser does not handle frames. This triggers the "URI | |
3207 | ;; returns suspiciously small file" warning. | |
3208 | (home-page "http://www.nongnu.org/m17n/") | |
3209 | (synopsis "Multilingual text processing library (database)") | |
3210 | (description "The m17n library realizes multilingualization of | |
3211 | many aspects of applications. The m17n library represents | |
3212 | multilingual text as an object named M-text. M-text is a string with | |
3213 | attributes called text properties, and designed to substitute for | |
3214 | string in C. Text properties carry any information required to input, | |
3215 | display and edit the text. | |
3216 | ||
3217 | This package contains the library database.") | |
3218 | (license license:lgpl2.1+))) | |
a80b60f4 AI |
3219 | |
3220 | (define-public m17n-lib | |
3221 | (package | |
3222 | (name "m17n-lib") | |
3223 | (version "1.7.0") | |
3224 | (source | |
3225 | (origin | |
3226 | (method url-fetch) | |
3227 | (uri (string-append | |
3228 | "http://download.savannah.gnu.org/releases/m17n/m17n-lib-" | |
3229 | version ".tar.gz")) | |
3230 | (sha256 | |
3231 | (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f")))) | |
3232 | (build-system gnu-build-system) | |
3233 | (inputs | |
3234 | `(("fribidi" ,fribidi) | |
3235 | ("gd" ,gd) | |
3236 | ("libotf" ,libotf) | |
3237 | ("libxft" ,libxft) | |
3238 | ("libxml2" ,libxml2) | |
3239 | ("m17n-db" ,m17n-db))) | |
3240 | (arguments | |
3241 | `(#:parallel-build? #f)) | |
3242 | ;; With `guix lint' the home-page URI returns a small page saying | |
3243 | ;; that your browser does not handle frames. This triggers the "URI | |
3244 | ;; returns suspiciously small file" warning. | |
3245 | (home-page "http://www.nongnu.org/m17n/") | |
3246 | (synopsis "Multilingual text processing library (runtime)") | |
3247 | (description "The m17n library realizes multilingualization of | |
3248 | many aspects of applications. The m17n library represents | |
3249 | multilingual text as an object named M-text. M-text is a string with | |
3250 | attributes called text properties, and designed to substitute for | |
3251 | string in C. Text properties carry any information required to input, | |
3252 | display and edit the text. | |
3253 | ||
3254 | This package contains the library runtime.") | |
3255 | (license license:lgpl2.1+))) | |
71d3ee1c AI |
3256 | |
3257 | (define-public emacs-nginx-mode | |
3258 | (package | |
3259 | (name "emacs-nginx-mode") | |
3260 | (version "1.1.4") | |
3261 | (source | |
3262 | (origin | |
3263 | (method url-fetch) | |
3264 | (uri (string-append | |
3265 | "https://github.com/ajc/nginx-mode/archive/v" | |
3266 | version ".tar.gz")) | |
3267 | (file-name (string-append name "-" version ".tar.gz")) | |
3268 | (sha256 | |
3269 | (base32 | |
3270 | "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr")))) | |
3271 | (build-system emacs-build-system) | |
3272 | (home-page "https://github.com/ajc/nginx-mode") | |
3273 | (synopsis "Emacs major mode for editing nginx config files") | |
3274 | (description "This package provides an Emacs major mode for | |
3275 | editing nginx config files.") | |
3276 | (license license:gpl2+))) |