Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / emacs.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
3 ;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
9 ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
10 ;;; Copyright © 2016 humanitiesNerd <catonano@gmail.com>
11 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
12 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
13 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
14 ;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
15 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
18 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
19 ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
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
36 (define-module (gnu packages emacs)
37 #:use-module ((guix licenses) #:prefix license:)
38 #:use-module (guix packages)
39 #:use-module (guix download)
40 #:use-module (guix git-download)
41 #:use-module (guix gexp)
42 #:use-module (guix monads)
43 #:use-module (guix store)
44 #:use-module (guix build-system gnu)
45 #:use-module (guix build-system emacs)
46 #:use-module (guix build-system glib-or-gtk)
47 #:use-module (guix build-system trivial)
48 #:use-module (gnu packages)
49 #:use-module (gnu packages guile)
50 #:use-module (gnu packages gtk)
51 #:use-module (gnu packages gnome)
52 #:use-module (gnu packages ncurses)
53 #:use-module (gnu packages tex)
54 #:use-module (gnu packages texinfo)
55 #:use-module (gnu packages tls)
56 #:use-module (gnu packages pkg-config)
57 #:use-module (gnu packages xorg)
58 #:use-module (gnu packages lesstif)
59 #:use-module (gnu packages image)
60 #:use-module (gnu packages linux)
61 #:use-module (gnu packages version-control)
62 #:use-module (gnu packages imagemagick)
63 #:use-module (gnu packages w3m)
64 #:use-module (gnu packages wget)
65 #:use-module (gnu packages autotools)
66 #:use-module (gnu packages base)
67 #:use-module (gnu packages compression)
68 #:use-module (gnu packages xml)
69 #:use-module (gnu packages glib)
70 #:use-module (gnu packages acl)
71 #:use-module (gnu packages package-management)
72 #:use-module (gnu packages perl)
73 #:use-module (gnu packages pdf)
74 #:use-module (gnu packages scheme)
75 #:use-module (gnu packages statistics)
76 #:use-module (gnu packages xiph)
77 #:use-module (gnu packages mp3)
78 #:use-module (gnu packages gettext)
79 #:use-module (gnu packages fribidi)
80 #:use-module (gnu packages gd)
81 #:use-module (gnu packages fontutils)
82 #:use-module (guix utils)
83 #:use-module (srfi srfi-1))
84
85 (define-public emacs
86 (package
87 (name "emacs")
88 (version "25.1")
89 (source (origin
90 (method url-fetch)
91 (uri (string-append "mirror://gnu/emacs/emacs-"
92 version ".tar.xz"))
93 (sha256
94 (base32
95 "0cwgyiyymnx4xdg99dm2drfxcyhy2jmyf0rkr9fwj9mwwf77kwhr"))
96 (patches (search-patches "emacs-exec-path.patch"
97 "emacs-fix-scheme-indent-function.patch"
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")))))))
110 (build-system glib-or-gtk-build-system)
111 (arguments
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"))))
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"))
128 (lisp-dir (string-append out "/share/emacs/site-lisp"))
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))))))
138 (inputs
139 `(("gnutls" ,gnutls)
140 ("ncurses" ,ncurses)
141
142 ;; TODO: Add the optional dependencies.
143 ("libx11" ,libx11)
144 ("gtk+" ,gtk+)
145 ("libxft" ,libxft)
146 ("libtiff" ,libtiff)
147 ("giflib" ,giflib)
148 ("libjpeg" ,libjpeg-8)
149 ("acl" ,acl)
150
151 ;; When looking for libpng `configure' links with `-lpng -lz', so we
152 ;; must also provide zlib as an input.
153 ("libpng" ,libpng)
154 ("zlib" ,zlib)
155
156 ("librsvg" ,librsvg)
157 ("libxpm" ,libxpm)
158 ("libxml2" ,libxml2)
159 ("libice" ,libice)
160 ("libsm" ,libsm)
161 ("alsa-lib" ,alsa-lib)
162 ("dbus" ,dbus)
163 ("guix-src" ,(package-source guix))
164
165 ;; multilingualization support
166 ("libotf" ,libotf)
167 ("m17n-lib" ,m17n-lib)))
168 (native-inputs
169 `(("pkg-config" ,pkg-config)
170 ("texinfo" ,texinfo)))
171
172 (native-search-paths
173 (list (search-path-specification
174 (variable "INFOPATH")
175 (files '("share/info")))))
176
177 (home-page "http://www.gnu.org/software/emacs/")
178 (synopsis "The extensible, customizable, self-documenting text editor")
179 (description
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.")
188 (license license:gpl3+)))
189
190 (define-public emacs-minimal
191 ;; This is the version that you should use as an input to packages that just
192 ;; need to byte-compile .el files.
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
208 (package (inherit emacs)
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"
216 "libpng" "librsvg" "libxpm" "libice" "libsm"
217
218 ;; D-Bus depends on libx11, so remove it as well.
219 "dbus")))))
220
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)" )
226 (build-system gnu-build-system)
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)))))
231
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
261 \f
262 ;;;
263 ;;; Emacs hacking.
264 ;;;
265
266 (define-public geiser
267 (package
268 (name "geiser")
269 (version "0.9")
270 (source (origin
271 (method url-fetch)
272 (uri (string-append "mirror://savannah/geiser/" version
273 "/geiser-" version ".tar.gz"))
274 (sha256
275 (base32
276 "1n772ysl1dmn0vy3gk230ymyjm14h93zw99y6h2rqp1ixy7v43dm"))))
277 (build-system gnu-build-system)
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)))
287 (inputs `(("guile" ,guile-2.0)))
288 (native-inputs `(("emacs" ,emacs-minimal)))
289 (home-page "http://nongnu.org/geiser/")
290 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
291 (description
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.")
298 (license license:bsd-3)))
299
300 (define-public geiser-next
301 ;; This has become "geiser".
302 (deprecated-package "geiser-next" geiser))
303
304 (define-public paredit
305 (package
306 (name "emacs-paredit")
307 (version "24")
308 (source (origin
309 (method url-fetch)
310 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
311 version ".el"))
312 (sha256
313 (base32
314 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
315 (build-system trivial-build-system)
316 (native-inputs `(("emacs" ,emacs-minimal)))
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))
335 (emacs-generate-autoloads ,name lisp-dir)
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.")
348 (license license:gpl3+)))
349
350 (define-public paredit/old-name
351 (deprecated-package "paredit" paredit))
352
353 (define-public git-modes
354 (package
355 (name "git-modes")
356 (version "1.2.2")
357 (source (origin
358 (method url-fetch)
359 (uri (string-append
360 "https://github.com/magit/git-modes/archive/"
361 version ".tar.gz"))
362 (file-name (string-append name "-" version ".tar.gz"))
363 (sha256
364 (base32
365 "0gb9c18jib8rpm14vig9774104lwmd8353ps0259m861syf6664d"))))
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"))
381 #:tests? #f ; no check target
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)))))))
390 (native-inputs `(("emacs" ,emacs-minimal)))
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
398 (define-public emacs-with-editor
399 (package
400 (name "emacs-with-editor")
401 (version "2.5.6")
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
410 "14vypqj3wqym5yd0nggfm1xdgq5hv1kwxkg6i8ymlpxcdfxj45w7"))))
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
423 (define-public magit
424 (package
425 (name "magit")
426 (version "2.8.0")
427 (source (origin
428 (method url-fetch)
429 (uri (string-append
430 "https://github.com/magit/magit/releases/download/"
431 version "/" name "-" version ".tar.gz"))
432 (sha256
433 (base32
434 "1znvb7inwinrhifqzwp4lp9j6yp1l25j7riczc0zmvcjbpl5yhfq"))))
435 (build-system gnu-build-system)
436 (native-inputs `(("texinfo" ,texinfo)
437 ("emacs" ,emacs-minimal)))
438 (inputs
439 `(("git" ,git)
440 ("perl" ,perl)))
441 (propagated-inputs
442 `(("dash" ,emacs-dash)
443 ("with-editor" ,emacs-with-editor)))
444 (arguments
445 `(#:modules ((guix build gnu-build-system)
446 (guix build utils)
447 (guix build emacs-utils))
448 #:imported-modules (,@%gnu-build-system-modules
449 (guix build emacs-utils))
450
451 #:test-target "test"
452 #:tests? #f ; tests are not included in the release
453
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-"
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)))
466
467 #:phases
468 (modify-phases %standard-phases
469 (delete 'configure)
470 (add-before
471 'build 'patch-exec-paths
472 (lambda* (#:key inputs #:allow-other-keys)
473 (let ((git (assoc-ref inputs "git"))
474 (perl (assoc-ref inputs "perl")))
475 (emacs-substitute-variables "lisp/magit-git.el"
476 ("magit-git-executable" (string-append git "/bin/git")))
477 (substitute* "lisp/magit-sequence.el"
478 (("perl") (string-append perl "/bin/perl")))
479 #t))))))
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.")
488 (license license:gpl3+)))
489
490 (define-public magit-svn
491 (package
492 (name "magit-svn")
493 (version "2.1.1")
494 (source (origin
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"))
500 (sha256
501 (base32
502 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
503 (build-system trivial-build-system)
504 (native-inputs `(("emacs" ,emacs-minimal)
505 ("tar" ,tar)
506 ("gzip" ,gzip)))
507 (propagated-inputs `(("dash" ,emacs-dash)
508 ("magit" ,magit)))
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
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")
523 "/bin/emacs"))
524 (magit (string-append (assoc-ref %build-inputs "magit")
525 "/share/emacs/site-lisp"))
526 (dash (string-append (assoc-ref %build-inputs "dash")
527 "/share/emacs/site-lisp/guix.d/dash-"
528 ,(package-version emacs-dash)))
529 (source (assoc-ref %build-inputs "source"))
530 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
531 (setenv "PATH" PATH)
532 (system* tar "xvf" source)
533
534 (install-file (string-append ,name "-" ,version "/magit-svn.el")
535 lisp-dir)
536
537 (with-directory-excursion lisp-dir
538 (parameterize ((%emacs emacs))
539 (emacs-generate-autoloads ,name lisp-dir)
540 (setenv "EMACSLOADPATH"
541 (string-append ":" magit ":" dash))
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
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
562 "0lmw824zp8c0vhikfkiay9wn4nmaksz6mfy0fldvy4wlx5c26yh3"))))
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
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"))))
587 (native-inputs
588 `(("emacs" ,emacs-minimal)
589 ("texinfo" ,texinfo)))
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)
614 (for-each (lambda (f)
615 (install-file f dir))
616 files))
617
618 (with-directory-excursion "doc"
619 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
620 (error "makeinfo failed"))
621 (install-file "haskell-mode.info" info))
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
635 (define-public let-alist
636 (package
637 (name "emacs-let-alist")
638 (version "1.0.4")
639 (source (origin
640 (method url-fetch)
641 (uri (string-append "https://elpa.gnu.org/packages/let-alist-"
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))))
669 (native-inputs `(("emacs" ,emacs-minimal)))
670 (home-page "https://elpa.gnu.org/packages/let-alist.html")
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
682 (define-public flycheck
683 (package
684 (name "emacs-flycheck")
685 (version "28")
686 (source (origin
687 (method url-fetch)
688 (uri (string-append
689 "https://github.com/flycheck/flycheck/releases/download/"
690 version "/flycheck-" version ".tar"))
691 (sha256
692 (base32
693 "1yjxivk11d7w39zfhj2xr4h6xhwx1aj6yhyzd63rjrad7xpjfl86"))))
694 (build-system emacs-build-system)
695 (propagated-inputs
696 `(("emacs-dash" ,emacs-dash)
697 ("emacs-let-alist" ,let-alist)
698 ("emacs-seq" ,emacs-seq)))
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
712 \f
713 ;;;
714 ;;; Web browsing.
715 ;;;
716
717 (define-public emacs-w3m
718 (package
719 (name "emacs-w3m")
720 (version "1.4.538+0.20141022")
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
726 (base32
727 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
728 (build-system gnu-build-system)
729 (native-inputs `(("autoconf" ,autoconf)
730 ("emacs" ,emacs-minimal)))
731 (inputs `(("w3m" ,w3m)
732 ("imagemagick" ,imagemagick)))
733 (arguments
734 `(#:modules ((guix build gnu-build-system)
735 (guix build utils)
736 (guix build emacs-utils))
737 #:imported-modules (,@%gnu-build-system-modules
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="
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"))
749 #:tests? #f ; no check target
750 #:phases
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)))))))
784 (home-page "http://emacs-w3m.namazu.org/")
785 (synopsis "Simple Web browser for Emacs based on w3m")
786 (description
787 "Emacs-w3m is an emacs interface for the w3m web browser.")
788 (license license:gpl2+)))
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)
801 (inputs `(("wget" ,wget)))
802 (native-inputs `(("emacs" ,emacs-minimal)))
803 (arguments
804 `(#:modules ((guix build gnu-build-system)
805 (guix build utils)
806 (guix build emacs-utils))
807 #:imported-modules (,@%gnu-build-system-modules
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")))))
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)))))
830 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
831 (synopsis "Simple file downloader for Emacs based on wget")
832 (description
833 "Emacs-wget is an emacs interface for the wget file downloader.")
834 (license license:gpl2+)))
835
836 \f
837 ;;;
838 ;;; Multimedia.
839 ;;;
840
841 (define-public emms
842 (package
843 (name "emacs-emms")
844 (version "4.1")
845 (source (origin
846 (method url-fetch)
847 (uri (string-append "mirror://gnu/emms/emms-"
848 version ".tar.gz"))
849 (sha256
850 (base32
851 "0ay6631p3dr6xnhkm7skwn0gp317r1mxbip28m126w4zqf05cbh3"))
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
871 `(#:modules ((guix build gnu-build-system)
872 (guix build utils)
873 (guix build emacs-utils))
874 #:imported-modules (,@%gnu-build-system-modules
875 (guix build emacs-utils))
876
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)))))
937 #:tests? #f))
938 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
939 ("texinfo" ,texinfo)))
940 (inputs `(("alsa-utils" ,alsa-utils)
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/")
953 (license license:gpl3+)))
954
955 (define-public emacs-emms-player-mpv
956 (package
957 (name "emacs-emms-player-mpv")
958 (version "0.0.10")
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
967 "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq"))))
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
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)))
1011 (native-inputs `(("emacs" ,emacs-minimal)))
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.")
1019 (license license:gpl3+)))
1020
1021 (define-public emacs-async
1022 (package
1023 (name "emacs-async")
1024 (version "1.9")
1025 (source (origin
1026 (method url-fetch)
1027 (uri (string-append "https://elpa.gnu.org/packages/async-"
1028 version ".tar"))
1029 (sha256
1030 (base32
1031 "1ip5nc8xyln5szvqwp6wqva9xr84pn8ssn3nnphrszr19y4js2bm"))))
1032 (build-system emacs-build-system)
1033 (home-page "https://elpa.gnu.org/packages/async.html")
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
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
1050 "https://elpa.gnu.org/packages/auctex-"
1051 version
1052 ".tar"))
1053 (sha256
1054 (base32
1055 "1pmki8hdjjikxlvip3pzi350bln3gcimr27yjf0xfwjvnp5hh9nc"))))
1056 (build-system emacs-build-system)
1057 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1058 ;; ('emacs-minimal' does not provide dbus).
1059 (arguments `(#:emacs ,emacs))
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+)))
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
1078 "https://github.com/purcell/mmm-mode/archive/"
1079 version ".tar.gz"))
1080 (file-name (string-append name "-" version ".tar.gz"))
1081 (sha256
1082 (base32
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)
1094 ("emacs" ,emacs-minimal)
1095 ("texinfo" ,texinfo)))
1096 (home-page "https://github.com/purcell/mmm-mode")
1097 (synopsis "Allow multiple major modes in an Emacs buffer")
1098 (description
1099 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1100 single buffer.")
1101 (license license:gpl3+)))
1102
1103 (define-public emacs-pdf-tools
1104 (package
1105 (name "emacs-pdf-tools")
1106 (version "0.70")
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
1115 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1116 (build-system gnu-build-system)
1117 (arguments
1118 `(#:tests? #f ; there are no tests
1119 #:modules ((guix build gnu-build-system)
1120 ((guix build emacs-build-system) #:prefix emacs:)
1121 (guix build utils)
1122 (guix build emacs-utils))
1123 #:imported-modules (,@%gnu-build-system-modules
1124 (guix build emacs-build-system)
1125 (guix build emacs-utils))
1126 #:phases
1127 (modify-phases %standard-phases
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)))))
1155 (native-inputs `(("autoconf" ,autoconf)
1156 ("automake" ,automake)
1157 ("pkg-config" ,pkg-config)
1158 ("emacs" ,emacs-minimal)))
1159 (propagated-inputs
1160 `(("let-alist" ,let-alist)))
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+)))
1174
1175 (define-public emacs-dash
1176 (package
1177 (name "emacs-dash")
1178 (version "2.13.0")
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
1187 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
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+)))
1199
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
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
1243 (define-public emacs-s
1244 (package
1245 (name "emacs-s")
1246 (version "1.11.0")
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
1255 "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
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")
1264 (synopsis "Emacs string manipulation library")
1265 (description "This package provides an Emacs library for manipulating
1266 strings.")
1267 (license license:gpl3+)))
1268
1269 (define-public emacs-f
1270 (package
1271 (name "emacs-f")
1272 (version "0.18.2")
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
1281 "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
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+)))
1291
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
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
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
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
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
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
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
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
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
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
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
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
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
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")
1604 (synopsis "Color-coded smart mode-line")
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
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
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
1638 (commit "880706469338ab59b5bb7dbe8460016f89755364")
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+)))
1651
1652 (define-public emacs-debbugs
1653 (package
1654 (name "emacs-debbugs")
1655 (version "0.9")
1656 (source (origin
1657 (method url-fetch)
1658 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
1659 version ".tar"))
1660 (sha256
1661 (base32
1662 "1wc6kw7hihqqdx8qyl01akygycnan44x400hwrcf54m3hb4isa0k"))))
1663 (build-system emacs-build-system)
1664 (propagated-inputs
1665 `(("emacs-async" ,emacs-async)))
1666 (home-page "https://elpa.gnu.org/packages/debbugs.html")
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+)))
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+)))
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+)))
1730
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
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
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+)))
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
1815 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
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))))
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+)))
1866
1867 (define-public emacs-constants
1868 (package
1869 (name "emacs-constants")
1870 (version "2.6")
1871 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
1872 (source
1873 (origin
1874 (file-name (string-append name "-" version ".tar.gz"))
1875 (method url-fetch)
1876 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
1877 "/archive/v" version ".tar.gz"))
1878 (sha256
1879 (base32
1880 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
1881 (build-system emacs-build-system)
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+)))
1887
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
1912 (define-public emacs-slime
1913 (package
1914 (name "emacs-slime")
1915 (version "2.18")
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
1925 "146avwbwr6mw0nmgyihx8gkr0mv6al7a73igzxvysj62000cqvlj"))))
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+)))
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)
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+)))
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+))))
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
2026 (method url-fetch)
2027 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2028 (sha256
2029 (base32
2030 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2031 (build-system emacs-build-system)
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
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
2050 (method url-fetch)
2051 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2052 (sha256
2053 (base32
2054 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2055 (build-system emacs-build-system)
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+)))
2067
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
2089 (define-public emacs-org-trello
2090 (package
2091 (name "emacs-org-trello")
2092 (version "0.7.9")
2093 (source (origin
2094 (method url-fetch)
2095 (uri (string-append
2096 "https://github.com/org-trello/org-trello/archive/"
2097 version ".tar.gz"))
2098 (file-name (string-append name "-" version ".tar.gz"))
2099 (sha256
2100 (base32
2101 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2102 (build-system emacs-build-system)
2103 (propagated-inputs
2104 `(("emacs-deferred" ,emacs-deferred)
2105 ("emacs-request" ,emacs-request)
2106 ("emacs-dash" ,emacs-dash)
2107 ("emacs-s" ,emacs-s)))
2108 (home-page "https://org-trello.github.io")
2109 (synopsis "Emacs minor mode for interacting with Trello")
2110 (description "This package provides an Emacs minor mode to extend
2111 @code{org-mode} with Trello abilities. Trello is an online project
2112 organizer.")
2113 (license license:gpl3+)))
2114
2115 (define-public emacs-zenburn-theme
2116 (package
2117 (name "emacs-zenburn-theme")
2118 (version "2.4")
2119 (source (origin
2120 (method url-fetch)
2121 (uri (string-append
2122 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2123 version ".tar.gz"))
2124 (file-name (string-append name "-" version ".tar.gz"))
2125 (sha256
2126 (base32
2127 "0lyi84bm8sa7vj40n6zg6rlbsmi53mi1y9xn6gkjj29s5zbcnlg7"))))
2128 (build-system emacs-build-system)
2129 (home-page "http://github.com/bbatsov/zenburn-emacs")
2130 (synopsis "Low contrast color theme for Emacs")
2131 (description
2132 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2133 It is built on top of the custom theme support in Emacs 24 or later.")
2134 (license license:gpl3+)))
2135
2136 (define-public emacs-solarized-theme
2137 (package
2138 (name "emacs-solarized-theme")
2139 (version "1.2.2")
2140 (source (origin
2141 (method url-fetch)
2142 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2143 "archive/v" version ".tar.gz"))
2144 (file-name (string-append name "-" version ".tar.gz"))
2145 (sha256
2146 (base32
2147 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2148 (build-system emacs-build-system)
2149 (propagated-inputs
2150 `(("emacs-dash" ,emacs-dash)))
2151 (home-page "http://github.com/bbatsov/solarized-emacs")
2152 (synopsis "Port of the Solarized theme for Emacs")
2153 (description
2154 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2155 package provides a light and a dark variant.")
2156 (license license:gpl3+)))
2157
2158 (define-public emacs-ahungry-theme
2159 (package
2160 (name "emacs-ahungry-theme")
2161 (version "1.3.0")
2162 (source
2163 (origin (method url-fetch)
2164 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
2165 version ".tar"))
2166 (sha256
2167 (base32
2168 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
2169 (build-system emacs-build-system)
2170 (home-page "https://github.com/ahungry/color-theme-ahungry")
2171 (synopsis "Ahungry color theme for Emacs")
2172 (description "Ahungry theme for Emacs provides bright and bold colors.
2173 If you load it from a terminal, you will be able to make use of the
2174 transparent background. If you load it from a GUI, it will default to a
2175 dark background.")
2176 (license license:gpl3+)))
2177
2178 (define-public emacs-smartparens
2179 (package
2180 (name "emacs-smartparens")
2181 (version "1.8.0")
2182 (source (origin
2183 (method url-fetch)
2184 (uri (string-append
2185 "https://github.com/Fuco1/smartparens/archive/"
2186 version ".tar.gz"))
2187 (file-name (string-append name "-" version ".tar.gz"))
2188 (sha256
2189 (base32
2190 "0xsqiklg0q4w6gj0js1hvsz4lkypvcx6c9kzb1mz232gwlqx1azw"))))
2191 (build-system emacs-build-system)
2192 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2193 (home-page "https://github.com/Fuco1/smartparens")
2194 (synopsis "Paredit-like insertion, wrapping and navigation with user
2195 defined pairs")
2196 (description
2197 "Smartparens is a minor mode for Emacs that deals with parens pairs
2198 and tries to be smart about it. It started as a unification effort to
2199 combine functionality of several existing packages in a single,
2200 compatible and extensible way to deal with parentheses, delimiters, tags
2201 and the like. Some of these packages include autopair, textmate,
2202 wrap-region, electric-pair-mode, paredit and others. With the basic
2203 features found in other packages it also brings many improvements as
2204 well as completely new features.")
2205 (license license:gpl3+)))
2206
2207 (define-public emacs-hl-todo
2208 (package
2209 (name "emacs-hl-todo")
2210 (version "1.7.1")
2211 (source (origin
2212 (method url-fetch)
2213 (uri (string-append
2214 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2215 version "/hl-todo.el"))
2216 (file-name (string-append "hl-todo-" version ".el"))
2217 (sha256
2218 (base32
2219 "0flhz9vy8w1vvwwji92pi5k4659hl368bakj2qf2zfd26z8x583h"))))
2220 (build-system emacs-build-system)
2221 (home-page "https://github.com/tarsius/hl-todo")
2222 (synopsis "Emacs mode to highlight TODO and similar keywords")
2223 (description
2224 "This package provides an Emacs mode to highlight TODO and similar
2225 keywords in comments and strings. This package also provides commands for
2226 moving to the next or previous keyword and to invoke @code{occur} with a
2227 regexp that matches all known keywords.")
2228 (license license:gpl3+)))
2229
2230 (define-public emacs-perspective
2231 (package
2232 (name "emacs-perspective")
2233 (version "1.12")
2234 (source
2235 (origin
2236 (method url-fetch)
2237 (uri (string-append "https://github.com/nex3/perspective-el/"
2238 "archive/" version ".tar.gz"))
2239 (file-name (string-append name "-" version ".tar.gz"))
2240 (sha256
2241 (base32
2242 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2243 (build-system emacs-build-system)
2244 (home-page "http://github.com/nex3/perspective-el")
2245 (synopsis "Switch between named \"perspectives\"")
2246 (description
2247 "This package provides tagged workspaces in Emacs, similar to workspaces in
2248 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2249 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2250 perspective is composed of a window configuration and a set of buffers.
2251 Switching to a perspective activates its window configuration, and when in a
2252 perspective only its buffers are available by default.")
2253 ;; This package is released under the same license as Emacs (GPLv3+) or
2254 ;; the Expat license.
2255 (license license:gpl3+)))
2256
2257 (define-public emacs-request
2258 (package
2259 (name "emacs-request")
2260 (version "0.2.0")
2261 (source (origin
2262 (method url-fetch)
2263 (uri (string-append
2264 "https://github.com/tkf/emacs-request/archive/v"
2265 version ".tar.gz"))
2266 (file-name (string-append name "-" version ".tar.gz"))
2267 (sha256
2268 (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
2269 (build-system emacs-build-system)
2270 (home-page "https://github.com/tkf/emacs-request")
2271 (synopsis "Package for speaking HTTP in Emacs Lisp")
2272 (description "This package provides a HTTP request library with multiple
2273 backends. It supports url.el which is shipped with Emacs and the curl command
2274 line program.")
2275 (license license:gpl3+)))
2276
2277 (define-public emacs-rudel
2278 (package
2279 (name "emacs-rudel")
2280 (version "0.3.1")
2281 (source
2282 (origin
2283 (method url-fetch)
2284 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
2285 version ".tar"))
2286 (sha256
2287 (base32
2288 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
2289 (build-system emacs-build-system)
2290 (home-page "http://rudel.sourceforge.net/")
2291 (synopsis "Collaborative editing framework")
2292 (description
2293 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
2294 is to share buffers with other users in order to edit the contents of those
2295 buffers collaboratively. Rudel supports multiple backends to enable
2296 communication with other collaborative editors using different protocols,
2297 though currently Obby (for use with the Gobby editor) is the only
2298 fully-functional one.")
2299 (license license:gpl3+)))
2300
2301 (define-public emacs-hydra
2302 (package
2303 (name "emacs-hydra")
2304 (version "0.13.6")
2305 (source
2306 (origin
2307 (method url-fetch)
2308 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2309 version ".tar.gz"))
2310 (file-name (string-append name "-" version ".tar.gz"))
2311 (sha256
2312 (base32
2313 "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
2314 (build-system emacs-build-system)
2315 (home-page "https://github.com/abo-abo/hydra")
2316 (synopsis "Make Emacs bindings that stick around")
2317 (description
2318 "This package can be used to tie related commands into a family of short
2319 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2320 the prefixed binding), all the heads can be called in succession with only a
2321 short extension. Any binding that isn't the Hydra's head vanquishes the
2322 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2323 serve its original purpose, calling the command assigned to it. This makes
2324 the Hydra very seamless; it's like a minor mode that disables itself
2325 automatically.")
2326 (license license:gpl3+)))
2327
2328 (define-public emacs-ivy
2329 (package
2330 (name "emacs-ivy")
2331 (version "0.8.0")
2332 (source
2333 (origin
2334 (method url-fetch)
2335 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2336 version ".tar.gz"))
2337 (file-name (string-append name "-" version ".tar.gz"))
2338 (sha256
2339 (base32
2340 "18nqwl05is71dzswnvpfhlg7b0v3apvbsfxrwab9c0apwavi892q"))))
2341 (build-system emacs-build-system)
2342 (propagated-inputs
2343 `(("emacs-hydra" ,emacs-hydra)))
2344 (home-page "http://oremacs.com/swiper/")
2345 (synopsis "Incremental vertical completion for Emacs")
2346 (description
2347 "This package provides @code{ivy-read} as an alternative to
2348 @code{completing-read} and similar functions. No attempt is made to determine
2349 the best candidate. Instead, the user can navigate candidates with
2350 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2351 splitting the input text by spaces and re-building it into a regular
2352 expression.")
2353 (license license:gpl3+)))
2354
2355 (define-public emacs-avy
2356 (package
2357 (name "emacs-avy")
2358 (version "0.4.0")
2359 (source
2360 (origin
2361 (method url-fetch)
2362 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2363 version ".tar.gz"))
2364 (file-name (string-append name "-" version ".tar.gz"))
2365 (sha256
2366 (base32
2367 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2368 (build-system emacs-build-system)
2369 (home-page "https://github.com/abo-abo/avy")
2370 (synopsis "Tree-based completion for Emacs")
2371 (description
2372 "This package provides a generic completion method based on building a
2373 balanced decision tree with each candidate being a leaf. To traverse the tree
2374 from the root to a desired leaf, typically a sequence of @code{read-key} can
2375 be used.
2376
2377 In order for @code{read-key} to make sense, the tree needs to be visualized
2378 appropriately, with a character at each branch node. So this completion
2379 method works only for things that you can see on your screen, all at once,
2380 such as the positions of characters, words, line beginnings, links, or
2381 windows.")
2382 (license license:gpl3+)))
2383
2384 (define-public emacs-ace-window
2385 (package
2386 (name "emacs-ace-window")
2387 (version "0.9.0")
2388 (source
2389 (origin
2390 (method url-fetch)
2391 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2392 version ".tar.gz"))
2393 (file-name (string-append name "-" version ".tar.gz"))
2394 (sha256
2395 (base32
2396 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2397 (build-system emacs-build-system)
2398 (propagated-inputs
2399 `(("emacs-avy" ,emacs-avy)))
2400 (home-page "https://github.com/abo-abo/ace-window")
2401 (synopsis "Quickly switch windows in Emacs")
2402 (description
2403 "@code{ace-window} is meant to replace @code{other-window}.
2404 In fact, when there are only two windows present, @code{other-window} is
2405 called. If there are more, each window will have its first character
2406 highlighted. Pressing that character will switch to that window.")
2407 (license license:gpl3+)))
2408
2409 (define-public emacs-iedit
2410 (package
2411 (name "emacs-iedit")
2412 (version "0.9.9")
2413 (source
2414 (origin
2415 (method url-fetch)
2416 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2417 version ".tar.gz"))
2418 (file-name (string-append name "-" version ".tar.gz"))
2419 (sha256
2420 (base32
2421 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2422 (build-system emacs-build-system)
2423 (home-page "http://www.emacswiki.org/emacs/Iedit")
2424 (synopsis "Edit multiple regions in the same way simultaneously")
2425 (description
2426 "This package is an Emacs minor mode and allows you to edit one
2427 occurrence of some text in a buffer (possibly narrowed) or region, and
2428 simultaneously have other occurrences edited in the same way.
2429
2430 You can also use Iedit mode as a quick way to temporarily show only the buffer
2431 lines that match the current text being edited. This gives you the effect of
2432 a temporary @code{keep-lines} or @code{occur}.")
2433 (license license:gpl3+)))
2434
2435 (define-public emacs-lispy
2436 (package
2437 (name "emacs-lispy")
2438 (version "0.26.0")
2439 (source
2440 (origin
2441 (method url-fetch)
2442 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2443 version ".tar.gz"))
2444 (file-name (string-append name "-" version ".tar.gz"))
2445 (sha256
2446 (base32
2447 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2448 (build-system emacs-build-system)
2449 (propagated-inputs
2450 `(("emacs-ace-window" ,emacs-ace-window)
2451 ("emacs-iedit" ,emacs-iedit)
2452 ("emacs-ivy" ,emacs-ivy)
2453 ("emacs-hydra" ,emacs-hydra)))
2454 (home-page "https://github.com/abo-abo/lispy")
2455 (synopsis "Modal S-expression editing")
2456 (description
2457 "Due to the structure of Lisp syntax it's very rare for the programmer to
2458 want to insert characters right before \"(\" or right after \")\". Thus
2459 unprefixed printable characters can be used to call commands when the point is
2460 at one of these special locations. Lispy provides unprefixed keybindings for
2461 S-expression editing when point is at the beginning or end of an
2462 S-expression.")
2463 (license license:gpl3+)))
2464
2465 (define-public emacs-clojure-mode
2466 (package
2467 (name "emacs-clojure-mode")
2468 (version "5.3.0")
2469 (source (origin
2470 (method url-fetch)
2471 (uri (string-append
2472 "https://github.com/clojure-emacs/clojure-mode/archive/"
2473 version ".tar.gz"))
2474 (file-name (string-append name "-" version ".tar.gz"))
2475 (sha256
2476 (base32
2477 "0gi8ra3ap5m3mz4qh1yxp2cldn7z9xcxvypznr6rrlc6a9l8s5a6"))))
2478 (build-system emacs-build-system)
2479 (home-page "http://github.com/clojure-emacs/clojure-mode")
2480 (synopsis "Major mode for Clojure code")
2481 (description
2482 "This Emacs package provides font-lock, indentation, navigation and basic
2483 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2484 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2485 (license license:gpl3+)))
2486
2487 (define-public emacs-epl
2488 (package
2489 (name "emacs-epl")
2490 (version "0.8")
2491 (source (origin
2492 (method url-fetch)
2493 (uri (string-append
2494 "https://github.com/cask/epl/archive/"
2495 version ".tar.gz"))
2496 (sha256
2497 (base32
2498 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2499 (build-system emacs-build-system)
2500 (home-page "http://github.com/cask/epl")
2501 (synopsis "Emacs Package Library")
2502 (description
2503 "A package management library for Emacs, based on @code{package.el}.
2504
2505 The purpose of this library is to wrap all the quirks and hassle of
2506 @code{package.el} into a sane API.")
2507 (license license:gpl3+)))
2508
2509 (define-public emacs-queue
2510 (package
2511 (name "emacs-queue")
2512 (version "0.1.1")
2513 (source (origin
2514 (method url-fetch)
2515 (uri (string-append "https://elpa.gnu.org/packages/queue-"
2516 version ".el"))
2517 (sha256
2518 (base32
2519 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2520 (build-system emacs-build-system)
2521 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2522 (synopsis "Queue data structure for Emacs")
2523 (description
2524 "This Emacs library provides queue data structure. These queues can be
2525 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2526 stack, i.e. elements can be added to the front or back of the queue, and can
2527 be removed from the front. This type of data structure is sometimes called an
2528 \"output-restricted deque\".")
2529 (license license:gpl3+)))
2530
2531 (define-public emacs-pkg-info
2532 (package
2533 (name "emacs-pkg-info")
2534 (version "0.6")
2535 (source (origin
2536 (method url-fetch)
2537 (uri (string-append
2538 "https://github.com/lunaryorn/pkg-info.el/archive/"
2539 version ".tar.gz"))
2540 (file-name (string-append name "-" version ".tar.gz"))
2541 (sha256
2542 (base32
2543 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2544 (build-system emacs-build-system)
2545 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2546 (home-page "https://github.com/lunaryorn/pkg-info.el")
2547 (synopsis "Information about Emacs packages")
2548 (description
2549 "This library extracts information from the installed Emacs packages.")
2550 (license license:gpl3+)))
2551
2552 (define-public emacs-spinner
2553 (package
2554 (name "emacs-spinner")
2555 (version "1.7.1")
2556 (source (origin
2557 (method url-fetch)
2558 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
2559 version ".el"))
2560 (sha256
2561 (base32
2562 "1fmwzdih0kbyvs8bn38mpm4sbs2mikqy2vdykfy9g20wpa8vb681"))))
2563 (build-system emacs-build-system)
2564 (home-page "https://github.com/Malabarba/spinner.el")
2565 (synopsis "Emacs mode-line spinner for operations in progress")
2566 (description
2567 "This Emacs package adds spinners and progress-bars to the mode-line for
2568 ongoing operations.")
2569 (license license:gpl3+)))
2570
2571 (define-public emacs-seq
2572 (package
2573 (name "emacs-seq")
2574 (version "2.15")
2575 (source (origin
2576 (method url-fetch)
2577 (uri (string-append "https://elpa.gnu.org/packages/seq-"
2578 version ".tar"))
2579 (sha256
2580 (base32
2581 "09wi1765bmn7i8fg6ajjfaxgs4ipc42d58zx2fdqpidrdg9c7q73"))))
2582 (build-system emacs-build-system)
2583 (home-page "https://elpa.gnu.org/packages/seq.html")
2584 (synopsis "Sequence manipulation functions for Emacs")
2585 (description
2586 "This Emacs library provides sequence-manipulation functions that
2587 complement basic functions provided by @code{subr.el}. All provided functions
2588 work on lists, strings and vectors.")
2589 (license license:gpl3+)))
2590
2591 (define-public emacs-better-defaults
2592 (package
2593 (name "emacs-better-defaults")
2594 (version "0.1.3")
2595 (source
2596 (origin
2597 (method url-fetch)
2598 (uri (string-append "https://github.com/technomancy/better-defaults"
2599 "/archive/" version ".tar.gz"))
2600 (file-name (string-append name "-" version ".tar.gz"))
2601 (sha256
2602 (base32
2603 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
2604 (build-system emacs-build-system)
2605 (home-page "https://github.com/technomancy/better-defaults")
2606 (synopsis "Better defaults for Emacs")
2607 (description
2608 "Better defaults attempts to address the most obvious deficiencies of the
2609 Emacs default configuration in uncontroversial ways that nearly everyone can
2610 agree upon.")
2611 (license license:gpl3+)))
2612
2613 (define-public emacs-eprime
2614 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
2615 (package
2616 (name "emacs-eprime")
2617 (version (string-append "20140513-" (string-take commit 7)))
2618 (source (origin
2619 (method url-fetch)
2620 (uri (string-append "https://raw.githubusercontent.com"
2621 "/AndrewHynes/eprime-mode/"
2622 commit "/eprime-mode.el"))
2623 (file-name (string-append "eprime-" version ".el"))
2624 (sha256
2625 (base32
2626 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
2627 (build-system emacs-build-system)
2628 (home-page "https://github.com/AndrewHynes/eprime-mode")
2629 (synopsis "E-prime checking mode for Emacs")
2630 (description "This package provides an E-prime checking mode for Emacs
2631 that highlights non-conforming text. The subset of the English language called
2632 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
2633 (license license:gpl3+))))
2634
2635 (define-public emacs-ess
2636 (package
2637 (name "emacs-ess")
2638 (version "16.04")
2639 (source (origin
2640 (method url-fetch)
2641 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
2642 version ".tgz"))
2643 (sha256
2644 (base32
2645 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
2646 (build-system gnu-build-system)
2647 (arguments
2648 `(#:tests? #f ; There is no test suite.
2649 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
2650 #:phases
2651 (modify-phases %standard-phases
2652 (delete 'configure)
2653 (add-before 'build 'more-shebang-patching
2654 (lambda* (#:key inputs #:allow-other-keys)
2655 (substitute* "Makeconf"
2656 (("SHELL = /bin/sh")
2657 (string-append "SHELL = " (which "sh")))))))))
2658 (inputs
2659 `(("emacs" ,emacs-minimal)
2660 ("r" ,r)))
2661 (native-inputs
2662 `(("perl" ,perl)
2663 ("texinfo" ,texinfo)
2664 ("texlive" ,texlive)))
2665 (home-page "http://ess.r-project.org/")
2666 (synopsis "Emacs mode for statistical analysis programs")
2667 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
2668 Emacs. It is designed to support editing of scripts and interaction with
2669 various statistical analysis programs such as R and OpenBUGS.")
2670 (license license:gpl2+)))
2671
2672 (define-public emacs-smex
2673 (package
2674 (name "emacs-smex")
2675 (version "3.0")
2676 (source (origin
2677 (method url-fetch)
2678 (uri (string-append "https://raw.githubusercontent.com"
2679 "/nonsequitur/smex/" version "/smex.el"))
2680 (file-name (string-append "smex-" version ".el"))
2681 (sha256
2682 (base32
2683 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
2684 (build-system emacs-build-system)
2685 (home-page "http://github.com/nonsequitur/smex/")
2686 (synopsis "M-x interface with Ido-style fuzzy matching")
2687 (description
2688 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
2689 convenient interface to your recently and most frequently used commands. And
2690 to all the other commands, too.")
2691 (license license:gpl3+)))
2692
2693 (define-public emacs-js2-mode
2694 (package
2695 (name "emacs-js2-mode")
2696 (version "20150909")
2697 (source (origin
2698 (method url-fetch)
2699 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
2700 version ".tar.gz"))
2701 (file-name (string-append name "-" version ".tar.gz"))
2702 (sha256
2703 (base32
2704 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
2705 (build-system emacs-build-system)
2706 (home-page "https://github.com/mooz/js2-mode/")
2707 (synopsis "Improved JavaScript editing mode for Emacs")
2708 (description
2709 "Js2-mode provides a JavaScript major mode for Emacs that is more
2710 advanced than the built-in javascript-mode. Features include accurate syntax
2711 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
2712 errors and strict-mode warnings, smart line-wrapping within comments and
2713 strings, and code folding.")
2714 (license license:gpl3+)))
2715
2716 (define-public emacs-markdown-mode
2717 (package
2718 (name "emacs-markdown-mode")
2719 (version "2.1")
2720 (source (origin
2721 (method url-fetch)
2722 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
2723 "/markdown-mode/v" version
2724 "/markdown-mode.el"))
2725 (file-name (string-append "markdown-mode-" version ".el"))
2726 (sha256
2727 (base32
2728 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
2729 (build-system emacs-build-system)
2730 (home-page "http://jblevins.org/projects/markdown-mode/")
2731 (synopsis "Emacs Major mode for Markdown files")
2732 (description
2733 "Markdown-mode is a major mode for editing Markdown-formatted text files
2734 in Emacs.")
2735 (license license:gpl3+)))
2736
2737 (define-public emacs-projectile
2738 (package
2739 (name "emacs-projectile")
2740 (version "0.13.0")
2741 (source (origin
2742 (method url-fetch)
2743 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
2744 "/projectile/v" version "/projectile.el"))
2745 (file-name (string-append "projectile-" version ".el"))
2746 (sha256
2747 (base32
2748 "1pc6xb61hzxzc5hkqkli1ab0s7wz0rfgx4kcn9y30ksvhw18smbz"))))
2749 (build-system emacs-build-system)
2750 (propagated-inputs
2751 `(("emacs-dash" ,emacs-dash)
2752 ("emacs-pkg-info" ,emacs-pkg-info)))
2753 (home-page "https://github.com/bbatsov/projectile")
2754 (synopsis "Manage and navigate projects in Emacs easily")
2755 (description
2756 "This library provides easy project management and navigation. The
2757 concept of a project is pretty basic - just a folder containing special file.
2758 Currently git, mercurial and bazaar repos are considered projects by default.
2759 If you want to mark a folder manually as a project just create an empty
2760 .projectile file in it.")
2761 (license license:gpl3+)))
2762
2763 (define-public emacs-elfeed
2764 (package
2765 (name "emacs-elfeed")
2766 (version "1.4.1")
2767 (source (origin
2768 (method url-fetch)
2769 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
2770 version ".tar.gz"))
2771 (file-name (string-append name "-" version ".tar.gz"))
2772 (sha256
2773 (base32
2774 "0i75r8x9ypbfjlnym04h16ikcrlks86p7wsgawrx7mh1lk4inp89"))))
2775 (build-system emacs-build-system)
2776 (home-page "https://github.com/skeeto/elfeed")
2777 (synopsis "Atom/RSS feed reader for Emacs")
2778 (description
2779 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
2780 and RSS, with a user interface inspired by notmuch.")
2781 (license license:gpl3+)))
2782
2783 (define-public emacs-rainbow-delimiters
2784 (package
2785 (name "emacs-rainbow-delimiters")
2786 (version "2.1.3")
2787 (source (origin
2788 (method url-fetch)
2789 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2790 "/rainbow-delimiters/" version
2791 "/rainbow-delimiters.el"))
2792 (file-name (string-append "rainbow-delimiters-" version ".el"))
2793 (sha256
2794 (base32
2795 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
2796 (build-system emacs-build-system)
2797 (home-page "https://github.com/Fanael/rainbow-delimiters")
2798 (synopsis "Highlight brackets according to their depth")
2799 (description
2800 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
2801 highlights parentheses, brackets, and braces according to their depth. Each
2802 successive level is highlighted in a different color, making it easy to spot
2803 matching delimiters, orient yourself in the code, and tell which statements
2804 are at a given level.")
2805 (license license:gpl3+)))
2806
2807 (define-public emacs-rainbow-identifiers
2808 (package
2809 (name "emacs-rainbow-identifiers")
2810 (version "0.2.2")
2811 (source (origin
2812 (method url-fetch)
2813 (uri (string-append "https://raw.githubusercontent.com/Fanael"
2814 "/rainbow-identifiers/" version
2815 "/rainbow-identifiers.el"))
2816 (file-name (string-append "rainbow-identifiers-" version ".el"))
2817 (sha256
2818 (base32
2819 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
2820 (build-system emacs-build-system)
2821 (home-page "https://github.com/Fanael/rainbow-identifiers")
2822 (synopsis "Highlight identifiers in source code")
2823 (description
2824 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
2825 identifiers based on their names. Each identifier gets a color based on a hash
2826 of its name.")
2827 (license license:bsd-2)))
2828
2829 (define-public emacs-visual-fill-column
2830 (package
2831 (name "emacs-visual-fill-column")
2832 (version "1.7")
2833 (source (origin
2834 (method url-fetch)
2835 (uri (string-append "https://codeload.github.com/joostkremers/"
2836 "visual-fill-column/tar.gz/" version))
2837 (file-name (string-append name "-" version ".tar.gz"))
2838 (sha256
2839 (base32
2840 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
2841 (build-system emacs-build-system)
2842 (home-page "https://github.com/joostkremers/visual-fill-column")
2843 (synopsis "Fill-column for visual-line-mode")
2844 (description
2845 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
2846 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
2847 wrapping lines at the window edge, which is the standard behaviour of
2848 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
2849 @code{fill-column} is too large for the window, the text is wrapped at the
2850 window edge.")
2851 (license license:gpl3+)))
2852
2853 (define-public emacs-ido-completing-read+
2854 (package
2855 (name "emacs-ido-completing-read+")
2856 (version "3.12")
2857 (source (origin
2858 (method url-fetch)
2859 (uri (string-append "https://raw.githubusercontent.com"
2860 "/DarwinAwardWinner/ido-ubiquitous/v"
2861 version "/ido-completing-read+.el"))
2862 (file-name (string-append "ido-completing-read+-" version ".el"))
2863 (sha256
2864 (base32
2865 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
2866 (build-system emacs-build-system)
2867 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2868 (synopsis "Replacement for completing-read using ido")
2869 (description
2870 "The ido-completing-read+ function is a wrapper for ido-completing-read.
2871 Importantly, it detects edge cases that ordinary ido cannot handle and either
2872 adjusts them so ido can handle them, or else simply falls back to the standard
2873 Emacs completion function instead.")
2874 (license license:gpl3+)))
2875
2876 (define-public emacs-ido-ubiquitous
2877 (package
2878 (name "emacs-ido-ubiquitous")
2879 (version "3.12")
2880 (source (origin
2881 (method url-fetch)
2882 (uri (string-append "https://raw.githubusercontent.com"
2883 "/DarwinAwardWinner/ido-ubiquitous/v"
2884 version "/ido-ubiquitous.el"))
2885 (file-name (string-append "ido-ubiquitous-" version ".el"))
2886 (sha256
2887 (base32
2888 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
2889 (build-system emacs-build-system)
2890 (propagated-inputs
2891 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
2892 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
2893 (synopsis "Use ido (nearly) everywhere")
2894 (description
2895 "Ido-ubiquitous enables ido-style completion for almost every function
2896 that uses the standard completion function completing-read.")
2897 (license license:gpl3+)))
2898
2899 (define-public emacs-yaml-mode
2900 (package
2901 (name "emacs-yaml-mode")
2902 (version "0.0.12")
2903 (source (origin
2904 (method url-fetch)
2905 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
2906 "/yaml-mode/v" version "/yaml-mode.el"))
2907 (file-name (string-append "yaml-mode-" version ".el"))
2908 (sha256
2909 (base32
2910 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
2911 (build-system emacs-build-system)
2912 (home-page "https://github.com/yoshiki/yaml-mode")
2913 (synopsis "Major mode for editing YAML files")
2914 (description
2915 "Yaml-mode is an Emacs major mode for editing files in the YAML data
2916 serialization format. It was initially developed by Yoshiki Kurihara and many
2917 features were added by Marshall Vandegrift. As YAML and Python share the fact
2918 that indentation determines structure, this mode provides indentation and
2919 indentation command behavior very similar to that of python-mode.")
2920 (license license:gpl3+)))
2921
2922 (define-public emacs-web-mode
2923 (package
2924 (name "emacs-web-mode")
2925 (version "14")
2926 (source (origin
2927 (method url-fetch)
2928 (uri (string-append "https://raw.githubusercontent.com/fxbois"
2929 "/web-mode/v" version "/web-mode.el"))
2930 (file-name (string-append "web-mode-" version ".el"))
2931 (sha256
2932 (base32
2933 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
2934 (build-system emacs-build-system)
2935 (synopsis "Major mode for editing web templates")
2936 (description "Web-mode is an Emacs major mode for editing web templates
2937 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
2938 client/server side engines). Web-mode is compatible with many template
2939 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
2940 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
2941 Dust.js, React/JSX, Angularjs, ejs, etc.")
2942 (home-page "http://web-mode.org/")
2943 (license license:gpl3+)))
2944
2945 (define-public emacs-helm
2946 (package
2947 (name "emacs-helm")
2948 (version "1.9.8")
2949 (source (origin
2950 (method url-fetch)
2951 (uri (string-append
2952 "https://github.com/" name "/helm/archive/v"
2953 version ".tar.gz"))
2954 (file-name (string-append name "-" version ".tar.gz"))
2955 (sha256
2956 (base32
2957 "019dpzr6l83k1fgxn40aqxjvrpz4dl5d9vi7fc5wjnifmxaqxia6"))))
2958 (build-system emacs-build-system)
2959 (propagated-inputs
2960 `(("emacs-async" ,emacs-async)
2961 ("emacs-popup" ,emacs-popup)))
2962 (home-page "https://emacs-helm.github.io/helm/")
2963 (synopsis "Incremental completion and selection narrowing
2964 framework for Emacs")
2965 (description "Helm is incremental completion and selection narrowing
2966 framework for Emacs. It will help steer you in the right direction when
2967 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
2968 of @code{anything.el} originally written by Tamas Patrovic and can be
2969 considered to be its successor. Helm sets out to clean up the legacy code in
2970 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
2971 not tied in the trap of backward compatibility.")
2972 (license license:gpl3+)))
2973
2974 (define-public emacs-cider
2975 (package
2976 (name "emacs-cider")
2977 (version "0.12.0")
2978 (source (origin
2979 (method url-fetch)
2980 (uri (string-append
2981 "https://github.com/clojure-emacs/cider/archive/v"
2982 version ".tar.gz"))
2983 (file-name (string-append name "-" version ".tar.gz"))
2984 (sha256
2985 (base32
2986 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
2987 (build-system emacs-build-system)
2988 (propagated-inputs
2989 `(("emacs-clojure-mode" ,emacs-clojure-mode)
2990 ("emacs-spinner" ,emacs-spinner)
2991 ("emacs-pkg-info" ,emacs-pkg-info)
2992 ("emacs-queue" ,emacs-queue)
2993 ("emacs-seq" ,emacs-seq)))
2994 (home-page "https://cider.readthedocs.org/")
2995 (synopsis "Clojure development environment for Emacs")
2996 (description
2997 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
2998 provide an interactive development experience similar to the one you'd get
2999 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
3000 Geiser) and Smalltalk.
3001
3002 CIDER is the successor to the now deprecated combination of using SLIME +
3003 swank-clojure for Clojure development.
3004
3005 There are plenty of differences between CIDER and SLIME, but the core ideas
3006 are pretty much the same (and SLIME served as the principle inspiration for
3007 CIDER).")
3008 (license license:gpl3+)))
3009
3010 (define-public emacs-lua-mode
3011 (package
3012 (name "emacs-lua-mode")
3013 (version "20151025")
3014 (source (origin
3015 (method url-fetch)
3016 (uri (string-append
3017 "https://github.com/immerrr/lua-mode/archive/v"
3018 version ".tar.gz"))
3019 (file-name (string-append name "-" version ".tar.gz"))
3020 (sha256
3021 (base32
3022 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
3023 (build-system emacs-build-system)
3024 (home-page "http://github.com/immerrr/lua-mode/")
3025 (synopsis "Major mode for lua")
3026 (description
3027 "This Emacs package provides a mode for @uref{https://www.lua.org/,
3028 Lua programing language}.")
3029 (license license:gpl2+)))
3030
3031 (define-public emacs-ebuild-mode
3032 (package
3033 (name "emacs-ebuild-mode")
3034 (version "1.30")
3035 (source (origin
3036 (method url-fetch)
3037 (uri (string-append
3038 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
3039 "-" version ".tar.xz"))
3040 (file-name (string-append name "-" version ".tar.xz"))
3041 (sha256
3042 (base32
3043 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
3044 (build-system emacs-build-system)
3045 (home-page "https://devmanual.gentoo.org")
3046 (synopsis "Major modes for Gentoo package files")
3047 (description
3048 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
3049 news items, openrc and runscripts.")
3050 (license license:gpl2+)))
3051
3052 (define-public emacs-evil
3053 (package
3054 (name "emacs-evil")
3055 (version "1.2.12")
3056 (source
3057 (origin
3058 (method url-fetch)
3059 (uri (string-append "https://bitbucket.org/lyro/evil/get/"
3060 version ".tar.bz2"))
3061 (file-name (string-append name "-" version ".tar.bz2"))
3062 (sha256
3063 (base32
3064 "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
3065 (build-system emacs-build-system)
3066 (propagated-inputs
3067 `(("emacs-undo-tree" ,emacs-undo-tree)
3068 ("emacs-goto-chg" ,emacs-goto-chg)))
3069 (home-page "https://bitbucket.com/lyro/evil")
3070 (synopsis "Extensible Vi layer for Emacs")
3071 (description
3072 "Evil is an extensible vi layer for Emacs. It emulates the
3073 main features of Vim, and provides facilities for writing custom
3074 extensions.")
3075 (license license:gpl3+)))
3076
3077 (define-public emacs-goto-chg
3078 (package
3079 (name "emacs-goto-chg")
3080 (version "1.6")
3081 (source
3082 (origin
3083 (method url-fetch)
3084 ;; There is no versioned source.
3085 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
3086 (sha256
3087 (base32
3088 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
3089 (build-system emacs-build-system)
3090 ;; There is no other home page.
3091 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
3092 (synopsis "Go to the last change in the Emacs buffer")
3093 (description
3094 "This package provides @code{M-x goto-last-change} command that goes to
3095 the point of the most recent edit in the current Emacs buffer. When repeated,
3096 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
3097 used for reverse direction.")
3098 (license license:gpl2+)))
3099
3100 (define-public emacs-writegood-mode
3101 (package
3102 (name "emacs-writegood-mode")
3103 (version "2.0.2")
3104 (home-page "http://github.com/bnbeckwith/writegood-mode")
3105 (source (origin
3106 (method git-fetch)
3107 (uri (git-reference
3108 (url home-page)
3109 (commit (string-append "v" version))))
3110 (sha256
3111 (base32
3112 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
3113 (file-name (string-append name "-checkout"))))
3114 (build-system emacs-build-system)
3115 (synopsis "Polish up poor writing on the fly")
3116 (description
3117 "This minor mode tries to find and highlight problems with your writing
3118 in English as you type. It primarily detects \"weasel words\" and abuse of
3119 passive voice.")
3120 (license license:gpl3+)))
3121
3122 (define-public emacs-neotree
3123 (package
3124 (name "emacs-neotree")
3125 (version "0.2.1")
3126 (home-page "https://github.com/jaypei/emacs-neotree")
3127 (source (origin
3128 (method url-fetch)
3129 (uri (string-append
3130 "https://github.com/jaypei/" name
3131 "/archive/v" version ".tar.gz"))
3132 (sha256
3133 (base32
3134 "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
3135 (file-name (string-append name "-" version ".tar.gz"))))
3136 (build-system emacs-build-system)
3137 (synopsis "Folder tree view for Emacs")
3138 (description "This Emacs package provides a folder tree view.")
3139 (license license:gpl3+)))
3140
3141 (define-public emacs-org
3142 (package
3143 (name "emacs-org")
3144 (version "20160912")
3145 (source (origin
3146 (method url-fetch)
3147 (uri (string-append "http://orgmode.org/elpa/org-"
3148 version ".tar"))
3149 (sha256
3150 (base32
3151 "1xawj0pdvqrgzlixxgbfa01gzajfaz47anr5m4aw035rhc6s02r7"))))
3152 (build-system emacs-build-system)
3153 (home-page "http://orgmode.org/")
3154 (synopsis "Outline-based notes management and organizer")
3155 (description "Org is an Emacs mode for keeping notes, maintaining TODO
3156 lists, and project planning with a fast and effective plain-text system. It
3157 also is an authoring system with unique support for literate programming and
3158 reproducible research.")
3159 (license license:gpl3+)))
3160
3161 (define-public emacs-flx
3162 (package
3163 (name "emacs-flx")
3164 (version "0.6.1")
3165 (source
3166 (origin
3167 (method url-fetch)
3168 (uri (string-append "https://github.com/lewang/"
3169 "flx/archive/v" version ".tar.gz"))
3170 (sha256
3171 (base32
3172 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
3173 (file-name (string-append name "-" version ".tar.gz"))))
3174 (build-system emacs-build-system)
3175 (home-page "https://github.com/lewang/flx")
3176 (synopsis "Fuzzy matching for Emacs")
3177 (description
3178 "Flx provides fuzzy matching for emacs a la sublime text.
3179 The sorting algorithm is a balance between word beginnings (abbreviation)
3180 and contiguous matches (substring). The longer the substring match,
3181 the higher it scores. This maps well to how we think about matching.
3182 Flx has support for ido (interactively do things) through flx-ido.")
3183 (license license:gpl3+)))
3184
3185 (define-public emacs-cyberpunk-theme
3186 (package
3187 (name "emacs-cyberpunk-theme")
3188 (version "1.17")
3189 (source
3190 (origin
3191 (method url-fetch)
3192 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
3193 "archive/" version ".tar.gz"))
3194 (sha256
3195 (base32
3196 "068jcn4g1bvwgpcvyfqygzw6ahill51c1sqzyyvj2paxckbd7h51"))
3197 (file-name (string-append name "-" version ".tar.gz"))))
3198 (build-system emacs-build-system)
3199 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
3200 (synopsis "Cyberpunk theme for emacs built-in color theme support")
3201 (description
3202 "Cyberpunk color theme for the emacs 24+ built-in color theme support
3203 known loosely as deftheme. Many mode-specific customizations are included.")
3204 (license license:gpl3+)))
3205
3206 (define-public emacs-auto-complete
3207 (package
3208 (name "emacs-auto-complete")
3209 (version "1.5.1")
3210 (source
3211 (origin
3212 (method url-fetch)
3213 (uri (string-append "https://github.com/auto-complete/"
3214 "auto-complete/archive/v" version ".tar.gz"))
3215 (sha256
3216 (base32
3217 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
3218 (file-name (string-append name "-" version ".tar.gz"))))
3219 (build-system emacs-build-system)
3220 (propagated-inputs
3221 `(("emacs-popup" ,emacs-popup)))
3222 (home-page "https://github.com/auto-complete/auto-complete")
3223 (synopsis "Intelligent auto-completion extension for Emacs")
3224 (description
3225 "Auto-Complete is an intelligent auto-completion extension for Emacs.
3226 It extends the standard Emacs completion interface and provides an environment
3227 that allows users to concentrate more on their own work. Its features are:
3228 a visual interface, reduce overhead of completion by using statistic method,
3229 extensibility.")
3230 (license license:gpl3+)))
3231
3232 (define-public m17n-db
3233 (package
3234 (name "m17n-db")
3235 (version "1.7.0")
3236 (source
3237 (origin
3238 (method url-fetch)
3239 (uri (string-append "mirror://savannah/m17n/m17n-db-"
3240 version ".tar.gz"))
3241 (sha256
3242 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
3243 (build-system gnu-build-system)
3244 (inputs
3245 `(("gettext" ,gnu-gettext)))
3246 (arguments
3247 `(#:configure-flags
3248 (list (string-append "--with-charmaps="
3249 (assoc-ref %build-inputs "libc")
3250 "/share/i18n/charmaps"))))
3251 ;; With `guix lint' the home-page URI returns a small page saying
3252 ;; that your browser does not handle frames. This triggers the "URI
3253 ;; returns suspiciously small file" warning.
3254 (home-page "http://www.nongnu.org/m17n/")
3255 (synopsis "Multilingual text processing library (database)")
3256 (description "The m17n library realizes multilingualization of
3257 many aspects of applications. The m17n library represents
3258 multilingual text as an object named M-text. M-text is a string with
3259 attributes called text properties, and designed to substitute for
3260 string in C. Text properties carry any information required to input,
3261 display and edit the text.
3262
3263 This package contains the library database.")
3264 (license license:lgpl2.1+)))
3265
3266 (define-public m17n-lib
3267 (package
3268 (name "m17n-lib")
3269 (version "1.7.0")
3270 (source
3271 (origin
3272 (method url-fetch)
3273 (uri (string-append
3274 "http://download.savannah.gnu.org/releases/m17n/m17n-lib-"
3275 version ".tar.gz"))
3276 (sha256
3277 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
3278 (build-system gnu-build-system)
3279 (inputs
3280 `(("fribidi" ,fribidi)
3281 ("gd" ,gd)
3282 ("libotf" ,libotf)
3283 ("libxft" ,libxft)
3284 ("libxml2" ,libxml2)
3285 ("m17n-db" ,m17n-db)))
3286 (arguments
3287 `(#:parallel-build? #f))
3288 ;; With `guix lint' the home-page URI returns a small page saying
3289 ;; that your browser does not handle frames. This triggers the "URI
3290 ;; returns suspiciously small file" warning.
3291 (home-page "http://www.nongnu.org/m17n/")
3292 (synopsis "Multilingual text processing library (runtime)")
3293 (description "The m17n library realizes multilingualization of
3294 many aspects of applications. The m17n library represents
3295 multilingual text as an object named M-text. M-text is a string with
3296 attributes called text properties, and designed to substitute for
3297 string in C. Text properties carry any information required to input,
3298 display and edit the text.
3299
3300 This package contains the library runtime.")
3301 (license license:lgpl2.1+)))
3302
3303 (define-public emacs-nginx-mode
3304 (package
3305 (name "emacs-nginx-mode")
3306 (version "1.1.4")
3307 (source
3308 (origin
3309 (method url-fetch)
3310 (uri (string-append
3311 "https://github.com/ajc/nginx-mode/archive/v"
3312 version ".tar.gz"))
3313 (file-name (string-append name "-" version ".tar.gz"))
3314 (sha256
3315 (base32
3316 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
3317 (build-system emacs-build-system)
3318 (home-page "https://github.com/ajc/nginx-mode")
3319 (synopsis "Emacs major mode for editing nginx config files")
3320 (description "This package provides an Emacs major mode for
3321 editing nginx config files.")
3322 (license license:gpl2+)))