gnu: emacs-guix: Update to 0.3.1.
[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, 2017 Ludovic Courtès <ludo@gnu.org>
4 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
7 ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
8 ;;; Copyright © 2016, 2017 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, 2017 ng0 <contact.ng0@cryptolab.net>
16 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
17 ;;; Copyright © 2016, 2017 Nicolas Goaziou <mail@nicolasgoaziou.fr>
18 ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
19 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
20 ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
21 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
22 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
23 ;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
24 ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
25 ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org>
26 ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
27 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
28 ;;;
29 ;;; This file is part of GNU Guix.
30 ;;;
31 ;;; GNU Guix is free software; you can redistribute it and/or modify it
32 ;;; under the terms of the GNU General Public License as published by
33 ;;; the Free Software Foundation; either version 3 of the License, or (at
34 ;;; your option) any later version.
35 ;;;
36 ;;; GNU Guix is distributed in the hope that it will be useful, but
37 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
38 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39 ;;; GNU General Public License for more details.
40 ;;;
41 ;;; You should have received a copy of the GNU General Public License
42 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
43
44 (define-module (gnu packages emacs)
45 #:use-module ((guix licenses) #:prefix license:)
46 #:use-module (guix packages)
47 #:use-module (guix download)
48 #:use-module (guix git-download)
49 #:use-module (guix gexp)
50 #:use-module (guix monads)
51 #:use-module (guix store)
52 #:use-module (guix build-system gnu)
53 #:use-module (guix build-system emacs)
54 #:use-module (guix build-system glib-or-gtk)
55 #:use-module (guix build-system trivial)
56 #:use-module (gnu packages)
57 #:use-module (gnu packages audio)
58 #:use-module (gnu packages code)
59 #:use-module (gnu packages guile)
60 #:use-module (gnu packages gtk)
61 #:use-module (gnu packages gnome)
62 #:use-module (gnu packages ncurses)
63 #:use-module (gnu packages python)
64 #:use-module (gnu packages tex)
65 #:use-module (gnu packages texinfo)
66 #:use-module (gnu packages tcl)
67 #:use-module (gnu packages tls)
68 #:use-module (gnu packages pkg-config)
69 #:use-module (gnu packages xorg)
70 #:use-module (gnu packages lesstif)
71 #:use-module (gnu packages image)
72 #:use-module (gnu packages linux)
73 #:use-module (gnu packages version-control)
74 #:use-module (gnu packages imagemagick)
75 #:use-module (gnu packages w3m)
76 #:use-module (gnu packages wget)
77 #:use-module (gnu packages autotools)
78 #:use-module (gnu packages base)
79 #:use-module (gnu packages compression)
80 #:use-module (gnu packages xml)
81 #:use-module (gnu packages glib)
82 #:use-module (gnu packages acl)
83 #:use-module (gnu packages package-management)
84 #:use-module (gnu packages perl)
85 #:use-module (gnu packages pdf)
86 #:use-module (gnu packages scheme)
87 #:use-module (gnu packages statistics)
88 #:use-module (gnu packages xiph)
89 #:use-module (gnu packages mp3)
90 #:use-module (gnu packages gettext)
91 #:use-module (gnu packages fribidi)
92 #:use-module (gnu packages gd)
93 #:use-module (gnu packages fontutils)
94 #:use-module (guix utils)
95 #:use-module (srfi srfi-1))
96
97 (define-public emacs
98 (package
99 (name "emacs")
100 (version "25.2")
101 (source (origin
102 (method url-fetch)
103 (uri (string-append "mirror://gnu/emacs/emacs-"
104 version ".tar.xz"))
105 (sha256
106 (base32
107 "1ykkq0xl28ljdg61bm6gzy04ww86ajms98gix72qg6cpr6a53dar"))
108 (patches (search-patches "emacs-exec-path.patch"
109 "emacs-fix-scheme-indent-function.patch"
110 "emacs-source-date-epoch.patch"))
111 (modules '((guix build utils)))
112 (snippet
113 ;; Delete the bundled byte-compiled elisp files and
114 ;; generated autoloads.
115 '(with-directory-excursion "lisp"
116 (for-each delete-file
117 (append (find-files "." "\\.elc$")
118 (find-files "." "loaddefs\\.el$")
119 ;; This is the only "autoloads" file that
120 ;; does not have "*loaddefs.el" name.
121 '("eshell/esh-groups.el")))
122
123 ;; Make sure Tramp looks for binaries in the right places on
124 ;; remote GuixSD machines, where 'getconf PATH' returns
125 ;; something bogus.
126 (substitute* "net/tramp-sh.el"
127 ;; Patch the line after "(defcustom tramp-remote-path".
128 (("\\(tramp-default-remote-path")
129 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
130 "~/.guix-profile/bin" "~/.guix-profile/sbin"
131 "/run/current-system/profile/bin"
132 "/run/current-system/profile/sbin")))))))
133 (build-system glib-or-gtk-build-system)
134 (arguments
135 `(#:phases
136 (modify-phases %standard-phases
137 (add-before 'configure 'fix-/bin/pwd
138 (lambda _
139 ;; Use `pwd', not `/bin/pwd'.
140 (substitute* (find-files "." "^Makefile\\.in$")
141 (("/bin/pwd")
142 "pwd"))))
143 (add-after 'install 'install-site-start
144 ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
145 ;; provided by Guix and installed in
146 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
147 ;; automatically found.
148 (lambda* (#:key inputs outputs #:allow-other-keys)
149 (let* ((out (assoc-ref outputs "out"))
150 (lisp-dir (string-append out "/share/emacs/site-lisp")))
151 (copy-file (assoc-ref inputs "guix-emacs.el")
152 (string-append lisp-dir "/guix-emacs.el"))
153 (with-output-to-file (string-append lisp-dir "/site-start.el")
154 (lambda ()
155 (display
156 (string-append "(when (require 'guix-emacs nil t)\n"
157 " (guix-emacs-autoload-packages))\n"))))
158 #t))))))
159 (inputs
160 `(("gnutls" ,gnutls)
161 ("ncurses" ,ncurses)
162
163 ;; TODO: Add the optional dependencies.
164 ("libx11" ,libx11)
165 ("gtk+" ,gtk+)
166 ("libxft" ,libxft)
167 ("libtiff" ,libtiff)
168 ("giflib" ,giflib)
169 ("libjpeg" ,libjpeg-8)
170 ("acl" ,acl)
171
172 ;; When looking for libpng `configure' links with `-lpng -lz', so we
173 ;; must also provide zlib as an input.
174 ("libpng" ,libpng)
175 ("zlib" ,zlib)
176
177 ("librsvg" ,librsvg)
178 ("libxpm" ,libxpm)
179 ("libxml2" ,libxml2)
180 ("libice" ,libice)
181 ("libsm" ,libsm)
182 ("alsa-lib" ,alsa-lib)
183 ("dbus" ,dbus)
184
185 ;; multilingualization support
186 ("libotf" ,libotf)
187 ("m17n-lib" ,m17n-lib)))
188 (native-inputs
189 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
190 ("pkg-config" ,pkg-config)
191 ("texinfo" ,texinfo)))
192
193 (native-search-paths
194 (list (search-path-specification
195 (variable "INFOPATH")
196 (files '("share/info")))))
197
198 (home-page "https://www.gnu.org/software/emacs/")
199 (synopsis "The extensible, customizable, self-documenting text editor")
200 (description
201 "GNU Emacs is an extensible and highly customizable text editor. It is
202 based on an Emacs Lisp interpreter with extensions for text editing. Emacs
203 has been extended in essentially all areas of computing, giving rise to a
204 vast array of packages supporting, e.g., email, IRC and XMPP messaging,
205 spreadsheets, remote server editing, and much more. Emacs includes extensive
206 documentation on all aspects of the system, from basic editing to writing
207 large Lisp programs. It has full Unicode support for nearly all human
208 languages.")
209 (license license:gpl3+)))
210
211 (define-public emacs-minimal
212 ;; This is the version that you should use as an input to packages that just
213 ;; need to byte-compile .el files.
214 (package (inherit emacs)
215 (name "emacs-minimal")
216 (synopsis "The extensible text editor (used only for byte-compilation)")
217 (build-system gnu-build-system)
218 (arguments
219 (substitute-keyword-arguments (package-arguments emacs)
220 ((#:phases phases)
221 `(modify-phases ,phases
222 (delete 'install-site-start)))))
223 (inputs
224 `(("ncurses" ,ncurses)))
225 (native-inputs
226 `(("pkg-config" ,pkg-config)))))
227
228 (define-public emacs-no-x
229 (package (inherit emacs)
230 (name "emacs-no-x")
231 (synopsis "The extensible, customizable, self-documenting text
232 editor (console only)")
233 (build-system gnu-build-system)
234 (inputs (fold alist-delete
235 (package-inputs emacs)
236 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
237 "libpng" "librsvg" "libxpm" "libice" "libsm"
238
239 ;; D-Bus depends on libx11, so remove it as well.
240 "dbus")))))
241
242 (define-public emacs-no-x-toolkit
243 (package (inherit emacs)
244 (name "emacs-no-x-toolkit")
245 (synopsis "The extensible, customizable, self-documenting text
246 editor (without an X toolkit)" )
247 (build-system gnu-build-system)
248 (inputs (append `(("inotify-tools" ,inotify-tools))
249 (alist-delete "gtk+" (package-inputs emacs))))
250 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
251 (package-arguments emacs)))))
252
253 (define-public guile-emacs
254 (package (inherit emacs)
255 (name "guile-emacs")
256 (version "20150512.41120e0")
257 (source (origin
258 (method git-fetch)
259 (uri (git-reference
260 (url "git://git.hcoop.net/git/bpt/emacs.git")
261 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
262 (sha256
263 (base32
264 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
265 (native-inputs
266 `(("autoconf" ,autoconf)
267 ("automake" ,automake)
268 ("guile" ,guile-for-guile-emacs)
269 ,@(package-native-inputs emacs)))
270 (arguments
271 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
272 #:parallel-build? #f
273 ;; Tests aren't passing for now.
274 #:tests? #f
275 ,@(package-arguments emacs))
276 ((#:phases phases)
277 `(modify-phases ,phases
278 (add-after 'unpack 'autogen
279 (lambda _
280 (zero? (system* "sh" "autogen.sh"))))))))))
281
282 \f
283 ;;;
284 ;;; Emacs hacking.
285 ;;;
286
287 (define-public geiser
288 (package
289 (name "geiser")
290 (version "0.9")
291 (source (origin
292 (method url-fetch)
293 (uri (string-append "mirror://savannah/geiser/" version
294 "/geiser-" version ".tar.gz"))
295 (sha256
296 (base32
297 "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
298 (build-system gnu-build-system)
299 (arguments
300 '(#:phases (alist-cons-after
301 'install 'post-install
302 (lambda* (#:key outputs #:allow-other-keys)
303 (symlink "geiser-install.el"
304 (string-append (assoc-ref outputs "out")
305 "/share/emacs/site-lisp/"
306 "geiser-autoloads.el")))
307 %standard-phases)))
308 (inputs `(("guile" ,guile-2.0)))
309 (native-inputs `(("emacs" ,emacs-minimal)))
310 (home-page "http://nongnu.org/geiser/")
311 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
312 (description
313 "Geiser is a collection of Emacs major and minor modes that conspire with
314 one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
315 continuously running Scheme interpreter takes the center of the stage in
316 Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
317 implementation, Emacs and, ultimately, the schemer, giving them access to live
318 metadata.")
319 (license license:bsd-3)))
320
321 (define-public geiser-next
322 ;; This has become "geiser".
323 (deprecated-package "geiser-next" geiser))
324
325 (define-public paredit
326 (package
327 (name "emacs-paredit")
328 (version "24")
329 (source (origin
330 (method url-fetch)
331 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
332 version ".el"))
333 (sha256
334 (base32
335 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
336 (build-system trivial-build-system)
337 (native-inputs `(("emacs" ,emacs-minimal)))
338 (arguments
339 `(#:modules ((guix build utils)
340 (guix build emacs-utils))
341 #:builder
342 (begin
343 (use-modules (guix build utils))
344 (use-modules (guix build emacs-utils))
345
346 (let* ((emacs (string-append (assoc-ref %build-inputs "emacs")
347 "/bin/emacs"))
348 (source (assoc-ref %build-inputs "source"))
349 (lisp-dir (string-append %output
350 "/share/emacs/site-lisp"))
351 (target (string-append lisp-dir "/paredit.el")))
352 (mkdir-p lisp-dir)
353 (copy-file source target)
354 (with-directory-excursion lisp-dir
355 (parameterize ((%emacs emacs))
356 (emacs-generate-autoloads ,name lisp-dir)
357 (emacs-batch-eval '(byte-compile-file "paredit.el"))))))))
358 (home-page "http://mumble.net/~campbell/emacs/paredit/")
359 (synopsis "Emacs minor mode for editing parentheses")
360 (description
361 "ParEdit (paredit.el) is a minor mode for performing structured editing
362 of S-expression data. The typical example of this would be Lisp or Scheme
363 source code.
364
365 ParEdit helps **keep parentheses balanced** and adds many keys for moving
366 S-expressions and moving around in S-expressions. Its behavior can be jarring
367 for those who may want transient periods of unbalanced parentheses, such as
368 when typing parentheses directly or commenting out code line by line.")
369 (license license:gpl3+)))
370
371 (define-public paredit/old-name
372 (deprecated-package "paredit" paredit))
373
374 (define-public git-modes
375 (package
376 (name "git-modes")
377 (version "1.2.4")
378 (source (origin
379 (method url-fetch)
380 (uri (string-append
381 "https://github.com/magit/git-modes/archive/"
382 version ".tar.gz"))
383 (file-name (string-append name "-" version ".tar.gz"))
384 (sha256
385 (base32
386 "0xxrmf0jnyljxvllc22qa0v8lgi4k1ldnayjm5hf68m25jsr378l"))))
387 (build-system gnu-build-system)
388 (arguments
389 `(#:modules ((guix build gnu-build-system)
390 (guix build emacs-utils)
391 (guix build utils))
392 #:imported-modules (,@%gnu-build-system-modules
393 (guix build emacs-utils))
394
395 #:make-flags (list (string-append "PREFIX="
396 (assoc-ref %outputs "out"))
397 ;; Don't put .el files in a 'git-modes'
398 ;; sub-directory.
399 (string-append "LISPDIR="
400 (assoc-ref %outputs "out")
401 "/share/emacs/site-lisp"))
402 #:tests? #f ; no check target
403 #:phases (modify-phases %standard-phases
404 (delete 'configure)
405 (add-after 'install 'emacs-autoloads
406 (lambda* (#:key outputs #:allow-other-keys)
407 (let* ((out (assoc-ref outputs "out"))
408 (lisp (string-append
409 out "/share/emacs/site-lisp/")))
410 (emacs-generate-autoloads ,name lisp)))))))
411 (native-inputs `(("emacs" ,emacs-minimal)))
412 (home-page "https://github.com/magit/git-modes")
413 (synopsis "Emacs major modes for Git configuration files")
414 (description
415 "This package provides Emacs major modes for editing various Git
416 configuration files, such as .gitattributes, .gitignore, and .git/config.")
417 (license license:gpl3+)))
418
419 (define-public emacs-with-editor
420 (package
421 (name "emacs-with-editor")
422 (version "2.5.10")
423 (source (origin
424 (method url-fetch)
425 (uri (string-append
426 "https://github.com/magit/with-editor/archive/v"
427 version ".tar.gz"))
428 (file-name (string-append name "-" version ".tar.gz"))
429 (sha256
430 (base32
431 "0lsxa1hghybkzvqhqvvym3hxbyp9vjcnnpb9j800z0vyhbnlka67"))))
432 (build-system emacs-build-system)
433 (propagated-inputs
434 `(("emacs-dash" ,emacs-dash)))
435 (home-page "https://github.com/magit/with-editor")
436 (synopsis "Emacs library for using Emacsclient as EDITOR")
437 (description
438 "This package provides an Emacs library to use the Emacsclient as
439 @code{$EDITOR} of child processes, making sure they know how to call home.
440 For remote processes a substitute is provided, which communicates with Emacs
441 on stdout instead of using a socket as the Emacsclient does.")
442 (license license:gpl3+)))
443
444 (define-public magit
445 (package
446 (name "magit")
447 (version "2.10.3")
448 (source (origin
449 (method url-fetch)
450 (uri (string-append
451 "https://github.com/magit/magit/releases/download/"
452 version "/" name "-" version ".tar.gz"))
453 (sha256
454 (base32
455 "03ln65ss420gc3h4pi56dayd1p163xfxrxrd9fkb9xnkl8mjglqk"))))
456 (build-system gnu-build-system)
457 (native-inputs `(("texinfo" ,texinfo)
458 ("emacs" ,emacs-minimal)))
459 (inputs
460 `(("git" ,git)
461 ("perl" ,perl)))
462 (propagated-inputs
463 `(("dash" ,emacs-dash)
464 ("with-editor" ,emacs-with-editor)))
465 (arguments
466 `(#:modules ((guix build gnu-build-system)
467 (guix build utils)
468 (guix build emacs-utils))
469 #:imported-modules (,@%gnu-build-system-modules
470 (guix build emacs-utils))
471
472 #:test-target "test"
473 #:tests? #f ; tests are not included in the release
474
475 #:make-flags
476 (list (string-append "PREFIX=" %output)
477 ;; Don't put .el files in a sub-directory.
478 (string-append "lispdir=" %output "/share/emacs/site-lisp")
479 (string-append "DASH_DIR="
480 (assoc-ref %build-inputs "dash")
481 "/share/emacs/site-lisp/guix.d/dash-"
482 ,(package-version emacs-dash))
483 (string-append "WITH_EDITOR_DIR="
484 (assoc-ref %build-inputs "with-editor")
485 "/share/emacs/site-lisp/guix.d/with-editor-"
486 ,(package-version emacs-with-editor)))
487
488 #:phases
489 (modify-phases %standard-phases
490 (delete 'configure)
491 (add-before
492 'build 'patch-exec-paths
493 (lambda* (#:key inputs #:allow-other-keys)
494 (let ((git (assoc-ref inputs "git"))
495 (perl (assoc-ref inputs "perl")))
496 (emacs-substitute-variables "lisp/magit-git.el"
497 ("magit-git-executable" (string-append git "/bin/git")))
498 (substitute* "lisp/magit-sequence.el"
499 (("perl") (string-append perl "/bin/perl")))
500 #t))))))
501 (home-page "http://magit.github.io/")
502 (synopsis "Emacs interface for the Git version control system")
503 (description
504 "With Magit, you can inspect and modify your Git repositories with Emacs.
505 You can review and commit the changes you have made to the tracked files, for
506 example, and you can browse the history of past changes. There is support for
507 cherry picking, reverting, merging, rebasing, and other common Git
508 operations.")
509 (license license:gpl3+)))
510
511 (define-public magit-svn
512 (package
513 (name "magit-svn")
514 (version "2.1.1")
515 (source (origin
516 (method url-fetch)
517 (uri (string-append
518 "https://github.com/magit/magit-svn/archive/"
519 version ".tar.gz"))
520 (file-name (string-append name "-" version ".tar.gz"))
521 (sha256
522 (base32
523 "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
524 (build-system trivial-build-system)
525 (native-inputs `(("emacs" ,emacs-minimal)
526 ("tar" ,tar)
527 ("gzip" ,gzip)))
528 (propagated-inputs `(("dash" ,emacs-dash)
529 ("magit" ,magit)))
530 (arguments
531 `(#:modules ((guix build utils)
532 (guix build emacs-utils))
533
534 #:builder
535 (begin
536 (use-modules (guix build utils)
537 (guix build emacs-utils))
538
539 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
540 "/bin/tar"))
541 (PATH (string-append (assoc-ref %build-inputs "gzip")
542 "/bin"))
543 (emacs (string-append (assoc-ref %build-inputs "emacs")
544 "/bin/emacs"))
545 (magit (string-append (assoc-ref %build-inputs "magit")
546 "/share/emacs/site-lisp"))
547 (dash (string-append (assoc-ref %build-inputs "dash")
548 "/share/emacs/site-lisp/guix.d/dash-"
549 ,(package-version emacs-dash)))
550 (source (assoc-ref %build-inputs "source"))
551 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
552 (setenv "PATH" PATH)
553 (system* tar "xvf" source)
554
555 (install-file (string-append ,name "-" ,version "/magit-svn.el")
556 lisp-dir)
557
558 (with-directory-excursion lisp-dir
559 (parameterize ((%emacs emacs))
560 (emacs-generate-autoloads ,name lisp-dir)
561 (setenv "EMACSLOADPATH"
562 (string-append ":" magit ":" dash))
563 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
564 (home-page "https://github.com/magit/magit-svn")
565 (synopsis "Git-SVN extension to Magit")
566 (description
567 "This package is an extension to Magit, the Git Emacs mode, providing
568 support for Git-SVN.")
569 (license license:gpl3+)))
570
571 (define-public emacs-magit-popup
572 (package
573 (name "emacs-magit-popup")
574 (version (package-version magit))
575 (source (origin
576 (method url-fetch)
577 (uri (string-append
578 "https://raw.githubusercontent.com/magit/magit/"
579 version "/lisp/magit-popup.el"))
580 (file-name (string-append "magit-popup-" version ".el"))
581 (sha256
582 (base32
583 "08b6ypfiq8zavjfq0wcdh26xziwq7rqvvv3lfpib9101146kzx6d"))))
584 (build-system emacs-build-system)
585 (propagated-inputs
586 `(("emacs-dash" ,emacs-dash)))
587 (home-page "https://github.com/magit/magit")
588 (synopsis "Define prefix-infix-suffix command combos")
589 (description
590 "This library implements a generic interface for toggling switches and
591 setting options and then invoking an Emacs command which does something with
592 these arguments. The prototypical use is for the command to call an external
593 process, passing on the arguments as command line arguments.")
594 (license license:gpl3+)))
595
596 (define-public haskell-mode
597 (package
598 (name "haskell-mode")
599 (version "16.1")
600 (source (origin
601 (method url-fetch)
602 (file-name (string-append name "-" version ".tar.gz"))
603 (uri (string-append
604 "https://github.com/haskell/haskell-mode/archive/v"
605 version ".tar.gz"))
606 (sha256
607 (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
608 (inputs
609 `(("emacs-el-search" ,emacs-el-search) ; for tests
610 ("emacs-stream" ,emacs-stream))) ; for tests
611 (propagated-inputs
612 `(("emacs-dash" ,emacs-dash)))
613 (native-inputs
614 `(("emacs" ,emacs-minimal)
615 ("texinfo" ,texinfo)))
616 (build-system gnu-build-system)
617 (arguments
618 `(#:make-flags (list (string-append "EMACS="
619 (assoc-ref %build-inputs "emacs")
620 "/bin/emacs"))
621 #:modules ((ice-9 match)
622 (srfi srfi-26)
623 ,@%gnu-build-system-modules)
624 #:phases
625 (modify-phases %standard-phases
626 (delete 'configure)
627 (add-before
628 'build 'pre-build
629 (lambda* (#:key inputs #:allow-other-keys)
630 (define (el-dir store-dir)
631 (match (find-files store-dir)
632 ((f1 f2 ...) (dirname f1))
633 (_ "")))
634
635 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
636 (define emacs-prefix? (cut string-prefix? "emacs-" <>))
637
638 (setenv "SHELL" "sh")
639 (setenv "EMACSLOADPATH"
640 (string-concatenate
641 (map (match-lambda
642 (((? emacs-prefix? name) . dir)
643 (string-append (el-dir dir) ":"))
644 (_ ""))
645 inputs)))
646 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
647 (substitute* "tests/haskell-code-conventions.el"
648 ;; Function name recently changed in "emacs-el-search".
649 (("el-search--search-pattern") "el-search-forward")
650 ;; Don't contact home.
651 (("\\(when \\(>= emacs-major-version 25\\)")
652 "(require 'el-search) (when nil"))
653 #t)))
654 (replace
655 'install
656 (lambda* (#:key outputs #:allow-other-keys)
657 (let* ((out (assoc-ref outputs "out"))
658 (el-dir (string-append out "/share/emacs/site-lisp"))
659 (doc (string-append
660 out "/share/doc/haskell-mode-" ,version))
661 (info (string-append out "/share/info")))
662 (define (copy-to-dir dir files)
663 (for-each (lambda (f)
664 (install-file f dir))
665 files))
666
667 (with-directory-excursion "doc"
668 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
669 (error "makeinfo failed"))
670 (install-file "haskell-mode.info" info))
671 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
672 (copy-to-dir el-dir (find-files "." "\\.elc?"))
673 ;; These are part of other packages.
674 (with-directory-excursion el-dir
675 (for-each delete-file '("dash.el" "ert.el")))
676 #t))))))
677 (home-page "https://github.com/haskell/haskell-mode")
678 (synopsis "Haskell mode for Emacs")
679 (description
680 "This is an Emacs mode for editing, debugging and developing Haskell
681 programs.")
682 (license license:gpl3+)))
683
684 (define-public let-alist
685 (package
686 (name "emacs-let-alist")
687 (version "1.0.4")
688 (source (origin
689 (method url-fetch)
690 (uri (string-append "https://elpa.gnu.org/packages/let-alist-"
691 version ".el"))
692 (sha256
693 (base32
694 "07312bvvyz86lf64vdkxg2l1wgfjl25ljdjwlf1bdzj01c4hm88x"))))
695 (build-system trivial-build-system)
696 (arguments
697 `(#:modules ((guix build utils)
698 (guix build emacs-utils))
699
700 #:builder (begin
701 (use-modules (guix build emacs-utils)
702 (guix build utils))
703
704 (let* ((out (assoc-ref %outputs "out"))
705 (lispdir (string-append out
706 "/share/emacs/site-lisp/"
707 "guix.d/let-alist-"
708 ,version))
709 (emacs (assoc-ref %build-inputs "emacs")))
710
711 (mkdir-p lispdir)
712 (copy-file (assoc-ref %build-inputs "source")
713 (string-append lispdir "/let-alist.el"))
714
715 (setenv "PATH" (string-append emacs "/bin"))
716 (emacs-byte-compile-directory lispdir)
717 #t))))
718 (native-inputs `(("emacs" ,emacs-minimal)))
719 (home-page "https://elpa.gnu.org/packages/let-alist.html")
720 (synopsis "Easily let-bind values of an assoc-list by their names")
721 (description
722 "This package offers a single Emacs Lisp macro, @code{let-alist}. This
723 macro takes a first argument, whose value must be an alist (association list),
724 and a body.
725
726 The macro expands to a let form containing the body, where each dotted symbol
727 inside body is let-bound to their cdrs in the alist. Only those present in
728 the body are let-bound and this search is done at compile time.")
729 (license license:gpl3+)))
730
731 (define-public flycheck
732 (package
733 (name "emacs-flycheck")
734 (version "30")
735 (source (origin
736 (method url-fetch)
737 (uri (string-append
738 "https://github.com/flycheck/flycheck/releases/download/"
739 version "/flycheck-" version ".tar"))
740 (sha256
741 (base32
742 "1rxzkaqsj48z3nska5wsgwafvwkam014dzqd32baycmxjl0jxvy7"))))
743 (build-system emacs-build-system)
744 (propagated-inputs
745 `(("emacs-dash" ,emacs-dash)
746 ("emacs-let-alist" ,let-alist)
747 ("emacs-seq" ,emacs-seq)))
748 (home-page "https://www.flycheck.org")
749 (synopsis "On-the-fly syntax checking")
750 (description
751 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
752 replacement for the older Flymake extension which is part of GNU Emacs, with
753 many improvements and additional features.
754
755 Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
756 checking for over 30 programming and markup languages with more than 70
757 different tools. It highlights errors and warnings inline in the buffer, and
758 provides an optional IDE-like error list.")
759 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
760
761 \f
762 ;;;
763 ;;; Web browsing.
764 ;;;
765
766 (define-public emacs-w3m
767 (package
768 (name "emacs-w3m")
769 (version "1.4.538+0.20141022")
770 (source (origin
771 (method url-fetch)
772 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
773 version ".orig.tar.gz"))
774 (sha256
775 (base32
776 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
777 (build-system gnu-build-system)
778 (native-inputs `(("autoconf" ,autoconf)
779 ("emacs" ,emacs-minimal)))
780 (inputs `(("w3m" ,w3m)
781 ("imagemagick" ,imagemagick)))
782 (arguments
783 `(#:modules ((guix build gnu-build-system)
784 (guix build utils)
785 (guix build emacs-utils))
786 #:imported-modules (,@%gnu-build-system-modules
787 (guix build emacs-utils))
788 #:configure-flags
789 (let ((out (assoc-ref %outputs "out")))
790 (list (string-append "--with-lispdir="
791 out "/share/emacs/site-lisp")
792 (string-append "--with-icondir="
793 out "/share/images/emacs-w3m")
794 ;; Leave .el files uncompressed, otherwise GC can't
795 ;; identify run-time dependencies. See
796 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
797 "--without-compress-install"))
798 #:tests? #f ; no check target
799 #:phases
800 (modify-phases %standard-phases
801 (add-after 'unpack 'autoconf
802 (lambda _
803 (zero? (system* "autoconf"))))
804 (add-before 'build 'patch-exec-paths
805 (lambda* (#:key inputs outputs #:allow-other-keys)
806 (let ((out (assoc-ref outputs "out"))
807 (w3m (assoc-ref inputs "w3m"))
808 (imagemagick (assoc-ref inputs "imagemagick"))
809 (coreutils (assoc-ref inputs "coreutils")))
810 (emacs-substitute-variables "w3m.el"
811 ("w3m-command" (string-append w3m "/bin/w3m"))
812 ("w3m-touch-command"
813 (string-append coreutils "/bin/touch"))
814 ("w3m-image-viewer"
815 (string-append imagemagick "/bin/display"))
816 ("w3m-icon-directory"
817 (string-append out "/share/images/emacs-w3m")))
818 (emacs-substitute-variables "w3m-image.el"
819 ("w3m-imagick-convert-program"
820 (string-append imagemagick "/bin/convert"))
821 ("w3m-imagick-identify-program"
822 (string-append imagemagick "/bin/identify")))
823 #t)))
824 (replace 'install
825 (lambda* (#:key outputs #:allow-other-keys)
826 (and (zero? (system* "make" "install" "install-icons"))
827 (with-directory-excursion
828 (string-append (assoc-ref outputs "out")
829 "/share/emacs/site-lisp")
830 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
831 (symlink "w3m-load.el" "w3m-autoloads.el")
832 #t)))))))
833 (home-page "http://emacs-w3m.namazu.org/")
834 (synopsis "Simple Web browser for Emacs based on w3m")
835 (description
836 "Emacs-w3m is an emacs interface for the w3m web browser.")
837 (license license:gpl2+)))
838
839 (define-public emacs-wget
840 (package
841 (name "emacs-wget")
842 (version "0.5.0")
843 (source (origin
844 (method url-fetch)
845 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
846 version ".orig.tar.gz"))
847 (sha256
848 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
849 (build-system gnu-build-system)
850 (inputs `(("wget" ,wget)))
851 (native-inputs `(("emacs" ,emacs-minimal)))
852 (arguments
853 `(#:modules ((guix build gnu-build-system)
854 (guix build utils)
855 (guix build emacs-utils))
856 #:imported-modules (,@%gnu-build-system-modules
857 (guix build emacs-utils))
858 #:tests? #f ; no check target
859 #:phases
860 (alist-replace
861 'configure
862 (lambda* (#:key outputs #:allow-other-keys)
863 (substitute* "Makefile"
864 (("/usr/local") (assoc-ref outputs "out"))
865 (("/site-lisp/emacs-wget") "/site-lisp")))
866 (alist-cons-before
867 'build 'patch-exec-paths
868 (lambda* (#:key inputs outputs #:allow-other-keys)
869 (let ((wget (assoc-ref inputs "wget")))
870 (emacs-substitute-variables "wget.el"
871 ("wget-command" (string-append wget "/bin/wget")))))
872 (alist-cons-after
873 'install 'post-install
874 (lambda* (#:key outputs #:allow-other-keys)
875 (emacs-generate-autoloads
876 "wget" (string-append (assoc-ref outputs "out")
877 "/share/emacs/site-lisp/")))
878 %standard-phases)))))
879 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
880 (synopsis "Simple file downloader for Emacs based on wget")
881 (description
882 "Emacs-wget is an emacs interface for the wget file downloader.")
883 (license license:gpl2+)))
884
885 \f
886 ;;;
887 ;;; Multimedia.
888 ;;;
889
890 (define-public emms
891 (package
892 (name "emacs-emms")
893 (version "4.3")
894 (source (origin
895 (method url-fetch)
896 (uri (string-append "mirror://gnu/emms/emms-"
897 version ".tar.gz"))
898 (sha256
899 (base32
900 "0dicgkl8l83n4cah5vk7c242abbwpyzlih451blgw37f3rijs480"))
901 (modules '((guix build utils)))
902 (snippet
903 '(substitute* "Makefile"
904 (("/usr/bin/install-info")
905 ;; No need to use 'install-info' since it would create a
906 ;; useless 'dir' file.
907 "true")
908 (("^INFODIR=.*")
909 ;; Install Info files to $out/share/info, not $out/info.
910 "INFODIR := $(PREFIX)/share/info\n")
911 (("/site-lisp/emms")
912 ;; Install directly in share/emacs/site-lisp, not in a
913 ;; sub-directory.
914 "/site-lisp")
915 (("^all: (.*)\n" _ rest)
916 ;; Build 'emms-print-metadata'.
917 (string-append "all: " rest " emms-print-metadata\n"))))))
918 (build-system gnu-build-system)
919 (arguments
920 `(#:modules ((guix build gnu-build-system)
921 (guix build utils)
922 (guix build emacs-utils))
923 #:imported-modules (,@%gnu-build-system-modules
924 (guix build emacs-utils))
925
926 #:phases
927 (modify-phases %standard-phases
928 (replace 'configure
929 (lambda* (#:key inputs outputs #:allow-other-keys)
930 (let ((out (assoc-ref outputs "out"))
931 (vorbis (assoc-ref inputs "vorbis-tools"))
932 (alsa (assoc-ref inputs "alsa-utils"))
933 (mpg321 (assoc-ref inputs "mpg321"))
934 (mp3info (assoc-ref inputs "mp3info")))
935 ;; Specify the installation directory.
936 (substitute* "Makefile"
937 (("PREFIX=.*$")
938 (string-append "PREFIX := " out "\n")))
939
940 (setenv "SHELL" (which "sh"))
941 (setenv "CC" "gcc")
942
943 ;; Specify the absolute file names of the various
944 ;; programs so that everything works out-of-the-box.
945 (with-directory-excursion "lisp"
946 (emacs-substitute-variables
947 "emms-player-mpg321-remote.el"
948 ("emms-player-mpg321-remote-command"
949 (string-append mpg321 "/bin/mpg321")))
950 (substitute* "emms-player-simple.el"
951 (("\"ogg123\"")
952 (string-append "\"" vorbis "/bin/ogg123\"")))
953 (emacs-substitute-variables "emms-info-ogginfo.el"
954 ("emms-info-ogginfo-program-name"
955 (string-append vorbis "/bin/ogginfo")))
956 (emacs-substitute-variables "emms-info-libtag.el"
957 ("emms-info-libtag-program-name"
958 (string-append out "/bin/emms-print-metadata")))
959 (emacs-substitute-variables "emms-info-mp3info.el"
960 ("emms-info-mp3info-program-name"
961 (string-append mp3info "/bin/mp3info")))
962 (substitute* "emms-volume-amixer.el"
963 (("\"amixer\"")
964 (string-append "\"" alsa "/bin/amixer\"")))
965 (substitute* "emms-tag-editor.el"
966 (("\"mp3info\"")
967 (string-append "\"" mp3info "/bin/mp3info\"")))))))
968 (add-before 'install 'pre-install
969 (lambda* (#:key outputs #:allow-other-keys)
970 ;; The 'install' rule expects the target directories to exist.
971 (let* ((out (assoc-ref outputs "out"))
972 (bin (string-append out "/bin"))
973 (man1 (string-append out "/share/man/man1")))
974 (mkdir-p bin)
975 (mkdir-p man1)
976 #t)))
977 (add-after 'install 'post-install
978 (lambda* (#:key outputs #:allow-other-keys)
979 (let ((out (assoc-ref outputs "out")))
980 (symlink "emms-auto.el"
981 (string-append out "/share/emacs/site-lisp/"
982 "emms-autoloads.el"))))))
983 #:tests? #f))
984 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
985 ("texinfo" ,texinfo)))
986 (inputs `(("alsa-utils" ,alsa-utils)
987 ("vorbis-tools" ,vorbis-tools)
988 ("mpg321" ,mpg321)
989 ("taglib" ,taglib)
990 ("mp3info" ,mp3info)))
991 (properties '((upstream-name . "emms")))
992 (synopsis "Emacs Multimedia System")
993 (description
994 "EMMS is the Emacs Multimedia System. It is a small front-end which
995 can control one of the supported external players. Thus, it supports
996 whatever formats are supported by your music player. It also
997 supports tagging and playlist management, all behind a clean and
998 light user interface.")
999 (home-page "https://www.gnu.org/software/emms/")
1000 (license license:gpl3+)))
1001
1002 (define-public emacs-emms-player-mpv
1003 (package
1004 (name "emacs-emms-player-mpv")
1005 (version "0.0.10")
1006 (source
1007 (origin
1008 (method url-fetch)
1009 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
1010 version ".tar.gz"))
1011 (file-name (string-append name "-" version ".tar.gz"))
1012 (sha256
1013 (base32
1014 "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq"))))
1015 (build-system emacs-build-system)
1016 (propagated-inputs
1017 `(("emms" ,emms)))
1018 (home-page "https://github.com/dochang/emms-player-mpv/")
1019 (synopsis "Mpv support for EMMS")
1020 (description
1021 "This package provides an EMMS player that uses mpv. It supports pause
1022 and seeking.")
1023 (license license:gpl3+)))
1024
1025 (define-public emacs-emms-mode-line-cycle
1026 (package
1027 (name "emacs-emms-mode-line-cycle")
1028 (version "0.2.5")
1029 (source
1030 (origin
1031 (method url-fetch)
1032 (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
1033 "/archive/" version ".tar.gz"))
1034 (file-name (string-append name "-" version ".tar.gz"))
1035 (sha256
1036 (base32
1037 "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
1038 (build-system emacs-build-system)
1039 (propagated-inputs
1040 `(("emms" ,emms)))
1041 (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
1042 (synopsis "Display the EMMS mode line as a ticker")
1043 (description
1044 "This is a minor mode for updating the EMMS mode-line string cyclically
1045 within a specified width. It is useful for displaying long track titles.")
1046 (license license:gpl3+)))
1047
1048 \f
1049 ;;;
1050 ;;; Miscellaneous.
1051 ;;;
1052
1053 (define-public bbdb
1054 (package
1055 (name "bbdb")
1056 (version "3.1.2")
1057 (source (origin
1058 (method url-fetch)
1059 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1060 version ".tar.gz"))
1061 (sha256
1062 (base32
1063 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1064 (modules '((guix build utils)))
1065 (snippet
1066 ;; We don't want to build and install the PDF.
1067 '(substitute* "doc/Makefile.in"
1068 (("^doc_DATA = .*$")
1069 "doc_DATA =\n")))))
1070 (build-system gnu-build-system)
1071 (arguments
1072 '(#:phases (alist-cons-after
1073 'install 'post-install
1074 (lambda* (#:key outputs #:allow-other-keys)
1075 ;; Add an autoloads file with the right name for guix.el.
1076 (let* ((out (assoc-ref outputs "out"))
1077 (site (string-append out "/share/emacs/site-lisp")))
1078 (with-directory-excursion site
1079 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
1080 %standard-phases)))
1081 (native-inputs `(("emacs" ,emacs-minimal)))
1082 (home-page "http://savannah.nongnu.org/projects/bbdb/")
1083 (synopsis "Contact management utility for Emacs")
1084 (description
1085 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1086 an address book for email and snail mail addresses, phone numbers and the
1087 like. It can be linked with various Emacs mail clients (Message and Mail
1088 mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
1089 (license license:gpl3+)))
1090
1091 (define-public emacs-aggressive-indent
1092 (package
1093 (name "emacs-aggressive-indent")
1094 (version "1.8.3")
1095 (source (origin
1096 (method url-fetch)
1097 (uri (string-append "https://elpa.gnu.org/packages/"
1098 "aggressive-indent-" version ".el"))
1099 (sha256
1100 (base32
1101 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1102 (build-system emacs-build-system)
1103 (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1104 (synopsis "Minor mode to aggressively keep your code always indented")
1105 (description
1106 "@code{aggressive-indent-mode} is a minor mode that keeps your code
1107 always indented. It reindents after every change, making it more reliable
1108 than @code{electric-indent-mode}.")
1109 (license license:gpl2+)))
1110
1111 (define-public emacs-ag
1112 (package
1113 (name "emacs-ag")
1114 (version "0.47")
1115 (source (origin
1116 (method url-fetch)
1117 (uri (string-append
1118 "https://github.com/Wilfred/ag.el/archive/"
1119 version ".tar.gz"))
1120 (file-name (string-append name "-" version ".tar.gz"))
1121 (sha256
1122 (base32
1123 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1124 (build-system emacs-build-system)
1125 (arguments
1126 `(#:phases
1127 (modify-phases %standard-phases
1128 (add-before 'install 'patch-exec-paths
1129 (lambda* (#:key inputs #:allow-other-keys)
1130 (emacs-substitute-variables "ag.el"
1131 ("ag-executable"
1132 (string-append (assoc-ref inputs "the-silver-searcher")
1133 "/bin/ag")))
1134 #t))
1135 (add-before 'install 'make-info
1136 (lambda _
1137 (with-directory-excursion "docs"
1138 (zero? (system* "make" "info")))))
1139 (add-after 'install 'install-info
1140 (lambda* (#:key outputs #:allow-other-keys)
1141 (let* ((out (assoc-ref outputs "out"))
1142 (info (string-append out "/share/info")))
1143 (install-file "docs/_build/texinfo/agel.info" info)
1144 #t))))))
1145 (inputs
1146 `(("the-silver-searcher" ,the-silver-searcher)))
1147 (native-inputs
1148 `(("python-sphinx" ,python-sphinx)
1149 ("texinfo" ,texinfo)))
1150 (propagated-inputs
1151 `(("dash" ,emacs-dash)
1152 ("s" ,emacs-s)))
1153 (home-page "https://github.com/Wilfred/ag.el")
1154 (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1155 (description "This package provides the ability to use the silver
1156 searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
1157 include version control system awareness, use of Perl compatible regular
1158 expressions, editing the search results directly and searching file names
1159 rather than the contents of files.")
1160 (license license:gpl3+)))
1161
1162 (define-public emacs-async
1163 (package
1164 (name "emacs-async")
1165 (version "1.9")
1166 (source (origin
1167 (method url-fetch)
1168 (uri (string-append "https://elpa.gnu.org/packages/async-"
1169 version ".tar"))
1170 (sha256
1171 (base32
1172 "1ip5nc8xyln5szvqwp6wqva9xr84pn8ssn3nnphrszr19y4js2bm"))))
1173 (build-system emacs-build-system)
1174 (home-page "https://elpa.gnu.org/packages/async.html")
1175 (synopsis "Asynchronous processing in Emacs")
1176 (description
1177 "This package provides the ability to call asynchronous functions and
1178 processes. For example, it can be used to run dired commands (for copying,
1179 moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1180 as a library for other Emacs packages.")
1181 (license license:gpl3+)))
1182
1183 (define-public emacs-auctex
1184 (package
1185 (name "emacs-auctex")
1186 (version "11.90.0")
1187 (source
1188 (origin
1189 (method url-fetch)
1190 (uri (string-append
1191 "https://elpa.gnu.org/packages/auctex-"
1192 version
1193 ".tar"))
1194 (sha256
1195 (base32
1196 "04nsndwcf0dimgc2p1yzzrymc36amzdnjg0158nxplmjkzdp28gy"))))
1197 (build-system emacs-build-system)
1198 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1199 ;; ('emacs-minimal' does not provide dbus).
1200 (arguments `(#:emacs ,emacs))
1201 (native-inputs
1202 `(("perl" ,perl)))
1203 (home-page "https://www.gnu.org/software/auctex/")
1204 (synopsis "Integrated environment for TeX")
1205 (description
1206 "AUCTeX is a comprehensive customizable integrated environment for
1207 writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1208 or XEmacs.")
1209 (license license:gpl3+)))
1210
1211 (define-public emacs-calfw
1212 (package
1213 (name "emacs-calfw")
1214 (version "1.5")
1215 (source
1216 (origin
1217 (method url-fetch)
1218 (uri (string-append
1219 "https://github.com/kiwanami/emacs-calfw/archive/v"
1220 version ".tar.gz"))
1221 (file-name (string-append name "-" version ".tar.gz"))
1222 (sha256
1223 (base32
1224 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1225 (build-system emacs-build-system)
1226 (home-page "https://github.com/kiwanami/emacs-calfw/")
1227 (synopsis "Calendar framework for Emacs")
1228 (description
1229 "This package displays a calendar view with various shedule data in
1230 the Emacs buffer.")
1231 (license license:gpl3+)))
1232
1233 (define-public emacs-google-maps
1234 (package
1235 (name "emacs-google-maps")
1236 (version "1.0.0")
1237 (source (origin
1238 (method url-fetch)
1239 (uri (string-append "https://github.com/jd/google-maps.el/"
1240 "archive/" version ".tar.gz"))
1241 (file-name (string-append name "-" version ".tar.gz"))
1242 (sha256
1243 (base32
1244 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1245 (build-system emacs-build-system)
1246 (home-page "https://github.com/jd/google-maps.el")
1247 (synopsis "Access Google Maps from Emacs")
1248 (description "The @code{google-maps} package allows to display Google
1249 Maps directly inside Emacs.")
1250 (license license:gpl3+)))
1251
1252 (define-public emacs-mmm-mode
1253 (package
1254 (name "emacs-mmm-mode")
1255 (version "0.5.4")
1256 (source
1257 (origin
1258 (method url-fetch)
1259 (uri (string-append
1260 "https://github.com/purcell/mmm-mode/archive/"
1261 version ".tar.gz"))
1262 (file-name (string-append name "-" version ".tar.gz"))
1263 (sha256
1264 (base32
1265 "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
1266 (build-system gnu-build-system)
1267 (arguments
1268 '(#:phases
1269 (modify-phases %standard-phases
1270 (add-after 'unpack 'autogen
1271 (lambda _
1272 (zero? (system* "sh" "autogen.sh")))))))
1273 (native-inputs
1274 `(("autoconf" ,autoconf)
1275 ("automake" ,automake)
1276 ("emacs" ,emacs-minimal)
1277 ("texinfo" ,texinfo)))
1278 (home-page "https://github.com/purcell/mmm-mode")
1279 (synopsis "Allow multiple major modes in an Emacs buffer")
1280 (description
1281 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
1282 single buffer.")
1283 (license license:gpl3+)))
1284
1285 (define-public emacs-pdf-tools
1286 (package
1287 (name "emacs-pdf-tools")
1288 (version "0.70")
1289 (source (origin
1290 (method url-fetch)
1291 (uri (string-append
1292 "https://github.com/politza/pdf-tools/archive/v"
1293 version ".tar.gz"))
1294 (file-name (string-append name "-" version ".tar.gz"))
1295 (sha256
1296 (base32
1297 "1m0api6wiawswyk46bdsyk6r5rg3b86a4paar6nassm6x6c6vr77"))))
1298 (build-system gnu-build-system)
1299 (arguments
1300 `(#:tests? #f ; there are no tests
1301 #:modules ((guix build gnu-build-system)
1302 ((guix build emacs-build-system) #:prefix emacs:)
1303 (guix build utils)
1304 (guix build emacs-utils))
1305 #:imported-modules (,@%gnu-build-system-modules
1306 (guix build emacs-build-system)
1307 (guix build emacs-utils))
1308 #:phases
1309 (modify-phases %standard-phases
1310 ;; Build server side using 'gnu-build-system'.
1311 (add-after 'unpack 'enter-server-dir
1312 (lambda _ (chdir "server") #t))
1313 (add-before 'configure 'autogen
1314 (lambda _
1315 (zero? (system* "bash" "autogen.sh"))))
1316
1317 ;; Build emacs side using 'emacs-build-system'.
1318 (add-after 'compress-documentation 'enter-lisp-dir
1319 (lambda _ (chdir "../lisp") #t))
1320 (add-after 'enter-lisp-dir 'emacs-patch-variables
1321 (lambda* (#:key outputs #:allow-other-keys)
1322 ;; Set path to epdfinfo program.
1323 (emacs-substitute-variables "pdf-info.el"
1324 ("pdf-info-epdfinfo-program"
1325 (string-append (assoc-ref outputs "out")
1326 "/bin/epdfinfo")))
1327 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1328 ;; upgrading" that pdf-tools tries to perform.
1329 (emacs-substitute-variables "pdf-tools.el"
1330 ("pdf-tools-handle-upgrades" '()))))
1331 (add-after 'emacs-patch-variables 'emacs-install
1332 (assoc-ref emacs:%standard-phases 'install))
1333 (add-after 'emacs-install 'emacs-build
1334 (assoc-ref emacs:%standard-phases 'build))
1335 (add-after 'emacs-install 'emacs-make-autoloads
1336 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
1337 (native-inputs `(("autoconf" ,autoconf)
1338 ("automake" ,automake)
1339 ("pkg-config" ,pkg-config)
1340 ("emacs" ,emacs-minimal)))
1341 (propagated-inputs
1342 `(("let-alist" ,let-alist)))
1343 (inputs `(("poppler" ,poppler)
1344 ("cairo" ,cairo)
1345 ("glib" ,glib)
1346 ("libpng" ,libpng)
1347 ("zlib" ,zlib)))
1348 (synopsis "Emacs support library for PDF files")
1349 (description
1350 "PDF Tools is, among other things, a replacement of DocView for PDF
1351 files. The key difference is that pages are not pre-rendered by
1352 e.g. ghostscript and stored in the file-system, but rather created on-demand
1353 and stored in memory.")
1354 (home-page "https://github.com/politza/pdf-tools")
1355 (license license:gpl3+)))
1356
1357 (define-public emacs-dash
1358 (package
1359 (name "emacs-dash")
1360 (version "2.13.0")
1361 (source (origin
1362 (method url-fetch)
1363 (uri (string-append
1364 "https://github.com/magnars/dash.el/archive/"
1365 version ".tar.gz"))
1366 (file-name (string-append name "-" version ".tar.gz"))
1367 (sha256
1368 (base32
1369 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
1370 (build-system emacs-build-system)
1371 (arguments
1372 `(#:phases
1373 (modify-phases %standard-phases
1374 (add-before 'install 'check
1375 (lambda _
1376 (zero? (system* "./run-tests.sh")))))))
1377 (home-page "https://github.com/magnars/dash.el")
1378 (synopsis "Modern list library for Emacs")
1379 (description "This package provides a modern list API library for Emacs.")
1380 (license license:gpl3+)))
1381
1382 (define-public emacs-bui
1383 (package
1384 (name "emacs-bui")
1385 (version "1.1.0")
1386 (source (origin
1387 (method url-fetch)
1388 (uri (string-append
1389 "https://github.com/alezost/bui.el/archive/v"
1390 version ".tar.gz"))
1391 (file-name (string-append name "-" version ".tar.gz"))
1392 (sha256
1393 (base32
1394 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
1395 (build-system emacs-build-system)
1396 (propagated-inputs
1397 `(("dash" ,emacs-dash)))
1398 (home-page "https://github.com/alezost/bui.el")
1399 (synopsis "Buffer interface library for Emacs")
1400 (description
1401 "BUI (Buffer User Interface) is a library for making @code{list} and
1402 @code{info} interfaces to display an arbitrary data of the same
1403 type, for example: packages, buffers, files, etc.")
1404 (license license:gpl3+)))
1405
1406 (define-public emacs-guix
1407 (package
1408 (name "emacs-guix")
1409 (version "0.3.1")
1410 (source (origin
1411 (method url-fetch)
1412 (uri (string-append "https://github.com/alezost/guix.el"
1413 "/releases/download/v" version
1414 "/emacs-guix-" version ".tar.gz"))
1415 (sha256
1416 (base32
1417 "0s7s90rfba8ccbilbvmbcwn4qp4m0jv9y58xq8avm39cygmjgyxz"))))
1418 (build-system gnu-build-system)
1419 (arguments
1420 `(#:configure-flags
1421 (let ((guix (assoc-ref %build-inputs "guix"))
1422 (geiser (assoc-ref %build-inputs "geiser"))
1423 (dash (assoc-ref %build-inputs "dash"))
1424 (bui (assoc-ref %build-inputs "bui"))
1425 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1426 (site-lisp "/share/emacs/site-lisp"))
1427 (list (string-append "--with-guix-site-dir="
1428 (car (find-files (string-append guix
1429 "/share/guile/site")
1430 (lambda (file stat)
1431 (string-prefix?
1432 "2."
1433 (basename file)))
1434 #:directories? #t)))
1435 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1436 (string-append "--with-dash-lispdir="
1437 dash site-lisp "/guix.d/dash-"
1438 ,(package-version emacs-dash))
1439 (string-append "--with-bui-lispdir="
1440 bui site-lisp "/guix.d/bui-"
1441 ,(package-version emacs-bui))
1442 (string-append "--with-popup-lispdir="
1443 magit-popup site-lisp "/guix.d/magit-popup-"
1444 ,(package-version emacs-magit-popup))))))
1445 (native-inputs
1446 `(("pkg-config" ,pkg-config)
1447 ("emacs" ,emacs-minimal)))
1448 (inputs
1449 `(("guile" ,guile-2.0)
1450 ("guix" ,guix)))
1451 (propagated-inputs
1452 `(("geiser" ,geiser)
1453 ("dash" ,emacs-dash)
1454 ("bui" ,emacs-bui)
1455 ("magit-popup" ,emacs-magit-popup)))
1456 (home-page "https://alezost.github.io/guix.el/")
1457 (synopsis "Emacs interface for GNU Guix")
1458 (description
1459 "Emacs-Guix provides a visual interface, tools and features for the GNU
1460 Guix package manager. Particularly, it allows you to do various package
1461 management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1462 @code{M-x guix-help} command.")
1463 (license license:gpl3+)))
1464
1465 (define-public emacs-d-mode
1466 (package
1467 (name "emacs-d-mode")
1468 (version "2.0.8")
1469 (source (origin
1470 (method url-fetch)
1471 (uri (string-append
1472 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1473 "archive/" version ".tar.gz"))
1474 (sha256
1475 (base32
1476 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1477 (build-system emacs-build-system)
1478 (propagated-inputs
1479 `(("emacs-undercover" ,emacs-undercover)))
1480 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1481 (synopsis "Emacs major mode for editing D code")
1482 (description "This package provides an Emacs major mode for highlighting
1483 code written in the D programming language. This mode is currently known to
1484 work with Emacs 24 and 25.")
1485 (license license:gpl2+)))
1486
1487 (define-public emacs-keyfreq
1488 (package
1489 (name "emacs-keyfreq")
1490 (version "20160516.716")
1491 (source
1492 (origin
1493 (method url-fetch)
1494 (uri (string-append "http://melpa.org/packages/keyfreq-"
1495 version ".el"))
1496 (sha256
1497 (base32
1498 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1499 (build-system emacs-build-system)
1500 (home-page "https://github.com/dacap/keyfreq")
1501 (synopsis "Track Emacs command frequencies")
1502 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1503 a command.")
1504 (license license:gpl3+)))
1505
1506 (define-public emacs-undo-tree
1507 (package
1508 (name "emacs-undo-tree")
1509 (version "0.6.4")
1510 (source (origin
1511 (method git-fetch)
1512 (uri (git-reference
1513 (url "http://dr-qubit.org/git/undo-tree.git")
1514 (commit "release/0.6.4")))
1515 (file-name (string-append name "-" version "-checkout"))
1516 (sha256
1517 (base32
1518 "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
1519 (build-system emacs-build-system)
1520 (home-page "http://www.dr-qubit.org/emacs.php")
1521 (synopsis "Treat undo history as a tree")
1522 (description "Tree-like interface to Emacs undo system, providing
1523 graphical tree presentation of all previous states of buffer that
1524 allows easily move between them.")
1525 (license license:gpl3+)))
1526
1527 (define-public emacs-s
1528 (package
1529 (name "emacs-s")
1530 (version "1.11.0")
1531 (source (origin
1532 (method url-fetch)
1533 (uri (string-append
1534 "https://github.com/magnars/s.el/archive/"
1535 version ".tar.gz"))
1536 (file-name (string-append name "-" version ".tar.gz"))
1537 (sha256
1538 (base32
1539 "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
1540 (build-system emacs-build-system)
1541 (arguments
1542 `(#:phases
1543 (modify-phases %standard-phases
1544 (add-before 'install 'check
1545 (lambda _
1546 (zero? (system* "./run-tests.sh")))))))
1547 (home-page "https://github.com/magnars/s.el")
1548 (synopsis "Emacs string manipulation library")
1549 (description "This package provides an Emacs library for manipulating
1550 strings.")
1551 (license license:gpl3+)))
1552
1553 (define-public emacs-symon
1554 (package
1555 (name "emacs-symon")
1556 (version "20160630")
1557 (source
1558 (origin
1559 (method url-fetch)
1560 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1561 version ".tar.gz"))
1562 (file-name (string-append name "-" version ".tar.gz"))
1563 (sha256
1564 (base32
1565 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
1566 (build-system emacs-build-system)
1567 (home-page "https://github.com/zk-phi/symon")
1568 (synopsis "Tiny graphical system monitor")
1569 (description
1570 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1571 (license license:gpl2+)))
1572
1573 (define-public emacs-sx
1574 (package
1575 (name "emacs-sx")
1576 (version "0.4")
1577 (source (origin
1578 (method url-fetch)
1579 (uri (string-append "https://github.com/vermiculus/sx.el/"
1580 "archive/v" version ".tar.gz"))
1581 (file-name (string-append name "-" version ".tar.gz"))
1582 (sha256
1583 (base32
1584 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1585 (build-system emacs-build-system)
1586 (propagated-inputs
1587 `(("emacs-markdown-mode" ,emacs-markdown-mode)
1588 ("let-alist" ,let-alist)))
1589 (home-page "https://github.com/vermiculus/sx.el/")
1590 (synopsis "Emacs StackExchange client")
1591 (description
1592 "Emacs StackExchange client. Ask and answer questions on
1593 Stack Overflow, Super User, and other StackExchange sites.")
1594 (license license:gpl3+)))
1595
1596 (define-public emacs-f
1597 (package
1598 (name "emacs-f")
1599 (version "0.18.2")
1600 (source (origin
1601 (method url-fetch)
1602 (uri (string-append
1603 "https://github.com/rejeep/f.el/archive/v"
1604 version ".tar.gz"))
1605 (file-name (string-append name "-" version ".tar.gz"))
1606 (sha256
1607 (base32
1608 "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
1609 (build-system emacs-build-system)
1610 (propagated-inputs
1611 `(("emacs-s" ,emacs-s)
1612 ("emacs-dash" ,emacs-dash)))
1613 (home-page "https://github.com/rejeep/f.el")
1614 (synopsis "Emacs API for working with files and directories")
1615 (description "This package provides an Emacs library for working with
1616 files and directories.")
1617 (license license:gpl3+)))
1618
1619 (define-public emacs-git-gutter
1620 (package
1621 (name "emacs-git-gutter")
1622 (version "0.90")
1623 (source (origin
1624 (method url-fetch)
1625 (uri (string-append
1626 "https://github.com/syohex/" name "/archive/"
1627 version ".tar.gz"))
1628 (file-name (string-append name "-" version ".tar.gz"))
1629 (sha256
1630 (base32
1631 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1632 (build-system emacs-build-system)
1633 (home-page "https://github.com/syohex/emacs-git-gutter")
1634 (synopsis "See and manage hunks of text in a version control system")
1635 (description
1636 "This package is an Emacs minor mode for displaying and interacting with
1637 hunks of text managed in a version control system. Added modified and deleted
1638 areas can be indicated with symbols on the edge of the buffer, and commands
1639 can be used to move between and perform actions on these hunks.
1640
1641 Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1642 display and behaviour is easily customisable.")
1643 (license license:gpl3+)))
1644
1645 (define-public emacs-git-timemachine
1646 (package
1647 (name "emacs-git-timemachine")
1648 (version "3.0")
1649 (source
1650 (origin
1651 (method url-fetch)
1652 (uri (string-append "https://github.com/pidu/git-timemachine/"
1653 "archive/" version ".tar.gz"))
1654 (file-name (string-append name "-" version ".tar.gz"))
1655 (sha256
1656 (base32
1657 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1658 (build-system emacs-build-system)
1659 (home-page "https://github.com/pidu/git-timemachine")
1660 (synopsis "Step through historic versions of Git-controlled files")
1661 (description "This package enables you to step through historic versions
1662 of files under Git version control from within Emacs.")
1663 (license license:gpl3+)))
1664
1665 (define-public emacs-el-mock
1666 (package
1667 (name "emacs-el-mock")
1668 (version "1.25.1")
1669 (source
1670 (origin
1671 (method url-fetch)
1672 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1673 "archive/v" version ".tar.gz"))
1674 (file-name (string-append name "-" version ".tar.gz"))
1675 (sha256
1676 (base32
1677 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1678 (build-system emacs-build-system)
1679 (home-page "https://github.com/rejeep/el-mock.el")
1680 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1681 (description
1682 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1683 syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1684 Expectations, but it can be used in other contexts.")
1685 (license license:gpl3+)))
1686
1687 (define-public emacs-espuds
1688 (package
1689 (name "emacs-espuds")
1690 (version "0.3.3")
1691 (source
1692 (origin
1693 (method url-fetch)
1694 (uri (string-append "https://github.com/ecukes/espuds/"
1695 "archive/v" version ".tar.gz"))
1696 (file-name (string-append name "-" version ".tar.gz"))
1697 (sha256
1698 (base32
1699 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1700 (build-system emacs-build-system)
1701 (propagated-inputs
1702 `(("emacs-s" ,emacs-s)
1703 ("emacs-dash" ,emacs-dash)
1704 ("emacs-f" ,emacs-f)))
1705 (home-page "https://github.com/ecukes/espuds")
1706 (synopsis "Common step definitions for Ecukes")
1707 (description "Espuds is a collection of the most commonly used step
1708 definitions for testing with the Ecukes framework.")
1709 (license license:gpl3+)))
1710
1711 (define-public emacs-es-mode
1712 (package
1713 (name "emacs-es-mode")
1714 (version "4.2.0")
1715 (source (origin
1716 (method url-fetch)
1717 (uri (string-append
1718 "https://github.com/dakrone/es-mode/archive/"
1719 version ".tar.gz"))
1720 (file-name (string-append name "-" version ".tar.gz"))
1721 (sha256
1722 (base32
1723 "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
1724 (build-system emacs-build-system)
1725 (propagated-inputs
1726 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1727 ;; to be rendered incorrectly
1728 `(("emacs-org" ,emacs-org)))
1729 (home-page "https://github.com/dakrone/es-mode")
1730 (synopsis "Major mode for editing Elasticsearch queries")
1731 (description "@code{es-mode} includes highlighting, completion and
1732 indentation support for Elasticsearch queries. Also supported are
1733 @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1734 be processed through @code{jq}, or in the case of aggregations, can be
1735 rendered in to a table. In addition, there is an @code{es-command-center}
1736 mode, which displays information about Elasticsearch clusters.")
1737 (license license:gpl3+)))
1738
1739 (define-public emacs-expand-region
1740 (package
1741 (name "emacs-expand-region")
1742 (version "0.11.0")
1743 (source
1744 (origin
1745 (method url-fetch)
1746 (uri (string-append "https://github.com/magnars/expand-region.el"
1747 "/archive/" version ".tar.gz"))
1748 (file-name (string-append name "-" version ".tar.gz"))
1749 (sha256
1750 (base32
1751 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
1752 (build-system emacs-build-system)
1753 (home-page "https://github.com/magnars/expand-region.el")
1754 (synopsis "Increase selected region by semantic units")
1755 (description
1756 "Expand region increases the selected region by semantic units. Just
1757 keep pressing the key until it selects what you want. There's also
1758 @code{er/contract-region} if you expand too far.")
1759 (license license:gpl3+)))
1760
1761 (define-public emacs-fill-column-indicator
1762 (package
1763 (name "emacs-fill-column-indicator")
1764 (version "1.81")
1765 (source
1766 (origin
1767 (method url-fetch)
1768 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1769 "/archive/v" version ".tar.gz"))
1770 (file-name (string-append name "-" version ".tar.gz"))
1771 (sha256
1772 (base32
1773 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
1774 (build-system emacs-build-system)
1775 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
1776 (synopsis "Graphically indicate the fill column")
1777 (description
1778 "Fill-column-indicator graphically indicates the location of the fill
1779 column by drawing a thin line down the length of the editing window.")
1780 (license license:gpl3+)))
1781
1782 (define-public emacs-znc
1783 (package
1784 (name "emacs-znc")
1785 (version "0.0.2")
1786 (source
1787 (origin
1788 (method url-fetch)
1789 (uri (string-append "https://marmalade-repo.org/packages/znc-"
1790 version ".el"))
1791 (sha256
1792 (base32
1793 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
1794 (build-system emacs-build-system)
1795 (home-page "https://github.com/sshirokov/ZNC.el")
1796 (synopsis "Make ERC and ZNC get along better")
1797 (description
1798 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
1799 IRC bouncer with ERC.")
1800 (license license:expat)))
1801
1802 (define-public emacs-shut-up
1803 (package
1804 (name "emacs-shut-up")
1805 (version "0.3.2")
1806 (source
1807 (origin
1808 (method url-fetch)
1809 (uri (string-append "https://github.com/cask/shut-up/"
1810 "archive/v" version ".tar.gz"))
1811 (file-name (string-append name "-" version ".tar.gz"))
1812 (sha256
1813 (base32
1814 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
1815 (build-system emacs-build-system)
1816 (home-page "https://github.com/cask/shut-up")
1817 (synopsis "Silence Emacs")
1818 (description "This package silences most output of Emacs when running an
1819 Emacs shell script.")
1820 (license license:expat)))
1821
1822 (define-public emacs-undercover
1823 (package
1824 (name "emacs-undercover")
1825 (version "0.6.0")
1826 (source
1827 (origin
1828 (method url-fetch)
1829 (uri (string-append "https://github.com/sviridov/undercover.el/"
1830 "archive/v" version ".tar.gz"))
1831 (file-name (string-append name "-" version ".tar.gz"))
1832 (sha256
1833 (base32
1834 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
1835 (build-system emacs-build-system)
1836 (propagated-inputs
1837 `(("emacs-dash" ,emacs-dash)
1838 ("emacs-shut-up" ,emacs-shut-up)))
1839 (home-page "https://github.com/sviridov/undercover.el")
1840 (synopsis "Test coverage library for Emacs Lisp")
1841 (description
1842 "Undercover is a test coverage library for software written in Emacs
1843 Lisp.")
1844 (license license:expat)))
1845
1846 (define-public emacs-paren-face
1847 (package
1848 (name "emacs-paren-face")
1849 (version "1.0.0")
1850 (source
1851 (origin
1852 (method url-fetch)
1853 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
1854 version ".tar.gz"))
1855 (file-name (string-append name "-" version ".tar.gz"))
1856 (sha256
1857 (base32
1858 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
1859 (build-system emacs-build-system)
1860 (home-page "https://github.com/tarsius/paren-face")
1861 (synopsis "Face for parentheses in lisp modes")
1862 (description
1863 "This library defines a face named @code{parenthesis} used just for
1864 parentheses. The intended purpose of this face is to make parentheses less
1865 visible in Lisp code by dimming them. Lispers probably don't need to be
1866 constantly made aware of the existence of the parentheses. Dimming them might
1867 be even more useful for people new to lisp who have not yet learned to
1868 subconsciously blend out the parentheses.")
1869 (license license:gpl3+)))
1870
1871 (define-public emacs-page-break-lines
1872 (package
1873 (name "emacs-page-break-lines")
1874 (version "0.11")
1875 (source
1876 (origin
1877 (method url-fetch)
1878 (uri (string-append "https://github.com/purcell/page-break-lines/"
1879 "archive/" version ".tar.gz"))
1880 (file-name (string-append name "-" version ".tar.gz"))
1881 (sha256
1882 (base32
1883 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
1884 (build-system emacs-build-system)
1885 (home-page "https://github.com/purcell/page-break-lines")
1886 (synopsis "Display page breaks as tidy horizontal lines")
1887 (description
1888 "This library provides a global mode which displays form feed characters
1889 as horizontal rules.")
1890 (license license:gpl3+)))
1891
1892 (define-public emacs-simple-httpd
1893 (package
1894 (name "emacs-simple-httpd")
1895 (version "1.4.6")
1896 (source
1897 (origin
1898 (method url-fetch)
1899 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
1900 "archive/" version ".tar.gz"))
1901 (file-name (string-append name "-" version ".tar.gz"))
1902 (sha256
1903 (base32
1904 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
1905 (build-system emacs-build-system)
1906 (home-page "https://github.com/skeeto/emacs-http-server")
1907 (synopsis "HTTP server in pure Emacs Lisp")
1908 (description
1909 "This package provides a simple HTTP server written in Emacs Lisp to
1910 serve files and directory listings.")
1911 (license license:unlicense)))
1912
1913 (define-public emacs-skewer-mode
1914 (package
1915 (name "emacs-skewer-mode")
1916 (version "1.6.2")
1917 (source
1918 (origin
1919 (method url-fetch)
1920 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
1921 version ".tar.gz"))
1922 (file-name (string-append name "-" version ".tar.gz"))
1923 (sha256
1924 (base32
1925 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
1926 (build-system emacs-build-system)
1927 (propagated-inputs
1928 `(("emacs-simple-httpd" ,emacs-simple-httpd)
1929 ("emacs-js2-mode" ,emacs-js2-mode)))
1930 (home-page "https://github.com/skeeto/skewer-mode")
1931 (synopsis "Live web development in Emacs")
1932 (description
1933 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
1934 a web browser. Expressions are sent on-the-fly from an editing buffer to be
1935 evaluated in the browser, just like Emacs does with an inferior Lisp process
1936 in Lisp modes.")
1937 (license license:unlicense)))
1938
1939 (define-public emacs-stripe-buffer
1940 (package
1941 (name "emacs-stripe-buffer")
1942 (version "0.2.5")
1943 (source
1944 (origin
1945 (method url-fetch)
1946 (uri (string-append "https://github.com/sabof/stripe-buffer/"
1947 "archive/" version ".tar.gz"))
1948 (file-name (string-append name "-" version ".tar.gz"))
1949 (sha256
1950 (base32
1951 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
1952 (build-system emacs-build-system)
1953 (home-page "https://github.com/sabof/stripe-buffer/")
1954 (synopsis "Add stripes to list buffers")
1955 (description
1956 "This Emacs package adds faces to add stripes to list buffers and org
1957 tables.")
1958 (license license:gpl2+)))
1959
1960 (define-public emacs-rich-minority
1961 (package
1962 (name "emacs-rich-minority")
1963 (version "1.0.1")
1964 (source
1965 (origin
1966 (method url-fetch)
1967 (uri (string-append "https://github.com/Malabarba/rich-minority/"
1968 "archive/" version ".tar.gz"))
1969 (file-name (string-append name "-" version ".tar.gz"))
1970 (sha256
1971 (base32
1972 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
1973 (build-system emacs-build-system)
1974 (home-page "https://github.com/Malabarba/rich-minority")
1975 (synopsis "Clean-up and beautify the list of minor modes")
1976 (description
1977 "This Emacs package hides and/or highlights minor modes in the
1978 mode-line.")
1979 (license license:gpl2+)))
1980
1981 (define-public emacs-smart-mode-line
1982 (package
1983 (name "emacs-smart-mode-line")
1984 (version "2.10.1")
1985 (source
1986 (origin
1987 (method url-fetch)
1988 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
1989 "archive/" version ".tar.gz"))
1990 (file-name (string-append name "-" version ".tar.gz"))
1991 (sha256
1992 (base32
1993 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
1994 (build-system emacs-build-system)
1995 (propagated-inputs
1996 `(("emacs-rich-minority" ,emacs-rich-minority)))
1997 (home-page "https://github.com/Malabarba/smart-mode-line")
1998 (synopsis "Color-coded smart mode-line")
1999 (description
2000 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
2001 read from small to large monitors by using colors, a prefix feature, and smart
2002 truncation.")
2003 (license license:gpl2+)))
2004
2005 (define-public emacs-shell-switcher
2006 (package
2007 (name "emacs-shell-switcher")
2008 (version "1.0.1")
2009 (source
2010 (origin
2011 (method url-fetch)
2012 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2013 "/archive/v" version ".tar.gz"))
2014 (file-name (string-append name "-" version ".tar.gz"))
2015 (sha256
2016 (base32
2017 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2018 (build-system emacs-build-system)
2019 (home-page "https://github.com/DamienCassou/shell-switcher")
2020 (synopsis "Provide fast switching between shell buffers")
2021 (description
2022 "This package provides commands to quickly switch between shell buffers.")
2023 (license license:gpl3+)))
2024
2025 (define-public emacs-ob-ipython
2026 (package
2027 (name "emacs-ob-ipython")
2028 (version "20150704.8807064693")
2029 (source (origin
2030 (method git-fetch)
2031 (uri (git-reference
2032 (commit "880706469338ab59b5bb7dbe8460016f89755364")
2033 (url "https://github.com/gregsexton/ob-ipython.git")))
2034 (sha256
2035 (base32
2036 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2037 (build-system emacs-build-system)
2038 (propagated-inputs
2039 `(("emacs-f" ,emacs-f)))
2040 (home-page "http://www.gregsexton.org")
2041 (synopsis "Org-Babel functions for IPython evaluation")
2042 (description "This package adds support to Org-Babel for evaluating Python
2043 source code using IPython.")
2044 (license license:gpl3+)))
2045
2046 (define-public emacs-debbugs
2047 (package
2048 (name "emacs-debbugs")
2049 (version "0.14")
2050 (source (origin
2051 (method url-fetch)
2052 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
2053 version ".tar"))
2054 (sha256
2055 (base32
2056 "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say"))))
2057 (build-system emacs-build-system)
2058 (propagated-inputs
2059 `(("emacs-async" ,emacs-async)))
2060 (home-page "https://elpa.gnu.org/packages/debbugs.html")
2061 (synopsis "Access the Debbugs bug tracker in Emacs")
2062 (description
2063 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2064 Tracker} from within Emacs.
2065
2066 For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2067 and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2068 prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2069 @code{M-x debbugs-org} and related commands.
2070
2071 A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2072 Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2073 (license license:gpl3+)))
2074
2075 (define-public emacs-deferred
2076 (package
2077 (name "emacs-deferred")
2078 (version "0.3.2")
2079 (home-page "https://github.com/kiwanami/emacs-deferred")
2080 (source (origin
2081 (method git-fetch)
2082 (uri (git-reference
2083 (url home-page)
2084 (commit (string-append "v" version))))
2085 (sha256
2086 (base32
2087 "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
2088 (file-name (string-append name "-" version))))
2089 (build-system emacs-build-system)
2090 ;; FIXME: Would need 'el-expectations' to actually run tests.
2091 (synopsis "Simple asynchronous functions for Emacs Lisp")
2092 (description
2093 "The @code{deferred.el} library provides support for asynchronous tasks.
2094 The API is almost the same as that of
2095 @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2096 for asynchronous tasks.")
2097 (license license:gpl3+)))
2098
2099 (define-public butler
2100 (package
2101 (name "emacs-butler")
2102 (version "0.2.4")
2103 (home-page "https://github.com/AshtonKem/Butler")
2104 (source (origin
2105 (method git-fetch)
2106 (uri (git-reference
2107 (url home-page)
2108 (commit version)))
2109 (sha256
2110 (base32
2111 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2112 (file-name (string-append name "-" version))))
2113 (build-system emacs-build-system)
2114 (propagated-inputs
2115 `(("emacs-deferred" ,emacs-deferred)))
2116 (synopsis "Emacs client for Jenkins")
2117 (description
2118 "Butler provides an interface to connect to Jenkins continuous
2119 integration servers. Users can specify a list of server in the
2120 @code{butler-server-list} variable and then use @code{M-x butler-status} to
2121 view the build status of those servers' build jobs, and possibly to trigger
2122 build jobs.")
2123 (license license:gpl3+)))
2124
2125 (define-public emacs-company
2126 (package
2127 (name "emacs-company")
2128 (version "0.9.3")
2129 (source
2130 (origin
2131 (method url-fetch)
2132 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2133 version ".tar.gz"))
2134 (file-name (string-append name "-" version ".tar.gz"))
2135 (sha256
2136 (base32
2137 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
2138 (build-system emacs-build-system)
2139 (arguments
2140 `(#:phases
2141 (modify-phases %standard-phases
2142 (add-before 'install 'check
2143 (lambda _
2144 ;; The company-files-candidates-normal-root test looks
2145 ;; for the /bin directory, but the build environment has
2146 ;; no /bin directory. Modify the test to look for the
2147 ;; /tmp directory.
2148 (substitute* "test/files-tests.el"
2149 (("/bin/") "/tmp/"))
2150 (zero? (system* "make" "test-batch")))))))
2151 (home-page "http://company-mode.github.io/")
2152 (synopsis "Modular text completion framework")
2153 (description
2154 "Company is a modular completion mechanism. Modules for retrieving
2155 completion candidates are called back-ends, modules for displaying them are
2156 front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2157 These are distributed in separate files and can be used individually.")
2158 (license license:gpl3+)))
2159
2160 (define-public emacs-multiple-cursors
2161 (package
2162 (name "emacs-multiple-cursors")
2163 (version "1.4.0")
2164 (source
2165 (origin
2166 (method url-fetch)
2167 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2168 "archive/" version ".tar.gz"))
2169 (file-name (string-append name "-" version ".tar.gz"))
2170 (sha256
2171 (base32
2172 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2173 (build-system emacs-build-system)
2174 (home-page "https://github.com/magnars/multiple-cursors.el")
2175 (synopsis "Multiple cursors for Emacs")
2176 (description
2177 "This package adds support to Emacs for editing text with multiple
2178 simultaneous cursors.")
2179 (license license:gpl3+)))
2180
2181 (define-public typo
2182 (package
2183 (name "emacs-typo")
2184 (version "1.1")
2185 (home-page "https://github.com/jorgenschaefer/typoel")
2186 (source (origin
2187 (method git-fetch)
2188 (uri (git-reference
2189 (url home-page)
2190 (commit (string-append "v" version))))
2191 (sha256
2192 (base32
2193 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2194 (file-name (string-append name "-" version))))
2195 (build-system emacs-build-system)
2196 (synopsis "Minor mode for typographic editing")
2197 (description
2198 "This package provides two Emacs modes, @code{typo-mode} and
2199 @code{typo-global-mode}. These modes automatically insert Unicode characters
2200 for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2201 automatically inserts a Unicode opening or closing quotation mark, depending
2202 on context.")
2203 (license license:gpl3+)))
2204
2205 (define-public emacs-scheme-complete
2206 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2207 (package
2208 (name "emacs-scheme-complete")
2209 (version (string-append "20151223." (string-take commit 8)))
2210 (source
2211 (origin
2212 (file-name (string-append name "-" version))
2213 (method git-fetch)
2214 (uri (git-reference
2215 (url "https://github.com/ashinn/scheme-complete.git")
2216 (commit commit)))
2217 (sha256
2218 (base32
2219 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2220 (patches
2221 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
2222 (build-system emacs-build-system)
2223 (home-page "https://github.com/ashinn/scheme-complete")
2224 (synopsis "Smart tab completion for Scheme in Emacs")
2225 (description
2226 "This file provides a single function, @code{scheme-smart-complete},
2227 which you can use for intelligent, context-sensitive completion for any Scheme
2228 implementation in Emacs. To use it just load this file and bind that function
2229 to a key in your preferred mode.")
2230 (license license:public-domain))))
2231
2232 (define-public emacs-mit-scheme-doc
2233 (package
2234 (name "emacs-mit-scheme-doc")
2235 (version "20140203")
2236 (source
2237 (origin
2238 (modules '((guix build utils)))
2239 (snippet
2240 ;; keep only file of interest
2241 '(begin
2242 (for-each delete-file '("dot-emacs.el" "Makefile"))
2243 (install-file "6.945-config/mit-scheme-doc.el" ".")
2244 (delete-file-recursively "6.945-config")))
2245 (file-name (string-append name "-" version ".tar.bz2"))
2246 (method url-fetch)
2247 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2248 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2249 (sha256
2250 (base32
2251 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2252 (build-system emacs-build-system)
2253 (inputs `(("mit-scheme" ,mit-scheme)))
2254 (arguments
2255 `(#:phases
2256 (modify-phases %standard-phases
2257 (add-after 'unpack 'configure-doc
2258 (lambda* (#:key inputs #:allow-other-keys)
2259 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2260 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2261 "mit-scheme-"
2262 ,(package-version mit-scheme))))
2263 (substitute* "mit-scheme-doc.el"
2264 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2265 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2266 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2267 (synopsis "MIT-Scheme documentation lookup for Emacs")
2268 (description
2269 "This package provides a set of Emacs functions to search definitions of
2270 identifiers in the MIT-Scheme documentation.")
2271 (license license:gpl2+)))
2272
2273 (define-public emacs-constants
2274 (package
2275 (name "emacs-constants")
2276 (version "2.6")
2277 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
2278 (source
2279 (origin
2280 (file-name (string-append name "-" version ".tar.gz"))
2281 (method url-fetch)
2282 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2283 "/archive/v" version ".tar.gz"))
2284 (sha256
2285 (base32
2286 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
2287 (build-system emacs-build-system)
2288 (synopsis "Enter definition of constants into an Emacs buffer")
2289 (description
2290 "This package provides functions for inserting the definition of natural
2291 constants and units into an Emacs buffer.")
2292 (license license:gpl2+)))
2293
2294 (define-public emacs-tagedit
2295 (package
2296 (name "emacs-tagedit")
2297 (version "1.4.0")
2298 (source
2299 (origin
2300 (method url-fetch)
2301 (uri (string-append "https://github.com/magnars/tagedit/"
2302 "archive/" version ".tar.gz"))
2303 (file-name (string-append name "-" version ".tar.gz"))
2304 (sha256
2305 (base32
2306 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2307 (build-system emacs-build-system)
2308 (propagated-inputs
2309 `(("emacs-s" ,emacs-s)
2310 ("emacs-dash" ,emacs-dash)))
2311 (home-page "https://github.com/magnars/tagedit")
2312 (synopsis "Some paredit-like features for html-mode")
2313 (description
2314 "This package provides a collection of paredit-like functions for editing
2315 in @code{html-mode}.")
2316 (license license:gpl3+)))
2317
2318 (define-public emacs-slime
2319 (package
2320 (name "emacs-slime")
2321 (version "2.19")
2322 (source
2323 (origin
2324 (file-name (string-append name "-" version ".tar.gz"))
2325 (method url-fetch)
2326 (uri (string-append
2327 "https://github.com/slime/slime/archive/v"
2328 version ".tar.gz"))
2329 (sha256
2330 (base32
2331 "1jhaq5cn89k45nzyl0jd12gmjxnh1bq9jlfwrxba342agxsscb0p"))))
2332 (build-system emacs-build-system)
2333 (native-inputs
2334 `(("texinfo" ,texinfo)))
2335 (arguments
2336 `(#:phases
2337 (modify-phases %standard-phases
2338 (add-before 'install 'configure
2339 (lambda* _
2340 (emacs-substitute-variables "slime.el"
2341 ("inferior-lisp-program" "sbcl"))
2342 #t))
2343 (add-before 'install 'install-doc
2344 (lambda* (#:key outputs #:allow-other-keys)
2345 (let* ((out (assoc-ref outputs "out"))
2346 (info-dir (string-append out "/share/info"))
2347 (doc-dir (string-append out "/share/doc/"
2348 ,name "-" ,version))
2349 (doc-files '("doc/slime-refcard.pdf"
2350 "README.md" "NEWS" "PROBLEMS"
2351 "CONTRIBUTING.md")))
2352 (with-directory-excursion "doc"
2353 (substitute* "Makefile"
2354 (("infodir=/usr/local/info")
2355 (string-append "infodir=" info-dir)))
2356 (system* "make" "html/index.html")
2357 (system* "make" "slime.info")
2358 (install-file "slime.info" info-dir)
2359 (copy-recursively "html" (string-append doc-dir "/html")))
2360 (for-each (lambda (f)
2361 (install-file f doc-dir)
2362 (delete-file f))
2363 doc-files)
2364 (delete-file-recursively "doc")
2365 #t))))))
2366 (home-page "https://github.com/slime/slime")
2367 (synopsis "Superior Lisp Interaction Mode for Emacs")
2368 (description
2369 "SLIME extends Emacs with support for interactive programming in
2370 Common Lisp. The features are centered around @{slime-mode}, an Emacs
2371 minor mode that complements the standard @{lisp-mode}. While lisp-mode
2372 supports editing Lisp source files, @{slime-mode} adds support for
2373 interacting with a running Common Lisp process for compilation,
2374 debugging, documentation lookup, and so on.")
2375 (license license:gpl2+)))
2376
2377 (define-public emacs-popup
2378 (package
2379 (name "emacs-popup")
2380 (version "0.5.3")
2381 (source (origin
2382 (method url-fetch)
2383 (uri (string-append
2384 "https://github.com/auto-complete/popup-el/archive/v"
2385 version ".tar.gz"))
2386 (file-name (string-append name "-" version ".tar.gz"))
2387 (sha256
2388 (base32
2389 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2390 (build-system emacs-build-system)
2391 (home-page "https://github.com/auto-complete/popup-el")
2392 (synopsis "Visual Popup User Interface for Emacs")
2393 (description
2394 "Popup.el is a visual popup user interface library for Emacs.
2395 This provides a basic API and common UI widgets such as popup tooltips
2396 and popup menus.")
2397 (license license:gpl3+)))
2398
2399 (define-public emacs-god-mode
2400 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2401 (revision "1"))
2402 (package
2403 (name "emacs-god-mode")
2404 (version (string-append "20151005.925."
2405 revision "-" (string-take commit 9)))
2406 (source
2407 (origin
2408 (method git-fetch)
2409 (uri (git-reference
2410 (url "https://github.com/chrisdone/god-mode.git")
2411 (commit commit)))
2412 (file-name (string-append name "-" version "-checkout"))
2413 (sha256
2414 (base32
2415 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2416 (build-system emacs-build-system)
2417 (home-page "https://github.com/chrisdone/god-mode")
2418 (synopsis "Minor mode for entering commands without modifier keys")
2419 (description
2420 "This package provides a global minor mode for entering Emacs commands
2421 without modifier keys. It's similar to Vim's separation of commands and
2422 insertion mode. When enabled all keys are implicitly prefixed with
2423 @samp{C-} (among other helpful shortcuts).")
2424 (license license:gpl3+))))
2425
2426 (define-public emacs-rfcview
2427 (package
2428 (name "emacs-rfcview")
2429 (version "0.13")
2430 (home-page "http://www.loveshack.ukfsn.org/emacs")
2431 (source (origin
2432 (method url-fetch)
2433 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2434 (sha256
2435 (base32
2436 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2437 (build-system emacs-build-system)
2438 (synopsis "Prettify Request for Comments (RFC) documents")
2439 (description "The Internet Engineering Task Force (IETF) and the Internet
2440 Society (ISOC) publish various Internet-related protocols and specifications
2441 as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2442 documents. RFCs and STDs are published in a simple text form. This package
2443 provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2444 read these documents in Emacs. It prettifies the text and adds
2445 hyperlinks/menus for easier navigation. It also provides functions for
2446 browsing the index of RFC documents and fetching them from remote servers or
2447 local directories.")
2448 (license license:gpl3+)))
2449
2450 (define-public emacs-ffap-rfc-space
2451 (package
2452 (name "emacs-ffap-rfc-space")
2453 (version "12")
2454 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2455 (source (origin
2456 (method url-fetch)
2457 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2458 (sha256
2459 (base32
2460 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2461 (build-system emacs-build-system)
2462 (synopsis "Make ffap recognize an RFC with a space before its number")
2463 (description "The Internet Engineering Task Force (IETF) and the
2464 Internet Society (ISOC) publish various Internet-related protocols and
2465 specifications as \"Request for Comments\" (RFC) documents. The
2466 built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2467 recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2468 and load the appropriate RFC from a remote server. However, it fails
2469 to recognize a name like \"RFC 1234\". This package enhances ffap so
2470 that it correctly finds RFCs even when a space appears before the
2471 number.")
2472 (license license:gpl3+)))
2473
2474 (define-public emacs-org-bullets
2475 (package
2476 (name "emacs-org-bullets")
2477 (version "0.2.4")
2478 (source
2479 (origin
2480 (method url-fetch)
2481 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2482 version ".tar.gz"))
2483 (file-name (string-append name "-" version ".tar.gz"))
2484 (sha256
2485 (base32
2486 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2487 (build-system emacs-build-system)
2488 (home-page "https://github.com/sabof/org-bullets")
2489 (synopsis "Show bullets in org-mode as UTF-8 characters")
2490 (description
2491 "This package provides an Emacs minor mode causing bullets in
2492 @code{org-mode} to be rendered as UTF-8 characters.")
2493 (license license:gpl3+)))
2494
2495 (define-public emacs-org-trello
2496 (package
2497 (name "emacs-org-trello")
2498 (version "0.7.9")
2499 (source (origin
2500 (method url-fetch)
2501 (uri (string-append
2502 "https://github.com/org-trello/org-trello/archive/"
2503 version ".tar.gz"))
2504 (file-name (string-append name "-" version ".tar.gz"))
2505 (sha256
2506 (base32
2507 "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
2508 (build-system emacs-build-system)
2509 (propagated-inputs
2510 `(("emacs-deferred" ,emacs-deferred)
2511 ("emacs-request" ,emacs-request)
2512 ("emacs-dash" ,emacs-dash)
2513 ("emacs-s" ,emacs-s)))
2514 (home-page "https://org-trello.github.io")
2515 (synopsis "Emacs minor mode for interacting with Trello")
2516 (description "This package provides an Emacs minor mode to extend
2517 @code{org-mode} with Trello abilities. Trello is an online project
2518 organizer.")
2519 (license license:gpl3+)))
2520
2521 (define-public emacs-zenburn-theme
2522 (package
2523 (name "emacs-zenburn-theme")
2524 (version "2.5")
2525 (source (origin
2526 (method url-fetch)
2527 (uri (string-append
2528 "https://github.com/bbatsov/zenburn-emacs/archive/v"
2529 version ".tar.gz"))
2530 (file-name (string-append name "-" version ".tar.gz"))
2531 (sha256
2532 (base32
2533 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
2534 (build-system emacs-build-system)
2535 (home-page "https://github.com/bbatsov/zenburn-emacs")
2536 (synopsis "Low contrast color theme for Emacs")
2537 (description
2538 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
2539 It is built on top of the custom theme support in Emacs 24 or later.")
2540 (license license:gpl3+)))
2541
2542 (define-public emacs-solarized-theme
2543 (package
2544 (name "emacs-solarized-theme")
2545 (version "1.2.2")
2546 (source (origin
2547 (method url-fetch)
2548 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
2549 "archive/v" version ".tar.gz"))
2550 (file-name (string-append name "-" version ".tar.gz"))
2551 (sha256
2552 (base32
2553 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
2554 (build-system emacs-build-system)
2555 (propagated-inputs
2556 `(("emacs-dash" ,emacs-dash)))
2557 (home-page "https://github.com/bbatsov/solarized-emacs")
2558 (synopsis "Port of the Solarized theme for Emacs")
2559 (description
2560 "Solarized for Emacs is a port of the Solarized theme for Vim. This
2561 package provides a light and a dark variant.")
2562 (license license:gpl3+)))
2563
2564 (define-public emacs-ahungry-theme
2565 (package
2566 (name "emacs-ahungry-theme")
2567 (version "1.3.0")
2568 (source
2569 (origin (method url-fetch)
2570 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
2571 version ".tar"))
2572 (sha256
2573 (base32
2574 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
2575 (build-system emacs-build-system)
2576 (home-page "https://github.com/ahungry/color-theme-ahungry")
2577 (synopsis "Ahungry color theme for Emacs")
2578 (description "Ahungry theme for Emacs provides bright and bold colors.
2579 If you load it from a terminal, you will be able to make use of the
2580 transparent background. If you load it from a GUI, it will default to a
2581 dark background.")
2582 (license license:gpl3+)))
2583
2584 (define-public emacs-smartparens
2585 (package
2586 (name "emacs-smartparens")
2587 (version "1.9.0")
2588 (source (origin
2589 (method url-fetch)
2590 (uri (string-append
2591 "https://github.com/Fuco1/smartparens/archive/"
2592 version ".tar.gz"))
2593 (file-name (string-append name "-" version ".tar.gz"))
2594 (sha256
2595 (base32
2596 "12065r7h1s9v8lnq5mk3654dkw4cq60ky8aniqq5n2ivv6qd2d4q"))))
2597 (build-system emacs-build-system)
2598 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
2599 (home-page "https://github.com/Fuco1/smartparens")
2600 (synopsis "Paredit-like insertion, wrapping and navigation with user
2601 defined pairs")
2602 (description
2603 "Smartparens is a minor mode for Emacs that deals with parens pairs
2604 and tries to be smart about it. It started as a unification effort to
2605 combine functionality of several existing packages in a single,
2606 compatible and extensible way to deal with parentheses, delimiters, tags
2607 and the like. Some of these packages include autopair, textmate,
2608 wrap-region, electric-pair-mode, paredit and others. With the basic
2609 features found in other packages it also brings many improvements as
2610 well as completely new features.")
2611 (license license:gpl3+)))
2612
2613 (define-public emacs-hl-todo
2614 (package
2615 (name "emacs-hl-todo")
2616 (version "1.7.4")
2617 (source (origin
2618 (method url-fetch)
2619 (uri (string-append
2620 "https://raw.githubusercontent.com/tarsius/hl-todo/"
2621 version "/hl-todo.el"))
2622 (file-name (string-append "hl-todo-" version ".el"))
2623 (sha256
2624 (base32
2625 "016ivl4s0ysrm1xbfi86j5xcs759fcb0mkspxw81x8mpi3yb46ya"))))
2626 (build-system emacs-build-system)
2627 (home-page "https://github.com/tarsius/hl-todo")
2628 (synopsis "Emacs mode to highlight TODO and similar keywords")
2629 (description
2630 "This package provides an Emacs mode to highlight TODO and similar
2631 keywords in comments and strings. This package also provides commands for
2632 moving to the next or previous keyword and to invoke @code{occur} with a
2633 regexp that matches all known keywords.")
2634 (license license:gpl3+)))
2635
2636 (define-public emacs-perspective
2637 (package
2638 (name "emacs-perspective")
2639 (version "1.12")
2640 (source
2641 (origin
2642 (method url-fetch)
2643 (uri (string-append "https://github.com/nex3/perspective-el/"
2644 "archive/" version ".tar.gz"))
2645 (file-name (string-append name "-" version ".tar.gz"))
2646 (sha256
2647 (base32
2648 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
2649 (build-system emacs-build-system)
2650 (home-page "https://github.com/nex3/perspective-el")
2651 (synopsis "Switch between named \"perspectives\"")
2652 (description
2653 "This package provides tagged workspaces in Emacs, similar to workspaces in
2654 windows managers such as Awesome and XMonad. @code{perspective.el} provides
2655 multiple workspaces (or \"perspectives\") for each Emacs frame. Each
2656 perspective is composed of a window configuration and a set of buffers.
2657 Switching to a perspective activates its window configuration, and when in a
2658 perspective only its buffers are available by default.")
2659 ;; This package is released under the same license as Emacs (GPLv3+) or
2660 ;; the Expat license.
2661 (license license:gpl3+)))
2662
2663 (define-public emacs-request
2664 (package
2665 (name "emacs-request")
2666 (version "0.2.0")
2667 (source (origin
2668 (method url-fetch)
2669 (uri (string-append
2670 "https://github.com/tkf/emacs-request/archive/v"
2671 version ".tar.gz"))
2672 (file-name (string-append name "-" version ".tar.gz"))
2673 (sha256
2674 (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
2675 (build-system emacs-build-system)
2676 (home-page "https://github.com/tkf/emacs-request")
2677 (synopsis "Package for speaking HTTP in Emacs Lisp")
2678 (description "This package provides a HTTP request library with multiple
2679 backends. It supports url.el which is shipped with Emacs and the curl command
2680 line program.")
2681 (license license:gpl3+)))
2682
2683 (define-public emacs-rudel
2684 (package
2685 (name "emacs-rudel")
2686 (version "0.3.1")
2687 (source
2688 (origin
2689 (method url-fetch)
2690 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
2691 version ".tar"))
2692 (sha256
2693 (base32
2694 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
2695 (build-system emacs-build-system)
2696 (home-page "http://rudel.sourceforge.net/")
2697 (synopsis "Collaborative editing framework")
2698 (description
2699 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
2700 is to share buffers with other users in order to edit the contents of those
2701 buffers collaboratively. Rudel supports multiple backends to enable
2702 communication with other collaborative editors using different protocols,
2703 though currently Obby (for use with the Gobby editor) is the only
2704 fully-functional one.")
2705 (license license:gpl3+)))
2706
2707 (define-public emacs-hydra
2708 (package
2709 (name "emacs-hydra")
2710 (version "0.13.6")
2711 (source
2712 (origin
2713 (method url-fetch)
2714 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
2715 version ".tar.gz"))
2716 (file-name (string-append name "-" version ".tar.gz"))
2717 (sha256
2718 (base32
2719 "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
2720 (build-system emacs-build-system)
2721 (home-page "https://github.com/abo-abo/hydra")
2722 (synopsis "Make Emacs bindings that stick around")
2723 (description
2724 "This package can be used to tie related commands into a family of short
2725 bindings with a common prefix---a Hydra. Once you summon the Hydra (through
2726 the prefixed binding), all the heads can be called in succession with only a
2727 short extension. Any binding that isn't the Hydra's head vanquishes the
2728 Hydra. Note that the final binding, besides vanquishing the Hydra, will still
2729 serve its original purpose, calling the command assigned to it. This makes
2730 the Hydra very seamless; it's like a minor mode that disables itself
2731 automatically.")
2732 (license license:gpl3+)))
2733
2734 (define-public emacs-ivy
2735 (package
2736 (name "emacs-ivy")
2737 (version "0.9.1")
2738 (source
2739 (origin
2740 (method url-fetch)
2741 (uri (string-append "https://github.com/abo-abo/swiper/archive/"
2742 version ".tar.gz"))
2743 (file-name (string-append name "-" version ".tar.gz"))
2744 (sha256
2745 (base32
2746 "1abi1rvjarwfxxylpx8qlhck0kbavnj0nmlaaizk9q5zr02xfx1j"))))
2747 (build-system emacs-build-system)
2748 (propagated-inputs
2749 `(("emacs-hydra" ,emacs-hydra)))
2750 (home-page "http://oremacs.com/swiper/")
2751 (synopsis "Incremental vertical completion for Emacs")
2752 (description
2753 "This package provides @code{ivy-read} as an alternative to
2754 @code{completing-read} and similar functions. No attempt is made to determine
2755 the best candidate. Instead, the user can navigate candidates with
2756 @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
2757 splitting the input text by spaces and re-building it into a regular
2758 expression.")
2759 (license license:gpl3+)))
2760
2761 (define-public emacs-avy
2762 (package
2763 (name "emacs-avy")
2764 (version "0.4.0")
2765 (source
2766 (origin
2767 (method url-fetch)
2768 (uri (string-append "https://github.com/abo-abo/avy/archive/"
2769 version ".tar.gz"))
2770 (file-name (string-append name "-" version ".tar.gz"))
2771 (sha256
2772 (base32
2773 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
2774 (build-system emacs-build-system)
2775 (home-page "https://github.com/abo-abo/avy")
2776 (synopsis "Tree-based completion for Emacs")
2777 (description
2778 "This package provides a generic completion method based on building a
2779 balanced decision tree with each candidate being a leaf. To traverse the tree
2780 from the root to a desired leaf, typically a sequence of @code{read-key} can
2781 be used.
2782
2783 In order for @code{read-key} to make sense, the tree needs to be visualized
2784 appropriately, with a character at each branch node. So this completion
2785 method works only for things that you can see on your screen, all at once,
2786 such as the positions of characters, words, line beginnings, links, or
2787 windows.")
2788 (license license:gpl3+)))
2789
2790 (define-public emacs-ace-window
2791 (package
2792 (name "emacs-ace-window")
2793 (version "0.9.0")
2794 (source
2795 (origin
2796 (method url-fetch)
2797 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
2798 version ".tar.gz"))
2799 (file-name (string-append name "-" version ".tar.gz"))
2800 (sha256
2801 (base32
2802 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
2803 (build-system emacs-build-system)
2804 (propagated-inputs
2805 `(("emacs-avy" ,emacs-avy)))
2806 (home-page "https://github.com/abo-abo/ace-window")
2807 (synopsis "Quickly switch windows in Emacs")
2808 (description
2809 "@code{ace-window} is meant to replace @code{other-window}.
2810 In fact, when there are only two windows present, @code{other-window} is
2811 called. If there are more, each window will have its first character
2812 highlighted. Pressing that character will switch to that window.")
2813 (license license:gpl3+)))
2814
2815 (define-public emacs-iedit
2816 (package
2817 (name "emacs-iedit")
2818 (version "0.9.9")
2819 (source
2820 (origin
2821 (method url-fetch)
2822 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
2823 version ".tar.gz"))
2824 (file-name (string-append name "-" version ".tar.gz"))
2825 (sha256
2826 (base32
2827 "00v86zllcsivmiibigbr91qij2zdf1lr9db8z8again1sn63wkdj"))))
2828 (build-system emacs-build-system)
2829 (home-page "http://www.emacswiki.org/emacs/Iedit")
2830 (synopsis "Edit multiple regions in the same way simultaneously")
2831 (description
2832 "This package is an Emacs minor mode and allows you to edit one
2833 occurrence of some text in a buffer (possibly narrowed) or region, and
2834 simultaneously have other occurrences edited in the same way.
2835
2836 You can also use Iedit mode as a quick way to temporarily show only the buffer
2837 lines that match the current text being edited. This gives you the effect of
2838 a temporary @code{keep-lines} or @code{occur}.")
2839 (license license:gpl3+)))
2840
2841 (define-public emacs-lispy
2842 (package
2843 (name "emacs-lispy")
2844 (version "0.26.0")
2845 (source
2846 (origin
2847 (method url-fetch)
2848 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
2849 version ".tar.gz"))
2850 (file-name (string-append name "-" version ".tar.gz"))
2851 (sha256
2852 (base32
2853 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
2854 (build-system emacs-build-system)
2855 (propagated-inputs
2856 `(("emacs-ace-window" ,emacs-ace-window)
2857 ("emacs-iedit" ,emacs-iedit)
2858 ("emacs-ivy" ,emacs-ivy)
2859 ("emacs-hydra" ,emacs-hydra)))
2860 (home-page "https://github.com/abo-abo/lispy")
2861 (synopsis "Modal S-expression editing")
2862 (description
2863 "Due to the structure of Lisp syntax it's very rare for the programmer to
2864 want to insert characters right before \"(\" or right after \")\". Thus
2865 unprefixed printable characters can be used to call commands when the point is
2866 at one of these special locations. Lispy provides unprefixed keybindings for
2867 S-expression editing when point is at the beginning or end of an
2868 S-expression.")
2869 (license license:gpl3+)))
2870
2871 (define-public emacs-clojure-mode
2872 (package
2873 (name "emacs-clojure-mode")
2874 (version "5.4.0")
2875 (source (origin
2876 (method url-fetch)
2877 (uri (string-append
2878 "https://github.com/clojure-emacs/clojure-mode/archive/"
2879 version ".tar.gz"))
2880 (file-name (string-append name "-" version ".tar.gz"))
2881 (sha256
2882 (base32
2883 "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
2884 (build-system emacs-build-system)
2885 (home-page "https://github.com/clojure-emacs/clojure-mode")
2886 (synopsis "Major mode for Clojure code")
2887 (description
2888 "This Emacs package provides font-lock, indentation, navigation and basic
2889 refactoring for the @uref{http://clojure.org, Clojure programming language}.
2890 It is recommended to use @code{clojure-mode} with paredit or smartparens.")
2891 (license license:gpl3+)))
2892
2893 (define-public emacs-epl
2894 (package
2895 (name "emacs-epl")
2896 (version "0.8")
2897 (source (origin
2898 (method url-fetch)
2899 (uri (string-append
2900 "https://github.com/cask/epl/archive/"
2901 version ".tar.gz"))
2902 (sha256
2903 (base32
2904 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
2905 (build-system emacs-build-system)
2906 (home-page "https://github.com/cask/epl")
2907 (synopsis "Emacs Package Library")
2908 (description
2909 "A package management library for Emacs, based on @code{package.el}.
2910
2911 The purpose of this library is to wrap all the quirks and hassle of
2912 @code{package.el} into a sane API.")
2913 (license license:gpl3+)))
2914
2915 (define-public emacs-queue
2916 (package
2917 (name "emacs-queue")
2918 (version "0.1.1")
2919 (source (origin
2920 (method url-fetch)
2921 (uri (string-append "https://elpa.gnu.org/packages/queue-"
2922 version ".el"))
2923 (sha256
2924 (base32
2925 "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
2926 (build-system emacs-build-system)
2927 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
2928 (synopsis "Queue data structure for Emacs")
2929 (description
2930 "This Emacs library provides queue data structure. These queues can be
2931 used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
2932 stack, i.e. elements can be added to the front or back of the queue, and can
2933 be removed from the front. This type of data structure is sometimes called an
2934 \"output-restricted deque\".")
2935 (license license:gpl3+)))
2936
2937 (define-public emacs-pkg-info
2938 (package
2939 (name "emacs-pkg-info")
2940 (version "0.6")
2941 (source (origin
2942 (method url-fetch)
2943 (uri (string-append
2944 "https://github.com/lunaryorn/pkg-info.el/archive/"
2945 version ".tar.gz"))
2946 (file-name (string-append name "-" version ".tar.gz"))
2947 (sha256
2948 (base32
2949 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
2950 (build-system emacs-build-system)
2951 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
2952 (home-page "https://github.com/lunaryorn/pkg-info.el")
2953 (synopsis "Information about Emacs packages")
2954 (description
2955 "This library extracts information from the installed Emacs packages.")
2956 (license license:gpl3+)))
2957
2958 (define-public emacs-spinner
2959 (package
2960 (name "emacs-spinner")
2961 (version "1.7.3")
2962 (source (origin
2963 (method url-fetch)
2964 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
2965 version ".el"))
2966 (sha256
2967 (base32
2968 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
2969 (build-system emacs-build-system)
2970 (home-page "https://github.com/Malabarba/spinner.el")
2971 (synopsis "Emacs mode-line spinner for operations in progress")
2972 (description
2973 "This Emacs package adds spinners and progress-bars to the mode-line for
2974 ongoing operations.")
2975 (license license:gpl3+)))
2976
2977 (define-public emacs-seq
2978 (package
2979 (name "emacs-seq")
2980 (version "2.19")
2981 (source (origin
2982 (method url-fetch)
2983 (uri (string-append "https://elpa.gnu.org/packages/seq-"
2984 version ".tar"))
2985 (sha256
2986 (base32
2987 "11hb7is6a4h1lscjcfrzh576j0g3m5yjydn16s6x5bxp5gsr6zha"))))
2988 (build-system emacs-build-system)
2989 (home-page "https://elpa.gnu.org/packages/seq.html")
2990 (synopsis "Sequence manipulation functions for Emacs")
2991 (description
2992 "This Emacs library provides sequence-manipulation functions that
2993 complement basic functions provided by @code{subr.el}. All provided functions
2994 work on lists, strings and vectors.")
2995 (license license:gpl3+)))
2996
2997 (define-public emacs-better-defaults
2998 (package
2999 (name "emacs-better-defaults")
3000 (version "0.1.3")
3001 (source
3002 (origin
3003 (method url-fetch)
3004 (uri (string-append "https://github.com/technomancy/better-defaults"
3005 "/archive/" version ".tar.gz"))
3006 (file-name (string-append name "-" version ".tar.gz"))
3007 (sha256
3008 (base32
3009 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3010 (build-system emacs-build-system)
3011 (home-page "https://github.com/technomancy/better-defaults")
3012 (synopsis "Better defaults for Emacs")
3013 (description
3014 "Better defaults attempts to address the most obvious deficiencies of the
3015 Emacs default configuration in uncontroversial ways that nearly everyone can
3016 agree upon.")
3017 (license license:gpl3+)))
3018
3019 (define-public emacs-eprime
3020 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3021 (package
3022 (name "emacs-eprime")
3023 (version (string-append "20140513-" (string-take commit 7)))
3024 (source (origin
3025 (method url-fetch)
3026 (uri (string-append "https://raw.githubusercontent.com"
3027 "/AndrewHynes/eprime-mode/"
3028 commit "/eprime-mode.el"))
3029 (file-name (string-append "eprime-" version ".el"))
3030 (sha256
3031 (base32
3032 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3033 (build-system emacs-build-system)
3034 (home-page "https://github.com/AndrewHynes/eprime-mode")
3035 (synopsis "E-prime checking mode for Emacs")
3036 (description "This package provides an E-prime checking mode for Emacs
3037 that highlights non-conforming text. The subset of the English language called
3038 E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3039 (license license:gpl3+))))
3040
3041 (define-public emacs-ess
3042 (package
3043 (name "emacs-ess")
3044 (version "16.04")
3045 (source (origin
3046 (method url-fetch)
3047 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3048 version ".tgz"))
3049 (sha256
3050 (base32
3051 "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
3052 (build-system gnu-build-system)
3053 (arguments
3054 `(#:tests? #f ; There is no test suite.
3055 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
3056 #:phases
3057 (modify-phases %standard-phases
3058 (delete 'configure)
3059 (add-before 'build 'more-shebang-patching
3060 (lambda* (#:key inputs #:allow-other-keys)
3061 (substitute* "Makeconf"
3062 (("SHELL = /bin/sh")
3063 (string-append "SHELL = " (which "sh")))))))))
3064 (inputs
3065 `(("emacs" ,emacs-minimal)
3066 ("r-minimal" ,r-minimal)))
3067 (native-inputs
3068 `(("perl" ,perl)
3069 ("texinfo" ,texinfo)
3070 ("texlive" ,texlive)))
3071 (home-page "http://ess.r-project.org/")
3072 (synopsis "Emacs mode for statistical analysis programs")
3073 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3074 Emacs. It is designed to support editing of scripts and interaction with
3075 various statistical analysis programs such as R and OpenBUGS.")
3076 (license license:gpl2+)))
3077
3078 (define-public emacs-smex
3079 (package
3080 (name "emacs-smex")
3081 (version "3.0")
3082 (source (origin
3083 (method url-fetch)
3084 (uri (string-append "https://raw.githubusercontent.com"
3085 "/nonsequitur/smex/" version "/smex.el"))
3086 (file-name (string-append "smex-" version ".el"))
3087 (sha256
3088 (base32
3089 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3090 (build-system emacs-build-system)
3091 (home-page "https://github.com/nonsequitur/smex/")
3092 (synopsis "M-x interface with Ido-style fuzzy matching")
3093 (description
3094 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3095 convenient interface to your recently and most frequently used commands. And
3096 to all the other commands, too.")
3097 (license license:gpl3+)))
3098
3099 (define-public emacs-js2-mode
3100 (package
3101 (name "emacs-js2-mode")
3102 (version "20150909")
3103 (source (origin
3104 (method url-fetch)
3105 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3106 version ".tar.gz"))
3107 (file-name (string-append name "-" version ".tar.gz"))
3108 (sha256
3109 (base32
3110 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3111 (build-system emacs-build-system)
3112 (home-page "https://github.com/mooz/js2-mode/")
3113 (synopsis "Improved JavaScript editing mode for Emacs")
3114 (description
3115 "Js2-mode provides a JavaScript major mode for Emacs that is more
3116 advanced than the built-in javascript-mode. Features include accurate syntax
3117 highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3118 errors and strict-mode warnings, smart line-wrapping within comments and
3119 strings, and code folding.")
3120 (license license:gpl3+)))
3121
3122 (define-public emacs-markdown-mode
3123 (package
3124 (name "emacs-markdown-mode")
3125 (version "2.1")
3126 (source (origin
3127 (method url-fetch)
3128 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3129 "/markdown-mode/v" version
3130 "/markdown-mode.el"))
3131 (file-name (string-append "markdown-mode-" version ".el"))
3132 (sha256
3133 (base32
3134 "1faibar32jnjia9202swblw91q6z1g5s4k9xmypwjahfh8yznl6w"))))
3135 (build-system emacs-build-system)
3136 (home-page "http://jblevins.org/projects/markdown-mode/")
3137 (synopsis "Emacs Major mode for Markdown files")
3138 (description
3139 "Markdown-mode is a major mode for editing Markdown-formatted text files
3140 in Emacs.")
3141 (license license:gpl3+)))
3142
3143 (define-public emacs-projectile
3144 (package
3145 (name "emacs-projectile")
3146 (version "0.14.0")
3147 (source (origin
3148 (method url-fetch)
3149 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3150 "/projectile/v" version "/projectile.el"))
3151 (file-name (string-append "projectile-" version ".el"))
3152 (sha256
3153 (base32
3154 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
3155 (build-system emacs-build-system)
3156 (propagated-inputs
3157 `(("emacs-dash" ,emacs-dash)
3158 ("emacs-pkg-info" ,emacs-pkg-info)))
3159 (home-page "https://github.com/bbatsov/projectile")
3160 (synopsis "Manage and navigate projects in Emacs easily")
3161 (description
3162 "This library provides easy project management and navigation. The
3163 concept of a project is pretty basic - just a folder containing special file.
3164 Currently git, mercurial and bazaar repos are considered projects by default.
3165 If you want to mark a folder manually as a project just create an empty
3166 .projectile file in it.")
3167 (license license:gpl3+)))
3168
3169 (define-public emacs-elfeed
3170 (package
3171 (name "emacs-elfeed")
3172 (version "2.1.0")
3173 (source (origin
3174 (method url-fetch)
3175 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3176 version ".tar.gz"))
3177 (file-name (string-append name "-" version ".tar.gz"))
3178 (sha256
3179 (base32
3180 "145glas04zd0s2rmnif46vhyijs4z03v871gfp1dcrwxvvvns8ap"))))
3181 (build-system emacs-build-system)
3182 (arguments
3183 `(#:phases
3184 (modify-phases %standard-phases
3185 (add-before 'install 'check
3186 (lambda _
3187 (zero? (system* "make" "test")))))))
3188 (home-page "https://github.com/skeeto/elfeed")
3189 (synopsis "Atom/RSS feed reader for Emacs")
3190 (description
3191 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
3192 and RSS, with a user interface inspired by notmuch.")
3193 (license license:gpl3+)))
3194
3195 (define-public emacs-rainbow-delimiters
3196 (package
3197 (name "emacs-rainbow-delimiters")
3198 (version "2.1.3")
3199 (source (origin
3200 (method url-fetch)
3201 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3202 "/rainbow-delimiters/" version
3203 "/rainbow-delimiters.el"))
3204 (file-name (string-append "rainbow-delimiters-" version ".el"))
3205 (sha256
3206 (base32
3207 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
3208 (build-system emacs-build-system)
3209 (home-page "https://github.com/Fanael/rainbow-delimiters")
3210 (synopsis "Highlight brackets according to their depth")
3211 (description
3212 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
3213 highlights parentheses, brackets, and braces according to their depth. Each
3214 successive level is highlighted in a different color, making it easy to spot
3215 matching delimiters, orient yourself in the code, and tell which statements
3216 are at a given level.")
3217 (license license:gpl3+)))
3218
3219 (define-public emacs-rainbow-identifiers
3220 (package
3221 (name "emacs-rainbow-identifiers")
3222 (version "0.2.2")
3223 (source (origin
3224 (method url-fetch)
3225 (uri (string-append "https://raw.githubusercontent.com/Fanael"
3226 "/rainbow-identifiers/" version
3227 "/rainbow-identifiers.el"))
3228 (file-name (string-append "rainbow-identifiers-" version ".el"))
3229 (sha256
3230 (base32
3231 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
3232 (build-system emacs-build-system)
3233 (home-page "https://github.com/Fanael/rainbow-identifiers")
3234 (synopsis "Highlight identifiers in source code")
3235 (description
3236 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
3237 identifiers based on their names. Each identifier gets a color based on a hash
3238 of its name.")
3239 (license license:bsd-2)))
3240
3241 (define-public emacs-visual-fill-column
3242 (package
3243 (name "emacs-visual-fill-column")
3244 (version "1.7")
3245 (source (origin
3246 (method url-fetch)
3247 (uri (string-append "https://codeload.github.com/joostkremers/"
3248 "visual-fill-column/tar.gz/" version))
3249 (file-name (string-append name "-" version ".tar.gz"))
3250 (sha256
3251 (base32
3252 "12vn7kdq2mpz9hgibbn1vhpf23lcm7c26k3fkz8nidhygwl5x5lq"))))
3253 (build-system emacs-build-system)
3254 (home-page "https://github.com/joostkremers/visual-fill-column")
3255 (synopsis "Fill-column for visual-line-mode")
3256 (description
3257 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
3258 the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
3259 wrapping lines at the window edge, which is the standard behaviour of
3260 @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
3261 @code{fill-column} is too large for the window, the text is wrapped at the
3262 window edge.")
3263 (license license:gpl3+)))
3264
3265 (define-public emacs-ido-completing-read+
3266 (package
3267 (name "emacs-ido-completing-read+")
3268 (version "3.12")
3269 (source (origin
3270 (method url-fetch)
3271 (uri (string-append "https://raw.githubusercontent.com"
3272 "/DarwinAwardWinner/ido-ubiquitous/v"
3273 version "/ido-completing-read+.el"))
3274 (file-name (string-append "ido-completing-read+-" version ".el"))
3275 (sha256
3276 (base32
3277 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
3278 (build-system emacs-build-system)
3279 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3280 (synopsis "Replacement for completing-read using ido")
3281 (description
3282 "The ido-completing-read+ function is a wrapper for ido-completing-read.
3283 Importantly, it detects edge cases that ordinary ido cannot handle and either
3284 adjusts them so ido can handle them, or else simply falls back to the standard
3285 Emacs completion function instead.")
3286 (license license:gpl3+)))
3287
3288 (define-public emacs-ido-ubiquitous
3289 (package
3290 (name "emacs-ido-ubiquitous")
3291 (version "3.12")
3292 (source (origin
3293 (method url-fetch)
3294 (uri (string-append "https://raw.githubusercontent.com"
3295 "/DarwinAwardWinner/ido-ubiquitous/v"
3296 version "/ido-ubiquitous.el"))
3297 (file-name (string-append "ido-ubiquitous-" version ".el"))
3298 (sha256
3299 (base32
3300 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
3301 (build-system emacs-build-system)
3302 (propagated-inputs
3303 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
3304 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
3305 (synopsis "Use ido (nearly) everywhere")
3306 (description
3307 "Ido-ubiquitous enables ido-style completion for almost every function
3308 that uses the standard completion function completing-read.")
3309 (license license:gpl3+)))
3310
3311 (define-public emacs-yaml-mode
3312 (package
3313 (name "emacs-yaml-mode")
3314 (version "0.0.12")
3315 (source (origin
3316 (method url-fetch)
3317 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
3318 "/yaml-mode/v" version "/yaml-mode.el"))
3319 (file-name (string-append "yaml-mode-" version ".el"))
3320 (sha256
3321 (base32
3322 "17wq433ycli0qx4gdhgrmb392qblm6y2dwcyn38j5ja1lasfb0ax"))))
3323 (build-system emacs-build-system)
3324 (home-page "https://github.com/yoshiki/yaml-mode")
3325 (synopsis "Major mode for editing YAML files")
3326 (description
3327 "Yaml-mode is an Emacs major mode for editing files in the YAML data
3328 serialization format. It was initially developed by Yoshiki Kurihara and many
3329 features were added by Marshall Vandegrift. As YAML and Python share the fact
3330 that indentation determines structure, this mode provides indentation and
3331 indentation command behavior very similar to that of python-mode.")
3332 (license license:gpl3+)))
3333
3334 (define-public emacs-web-mode
3335 (package
3336 (name "emacs-web-mode")
3337 (version "14")
3338 (source (origin
3339 (method url-fetch)
3340 (uri (string-append "https://raw.githubusercontent.com/fxbois"
3341 "/web-mode/v" version "/web-mode.el"))
3342 (file-name (string-append "web-mode-" version ".el"))
3343 (sha256
3344 (base32
3345 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
3346 (build-system emacs-build-system)
3347 (synopsis "Major mode for editing web templates")
3348 (description "Web-mode is an Emacs major mode for editing web templates
3349 aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
3350 client/server side engines). Web-mode is compatible with many template
3351 engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
3352 Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
3353 Dust.js, React/JSX, Angularjs, ejs, etc.")
3354 (home-page "http://web-mode.org/")
3355 (license license:gpl3+)))
3356
3357 (define-public emacs-helm
3358 (package
3359 (name "emacs-helm")
3360 (version "1.9.8")
3361 (source (origin
3362 (method url-fetch)
3363 (uri (string-append
3364 "https://github.com/" name "/helm/archive/v"
3365 version ".tar.gz"))
3366 (file-name (string-append name "-" version ".tar.gz"))
3367 (sha256
3368 (base32
3369 "019dpzr6l83k1fgxn40aqxjvrpz4dl5d9vi7fc5wjnifmxaqxia6"))))
3370 (build-system emacs-build-system)
3371 (propagated-inputs
3372 `(("emacs-async" ,emacs-async)
3373 ("emacs-popup" ,emacs-popup)))
3374 (home-page "https://emacs-helm.github.io/helm/")
3375 (synopsis "Incremental completion and selection narrowing
3376 framework for Emacs")
3377 (description "Helm is incremental completion and selection narrowing
3378 framework for Emacs. It will help steer you in the right direction when
3379 you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
3380 of @code{anything.el} originally written by Tamas Patrovic and can be
3381 considered to be its successor. Helm sets out to clean up the legacy code in
3382 @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
3383 not tied in the trap of backward compatibility.")
3384 (license license:gpl3+)))
3385
3386 (define-public emacs-cider
3387 (package
3388 (name "emacs-cider")
3389 (version "0.12.0")
3390 (source (origin
3391 (method url-fetch)
3392 (uri (string-append
3393 "https://github.com/clojure-emacs/cider/archive/v"
3394 version ".tar.gz"))
3395 (file-name (string-append name "-" version ".tar.gz"))
3396 (sha256
3397 (base32
3398 "00qzbfjy3w6bcnki7gw0clmi0cc5yqjdrcyhgv4ymijjs79h9p5s"))))
3399 (build-system emacs-build-system)
3400 (propagated-inputs
3401 `(("emacs-clojure-mode" ,emacs-clojure-mode)
3402 ("emacs-spinner" ,emacs-spinner)
3403 ("emacs-pkg-info" ,emacs-pkg-info)
3404 ("emacs-queue" ,emacs-queue)
3405 ("emacs-seq" ,emacs-seq)))
3406 (home-page "https://cider.readthedocs.org/")
3407 (synopsis "Clojure development environment for Emacs")
3408 (description
3409 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
3410 provide an interactive development experience similar to the one you'd get
3411 when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
3412 Geiser) and Smalltalk.
3413
3414 CIDER is the successor to the now deprecated combination of using SLIME +
3415 swank-clojure for Clojure development.
3416
3417 There are plenty of differences between CIDER and SLIME, but the core ideas
3418 are pretty much the same (and SLIME served as the principle inspiration for
3419 CIDER).")
3420 (license license:gpl3+)))
3421
3422 (define-public emacs-lua-mode
3423 (package
3424 (name "emacs-lua-mode")
3425 (version "20151025")
3426 (source (origin
3427 (method url-fetch)
3428 (uri (string-append
3429 "https://github.com/immerrr/lua-mode/archive/v"
3430 version ".tar.gz"))
3431 (file-name (string-append name "-" version ".tar.gz"))
3432 (sha256
3433 (base32
3434 "0sbhfny5ib65cnx6xcy6h9bbw27mw034s8m9cca00bhxqaqi6p4v"))))
3435 (build-system emacs-build-system)
3436 (home-page "https://github.com/immerrr/lua-mode/")
3437 (synopsis "Major mode for lua")
3438 (description
3439 "This Emacs package provides a mode for @uref{https://www.lua.org/,
3440 Lua programing language}.")
3441 (license license:gpl2+)))
3442
3443 (define-public emacs-ebuild-mode
3444 (package
3445 (name "emacs-ebuild-mode")
3446 (version "1.30")
3447 (source (origin
3448 (method url-fetch)
3449 (uri (string-append
3450 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
3451 "-" version ".tar.xz"))
3452 (file-name (string-append name "-" version ".tar.xz"))
3453 (sha256
3454 (base32
3455 "0vp7lq1kvmh1b2bms2x1kf2k76dy9m02d7cirkxpiglwaxa0h9vz"))))
3456 (build-system emacs-build-system)
3457 (home-page "https://devmanual.gentoo.org")
3458 (synopsis "Major modes for Gentoo package files")
3459 (description
3460 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
3461 news items, openrc and runscripts.")
3462 (license license:gpl2+)))
3463
3464 (define-public emacs-evil
3465 (package
3466 (name "emacs-evil")
3467 (version "1.2.12")
3468 (source
3469 (origin
3470 (method url-fetch)
3471 (uri (string-append "https://bitbucket.org/lyro/evil/get/"
3472 version ".tar.bz2"))
3473 (file-name (string-append name "-" version ".tar.bz2"))
3474 (sha256
3475 (base32
3476 "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
3477 (build-system emacs-build-system)
3478 (propagated-inputs
3479 `(("emacs-undo-tree" ,emacs-undo-tree)
3480 ("emacs-goto-chg" ,emacs-goto-chg)))
3481 (home-page "https://bitbucket.com/lyro/evil")
3482 (synopsis "Extensible Vi layer for Emacs")
3483 (description
3484 "Evil is an extensible vi layer for Emacs. It emulates the
3485 main features of Vim, and provides facilities for writing custom
3486 extensions.")
3487 (license license:gpl3+)))
3488
3489 (define-public emacs-goto-chg
3490 (package
3491 (name "emacs-goto-chg")
3492 (version "1.6")
3493 (source
3494 (origin
3495 (method url-fetch)
3496 ;; There is no versioned source.
3497 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
3498 (sha256
3499 (base32
3500 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
3501 (build-system emacs-build-system)
3502 ;; There is no other home page.
3503 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
3504 (synopsis "Go to the last change in the Emacs buffer")
3505 (description
3506 "This package provides @code{M-x goto-last-change} command that goes to
3507 the point of the most recent edit in the current Emacs buffer. When repeated,
3508 go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
3509 used for reverse direction.")
3510 (license license:gpl2+)))
3511
3512 (define-public emacs-monroe
3513 (package
3514 (name "emacs-monroe")
3515 (version "0.3.1")
3516 (source
3517 (origin
3518 (method url-fetch)
3519 (uri (string-append "https://github.com/sanel/monroe/archive/"
3520 version ".tar.gz"))
3521 (file-name (string-append name "-" version ".tar.gz"))
3522 (sha256
3523 (base32
3524 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
3525 (build-system emacs-build-system)
3526 (home-page "https://github.com/sanel/monroe")
3527 (synopsis "Clojure nREPL client for Emacs")
3528 (description
3529 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
3530 distribution, primarily targeting Clojure users")
3531 (license license:gpl3+)))
3532
3533 (define-public emacs-writegood-mode
3534 (package
3535 (name "emacs-writegood-mode")
3536 (version "2.0.2")
3537 (home-page "https://github.com/bnbeckwith/writegood-mode")
3538 (source (origin
3539 (method git-fetch)
3540 (uri (git-reference
3541 (url home-page)
3542 (commit (string-append "v" version))))
3543 (sha256
3544 (base32
3545 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
3546 (file-name (string-append name "-checkout"))))
3547 (build-system emacs-build-system)
3548 (synopsis "Polish up poor writing on the fly")
3549 (description
3550 "This minor mode tries to find and highlight problems with your writing
3551 in English as you type. It primarily detects \"weasel words\" and abuse of
3552 passive voice.")
3553 (license license:gpl3+)))
3554
3555 (define-public emacs-neotree
3556 (package
3557 (name "emacs-neotree")
3558 (version "0.2.1")
3559 (home-page "https://github.com/jaypei/emacs-neotree")
3560 (source (origin
3561 (method url-fetch)
3562 (uri (string-append
3563 "https://github.com/jaypei/" name
3564 "/archive/v" version ".tar.gz"))
3565 (sha256
3566 (base32
3567 "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
3568 (file-name (string-append name "-" version ".tar.gz"))))
3569 (build-system emacs-build-system)
3570 (synopsis "Folder tree view for Emacs")
3571 (description "This Emacs package provides a folder tree view.")
3572 (license license:gpl3+)))
3573
3574 (define-public emacs-org
3575 (package
3576 (name "emacs-org")
3577 (version "20170210")
3578 (source (origin
3579 (method url-fetch)
3580 (uri (string-append "http://elpa.gnu.org/packages/org-"
3581 version ".tar"))
3582 (sha256
3583 (base32
3584 "15415wh3w8d4c8hd7qfrfdjnjb1zppmrkg8cdp7hw2ilyr90c0bn"))))
3585 (build-system emacs-build-system)
3586 (home-page "http://orgmode.org/")
3587 (synopsis "Outline-based notes management and organizer")
3588 (description "Org is an Emacs mode for keeping notes, maintaining TODO
3589 lists, and project planning with a fast and effective plain-text system. It
3590 also is an authoring system with unique support for literate programming and
3591 reproducible research.")
3592 (license license:gpl3+)))
3593
3594 (define-public emacs-flx
3595 (package
3596 (name "emacs-flx")
3597 (version "0.6.1")
3598 (source
3599 (origin
3600 (method url-fetch)
3601 (uri (string-append "https://github.com/lewang/"
3602 "flx/archive/v" version ".tar.gz"))
3603 (sha256
3604 (base32
3605 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
3606 (file-name (string-append name "-" version ".tar.gz"))))
3607 (build-system emacs-build-system)
3608 (home-page "https://github.com/lewang/flx")
3609 (synopsis "Fuzzy matching for Emacs")
3610 (description
3611 "Flx provides fuzzy matching for emacs a la sublime text.
3612 The sorting algorithm is a balance between word beginnings (abbreviation)
3613 and contiguous matches (substring). The longer the substring match,
3614 the higher it scores. This maps well to how we think about matching.
3615 Flx has support for ido (interactively do things) through flx-ido.")
3616 (license license:gpl3+)))
3617
3618 (define-public emacs-cyberpunk-theme
3619 (package
3620 (name "emacs-cyberpunk-theme")
3621 (version "1.18")
3622 (source
3623 (origin
3624 (method url-fetch)
3625 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
3626 "archive/" version ".tar.gz"))
3627 (sha256
3628 (base32
3629 "0pxzbw0qjxgkhhs3gn3k9qy41kl1a4pfzbw83dk24l4b3nxd24wg"))
3630 (file-name (string-append name "-" version ".tar.gz"))))
3631 (build-system emacs-build-system)
3632 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
3633 (synopsis "Cyberpunk theme for emacs built-in color theme support")
3634 (description
3635 "Cyberpunk color theme for the emacs 24+ built-in color theme support
3636 known loosely as deftheme. Many mode-specific customizations are included.")
3637 (license license:gpl3+)))
3638
3639 (define-public emacs-danneskjold-theme
3640 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
3641 (revision "1"))
3642 (package
3643 (name "emacs-danneskjold-theme")
3644 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3645 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
3646 (source
3647 (origin
3648 (method git-fetch)
3649 (uri (git-reference
3650 (url home-page)
3651 (commit commit)))
3652 (file-name (string-append name "-" version "-checkout"))
3653 (sha256
3654 (base32
3655 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
3656 (build-system emacs-build-system)
3657 (arguments
3658 `(#:phases
3659 (modify-phases %standard-phases
3660 (add-after 'unpack 'delete-screenshots
3661 (lambda _
3662 (delete-file-recursively "screenshots") #t)))))
3663 (synopsis "High-contrast Emacs theme")
3664 (description
3665 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
3666 (license license:gpl3+))))
3667
3668 (define-public emacs-dream-theme
3669 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
3670 (revision "1"))
3671 (package
3672 (name "emacs-dream-theme")
3673 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
3674 (source
3675 (origin
3676 (method git-fetch)
3677 (uri (git-reference
3678 (url "https://github.com/djcb/dream-theme")
3679 (commit commit)))
3680 (file-name (string-append name "-" version "-checkout"))
3681 (sha256
3682 (base32
3683 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
3684 (build-system emacs-build-system)
3685 (home-page "https://github.com/djcb/dream-theme")
3686 (synopsis "High-contrast Emacs theme")
3687 (description
3688 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
3689 by zenburn, sinburn and similar themes, but slowly diverging from them.")
3690 (license license:gpl3+))))
3691
3692 (define-public emacs-auto-complete
3693 (package
3694 (name "emacs-auto-complete")
3695 (version "1.5.1")
3696 (source
3697 (origin
3698 (method url-fetch)
3699 (uri (string-append "https://github.com/auto-complete/"
3700 "auto-complete/archive/v" version ".tar.gz"))
3701 (sha256
3702 (base32
3703 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
3704 (file-name (string-append name "-" version ".tar.gz"))))
3705 (build-system emacs-build-system)
3706 (propagated-inputs
3707 `(("emacs-popup" ,emacs-popup)))
3708 (home-page "https://github.com/auto-complete/auto-complete")
3709 (synopsis "Intelligent auto-completion extension for Emacs")
3710 (description
3711 "Auto-Complete is an intelligent auto-completion extension for Emacs.
3712 It extends the standard Emacs completion interface and provides an environment
3713 that allows users to concentrate more on their own work. Its features are:
3714 a visual interface, reduce overhead of completion by using statistic method,
3715 extensibility.")
3716 (license license:gpl3+)))
3717
3718 (define-public m17n-db
3719 (package
3720 (name "m17n-db")
3721 (version "1.7.0")
3722 (source
3723 (origin
3724 (method url-fetch)
3725 (uri (string-append "mirror://savannah/m17n/m17n-db-"
3726 version ".tar.gz"))
3727 (sha256
3728 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
3729 (build-system gnu-build-system)
3730 (inputs
3731 `(("gettext" ,gettext-minimal)))
3732 (arguments
3733 `(#:configure-flags
3734 (list (string-append "--with-charmaps="
3735 (assoc-ref %build-inputs "libc")
3736 "/share/i18n/charmaps"))))
3737 ;; With `guix lint' the home-page URI returns a small page saying
3738 ;; that your browser does not handle frames. This triggers the "URI
3739 ;; returns suspiciously small file" warning.
3740 (home-page "http://www.nongnu.org/m17n/")
3741 (synopsis "Multilingual text processing library (database)")
3742 (description "The m17n library realizes multilingualization of
3743 many aspects of applications. The m17n library represents
3744 multilingual text as an object named M-text. M-text is a string with
3745 attributes called text properties, and designed to substitute for
3746 string in C. Text properties carry any information required to input,
3747 display and edit the text.
3748
3749 This package contains the library database.")
3750 (license license:lgpl2.1+)))
3751
3752 (define-public m17n-lib
3753 (package
3754 (name "m17n-lib")
3755 (version "1.7.0")
3756 (source
3757 (origin
3758 (method url-fetch)
3759 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
3760 version ".tar.gz"))
3761 (sha256
3762 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
3763 (build-system gnu-build-system)
3764 (inputs
3765 `(("fribidi" ,fribidi)
3766 ("gd" ,gd)
3767 ("libotf" ,libotf)
3768 ("libxft" ,libxft)
3769 ("libxml2" ,libxml2)
3770 ("m17n-db" ,m17n-db)))
3771 (arguments
3772 `(#:parallel-build? #f))
3773 ;; With `guix lint' the home-page URI returns a small page saying
3774 ;; that your browser does not handle frames. This triggers the "URI
3775 ;; returns suspiciously small file" warning.
3776 (home-page "http://www.nongnu.org/m17n/")
3777 (synopsis "Multilingual text processing library (runtime)")
3778 (description "The m17n library realizes multilingualization of
3779 many aspects of applications. The m17n library represents
3780 multilingual text as an object named M-text. M-text is a string with
3781 attributes called text properties, and designed to substitute for
3782 string in C. Text properties carry any information required to input,
3783 display and edit the text.
3784
3785 This package contains the library runtime.")
3786 (license license:lgpl2.1+)))
3787
3788 (define-public emacs-nginx-mode
3789 (package
3790 (name "emacs-nginx-mode")
3791 (version "1.1.4")
3792 (source
3793 (origin
3794 (method url-fetch)
3795 (uri (string-append
3796 "https://github.com/ajc/nginx-mode/archive/v"
3797 version ".tar.gz"))
3798 (file-name (string-append name "-" version ".tar.gz"))
3799 (sha256
3800 (base32
3801 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
3802 (build-system emacs-build-system)
3803 (home-page "https://github.com/ajc/nginx-mode")
3804 (synopsis "Emacs major mode for editing nginx config files")
3805 (description "This package provides an Emacs major mode for
3806 editing nginx config files.")
3807 (license license:gpl2+)))
3808
3809 (define-public emacs-stream
3810 (package
3811 (name "emacs-stream")
3812 (version "2.2.0")
3813 (home-page "https://github.com/NicolasPetton/stream")
3814 (source
3815 (origin
3816 (method url-fetch)
3817 (file-name (string-append name "-" version ".tar.gz"))
3818 (uri (string-append home-page "/archive/"version ".tar.gz"))
3819 (sha256
3820 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
3821 (build-system emacs-build-system)
3822 (synopsis "Implementation of streams for Emacs")
3823 (description "This library provides an implementation of streams for Emacs.
3824 Streams are implemented as delayed evaluation of cons cells.")
3825 (license license:gpl3+)))
3826
3827 (define-public emacs-el-search
3828 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
3829 (revision "1"))
3830 (package
3831 (name "emacs-el-search")
3832 ;; No ufficial release.
3833 (version (string-append "0.0-" revision "." (string-take commit 7)))
3834 (home-page "https://github.com/emacsmirror/el-search")
3835 (source
3836 (origin
3837 (method git-fetch)
3838 (file-name (string-append name "-" version ".tar.gz"))
3839 (uri (git-reference
3840 (commit commit)
3841 (url (string-append home-page ".git"))))
3842 (sha256
3843 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
3844 (build-system emacs-build-system)
3845 (inputs `(("emacs-stream" ,emacs-stream)))
3846 (synopsis "Expression based interactive search for emacs-lisp-mode")
3847 (description "This package provides expression based interactive search
3848 procedures for emacs-lisp-mode.")
3849 (license license:gpl3+))))
3850
3851 (define-public emacs-ht
3852 (package
3853 (name "emacs-ht")
3854 (version "2.1")
3855 (source
3856 (origin
3857 (method url-fetch)
3858 (uri (string-append
3859 "https://github.com/Wilfred/ht.el/archive/"
3860 version ".tar.gz"))
3861 (file-name (string-append name "-" version ".tar.gz"))
3862 (sha256
3863 (base32
3864 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
3865 (build-system emacs-build-system)
3866 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
3867 (home-page "https://github.com/Wilfred/ht.el")
3868 (synopsis "Hash table library for Emacs")
3869 (description
3870 "This package simplifies the use of hash tables in elisp. It also
3871 provides functions to convert hash tables from and to alists and plists.")
3872 (license license:gpl3+)))
3873
3874 (define-public emacs-log4e
3875 (package
3876 (name "emacs-log4e")
3877 (version "0.3.0")
3878 (source
3879 (origin
3880 (method url-fetch)
3881 (uri (string-append
3882 "https://github.com/aki2o/log4e/archive/v"
3883 version ".tar.gz"))
3884 (file-name (string-append name "-" version ".tar.gz"))
3885 (sha256
3886 (base32
3887 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
3888 (build-system emacs-build-system)
3889 (arguments
3890 `(#:phases
3891 (modify-phases %standard-phases
3892 (add-after 'unpack 'remove-tests
3893 ;; Guile builder complains about null characters in some
3894 ;; strings of test files. Remove "test" directory (it is not
3895 ;; needed anyway).
3896 (lambda _
3897 (delete-file-recursively "test"))))))
3898 (home-page "https://github.com/aki2o/log4e")
3899 (synopsis "Logging framework for elisp")
3900 (description
3901 "This package provides a logging framework for elisp. It allows
3902 you to deal with multiple log levels.")
3903 (license license:gpl3+)))
3904
3905 (define-public emacs-gntp
3906 (package
3907 (name "emacs-gntp")
3908 (version "0.1")
3909 (source
3910 (origin
3911 (method url-fetch)
3912 (uri (string-append
3913 "https://github.com/tekai/gntp.el/archive/v"
3914 version ".tar.gz"))
3915 (file-name (string-append name "-" version ".tar.gz"))
3916 (sha256
3917 (base32
3918 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
3919 (build-system emacs-build-system)
3920 (home-page "https://github.com/tekai/gntp.el")
3921 (synopsis "Growl Notification Protocol for Emacs")
3922 (description
3923 "This package implements the Growl Notification Protocol GNTP
3924 described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
3925 It is incomplete as it only lets you send but not receive
3926 notifications.")
3927 (license license:bsd-3)))
3928
3929 (define-public emacs-alert
3930 (package
3931 (name "emacs-alert")
3932 (version "1.2")
3933 (source
3934 (origin
3935 (method url-fetch)
3936 (uri (string-append
3937 "https://github.com/jwiegley/alert/archive/v"
3938 version ".tar.gz"))
3939 (file-name (string-append name "-" version ".tar.gz"))
3940 (sha256
3941 (base32
3942 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
3943 (build-system emacs-build-system)
3944 (propagated-inputs
3945 `(("emacs-gntp" ,emacs-gntp)
3946 ("emacs-log4e" ,emacs-log4e)))
3947 (home-page "https://github.com/jwiegley/alert")
3948 (synopsis "Growl-style notification system for Emacs")
3949 (description
3950 "Alert is a Growl-workalike for Emacs which uses a common notification
3951 interface and multiple, selectable \"styles\", whose use is fully
3952 customizable by the user.")
3953 (license license:gpl2+)))
3954
3955 (define-public emacs-mu4e-alert
3956 (package
3957 (name "emacs-mu4e-alert")
3958 (version "1.0")
3959 (source
3960 (origin
3961 (method url-fetch)
3962 (uri (string-append
3963 "https://github.com/iqbalansari/mu4e-alert/archive/v"
3964 version ".tar.gz"))
3965 (file-name (string-append name "-" version ".tar.gz"))
3966 (sha256
3967 (base32
3968 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
3969 (build-system emacs-build-system)
3970 (propagated-inputs
3971 `(("emacs-alert" ,emacs-alert)
3972 ("emacs-s" ,emacs-s)
3973 ("emacs-ht" ,emacs-ht)))
3974 (home-page "https://github.com/iqbalansari/mu4e-alert")
3975 (synopsis "Desktop notification for mu4e")
3976 (description
3977 "This package provides desktop notifications for mu4e.
3978 Additionally it can display the number of unread emails in the
3979 mode-line.")
3980 (license license:gpl3+)))
3981
3982 (define-public emacs-pretty-mode
3983 (package
3984 (name "emacs-pretty-mode")
3985 (version "2.0.3")
3986 (source
3987 (origin
3988 (method url-fetch)
3989 (uri (string-append "https://github.com/akatov/pretty-mode/"
3990 "archive/" version ".tar.gz"))
3991 (file-name (string-append name "-" version ".tar.gz"))
3992 (sha256
3993 (base32
3994 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
3995 (build-system emacs-build-system)
3996 (home-page "https://github.com/akatov/pretty-mode")
3997 (synopsis "Redisplay parts of the buffer as Unicode symbols")
3998 (description
3999 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
4000 (license license:gpl3+)))
4001
4002 (define-public emacs-yasnippet
4003 (package
4004 (name "emacs-yasnippet")
4005 (version "0.11.0")
4006 (source (origin
4007 (method url-fetch)
4008 (uri (string-append "https://github.com/joaotavora/yasnippet/"
4009 "archive/" version ".tar.gz"))
4010 (file-name (string-append name "-" version ".tar.gz"))
4011 (sha256
4012 (base32
4013 "15di6mkkf09b7qddpsrm0qln02hji3sx8blya5jxssi9wxxx9iq5"))))
4014 (build-system emacs-build-system)
4015 (home-page "https://github.com/joaotavora/yasnippet")
4016 (synopsis "Yet another snippet extension for Emacs")
4017 (description
4018 "YASnippet is a template system for Emacs. It allows you to type an
4019 abbreviation and automatically expand it into function templates.")
4020 (license license:gpl3+)))
4021
4022 (define-public emacs-memoize
4023 (package
4024 (name "emacs-memoize")
4025 (version "20130421.b55eab0")
4026 (source
4027 (origin
4028 (method git-fetch)
4029 (uri (git-reference
4030 (url "https://github.com/skeeto/emacs-memoize")
4031 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
4032 (file-name (string-append name "-" version ".tar.gz"))
4033 (sha256
4034 (base32
4035 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
4036 (build-system emacs-build-system)
4037 (arguments
4038 `(#:phases
4039 (modify-phases %standard-phases
4040 (add-before 'install 'check
4041 (lambda _
4042 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
4043 "-l" "memoize-test.el"
4044 "-f" "ert-run-tests-batch-and-exit")))))))
4045 (home-page "https://github.com/skeeto/emacs-memoize")
4046 (synopsis "Emacs lisp memoization library")
4047 (description "@code{emacs-memoize} is an Emacs library for
4048 memoizing functions.")
4049 (license license:unlicense)))
4050
4051 (define-public emacs-linum-relative
4052 (package
4053 (name "emacs-linum-relative")
4054 (version "0.5")
4055 (source
4056 (origin
4057 (method url-fetch)
4058 (uri (string-append
4059 "https://github.com/coldnew/linum-relative/archive/"
4060 version ".tar.gz"))
4061 (file-name (string-append name "-" version ".tar.gz"))
4062 (sha256
4063 (base32
4064 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
4065 (build-system emacs-build-system)
4066 (home-page "https://github.com/coldnew/linum-relative")
4067 (synopsis "Relative line numbering for Emacs")
4068 (description "@code{emacs-linum-relative} displays the relative line
4069 number on the left margin in Emacs.")
4070 (license license:gpl2+)))
4071
4072 (define-public emacs-idle-highlight
4073 (package
4074 (name "emacs-idle-highlight")
4075 (version "1.1.3")
4076 (source
4077 (origin
4078 (method url-fetch)
4079 (uri (string-append
4080 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
4081 version ".tar.gz"))
4082 (file-name (string-append name "-" version ".tar.gz"))
4083 (sha256
4084 (base32
4085 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
4086 (build-system emacs-build-system)
4087 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
4088 (synopsis "Highlights all occurrences of the word the point is on")
4089 (description
4090 "This Emacs package provides @code{idle-highlight-mode} that sets
4091 an idle timer to highlight all occurrences in the buffer of the word under
4092 the point.")
4093 (license license:gpl3+)))
4094
4095 (define-public emacs-ox-twbs
4096 (package
4097 (name "emacs-ox-twbs")
4098 (version "1.1.1")
4099 (source
4100 (origin
4101 (method url-fetch)
4102 (uri (string-append
4103 "https://github.com/marsmining/ox-twbs/archive/v"
4104 version ".tar.gz"))
4105 (file-name (string-append name "-" version ".tar.gz"))
4106 (sha256
4107 (base32
4108 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
4109 (build-system emacs-build-system)
4110 (home-page "https://github.com/marsmining/ox-twbs")
4111 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
4112 (description
4113 "This Emacs package outputs your org-mode docs with a simple, clean and
4114 modern look. It implements a new HTML back-end for exporting org-mode docs as
4115 HTML compatible with Twitter Bootstrap. By default, HTML is exported with
4116 jQuery and Bootstrap resources included via osscdn.")
4117 (license license:gpl3+)))
4118
4119 (define-public emacs-highlight-sexp
4120 (package
4121 (name "emacs-highlight-sexp")
4122 (version "1.0")
4123 (source
4124 (origin
4125 (method url-fetch)
4126 (uri (string-append
4127 "https://github.com/daimrod/highlight-sexp/archive/v"
4128 version ".tar.gz"))
4129 (file-name (string-append name "-" version ".tar.gz"))
4130 (sha256
4131 (base32
4132 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
4133 (build-system emacs-build-system)
4134 (home-page "https://github.com/daimrod/highlight-sexp")
4135 (synopsis "Minor mode that highlights the s-exp at the current position")
4136 (description
4137 "This Emacs package highlights the s-exp at the current position.")
4138 (license license:gpl3+)))
4139
4140 (define-public emacspeak
4141 (package
4142 (name "emacspeak")
4143 (version "45.0")
4144 (source
4145 (origin
4146 (method url-fetch)
4147 (uri (string-append
4148 "https://github.com/tvraman/emacspeak/releases/download/"
4149 version "/emacspeak-" version ".tar.bz2"))
4150 (sha256
4151 (base32
4152 "0npcr867xbbhwa0i7v26hnk4z2d51522jwcfwc594j74kbv3g6ka"))))
4153 (build-system gnu-build-system)
4154 (arguments
4155 '(#:make-flags (list (string-append "prefix="
4156 (assoc-ref %outputs "out")))
4157 #:phases
4158 (modify-phases %standard-phases
4159 (replace 'configure
4160 (lambda* (#:key outputs #:allow-other-keys)
4161 (substitute* "Makefile"
4162 (("\\$\\(INSTALL\\) -d \\$\\(libdir\\)/servers/linux-outloud")
4163 "")
4164 (("\\$\\(INSTALL\\) -m 755 \\$\\{OUTLOUD\\}.*$") "")
4165 (("\\*info\\*") "*"))
4166 (substitute* "etc/emacspeak.sh.def"
4167 (("<emacspeak-dir>")
4168 (string-append (assoc-ref outputs "out")
4169 "/share/emacs/site-lisp/emacspeak/lisp")))
4170 (zero? (system* "make" "config"))))
4171 (add-after 'install 'install-espeak-server
4172 (lambda* (#:key outputs #:allow-other-keys)
4173 (let ((out (assoc-ref outputs "out")))
4174 (with-directory-excursion "servers/linux-espeak"
4175 (and (zero? (system* "make"))
4176 (zero? (system* "make" "install"
4177 (string-append "PREFIX=" out))))))))
4178 (add-after 'install-espeak-server 'wrap-program
4179 (lambda* (#:key inputs outputs #:allow-other-keys)
4180 (let* ((out (assoc-ref outputs "out"))
4181 (emacspeak (string-append out "/bin/emacspeak"))
4182 (espeak (string-append (assoc-ref inputs "espeak")
4183 "/bin/espeak")))
4184 ;; The environment variable DTK_PROGRAM tells emacspeak what
4185 ;; program to use for speech.
4186 (wrap-program emacspeak
4187 `("DTK_PROGRAM" ":" prefix (,espeak)))
4188 #t))))
4189 #:tests? #f)) ; no check target
4190 (inputs
4191 `(("espeak" ,espeak)
4192 ("tcl" ,tcl)
4193 ("tclx" ,tclx)))
4194 (native-inputs `(("emacs" ,emacs-minimal)))
4195 (home-page "http://emacspeak.sourceforge.net")
4196 (synopsis "Audio desktop interface for Emacs")
4197 (description
4198 "Emacspeak is a speech interface that allows visually impaired users to
4199 interact independently and efficiently with the computer. Audio formatting
4200 --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
4201 allows Emacspeak to produce rich aural presentations of electronic information.
4202 By seamlessly blending all aspects of the Internet such as Web-surfing and
4203 messaging, Emacspeak speech-enables local and remote information via a
4204 consistent and well-integrated user interface.")
4205 (license license:gpl2+)))
4206
4207 (define-public emacs-adaptive-wrap
4208 (package
4209 (name "emacs-adaptive-wrap")
4210 (version "0.5")
4211 (source (origin
4212 (method url-fetch)
4213 (uri (string-append
4214 "http://elpa.gnu.org/packages/adaptive-wrap-"
4215 version ".el"))
4216 (sha256
4217 (base32
4218 "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
4219 (build-system emacs-build-system)
4220 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
4221 (synopsis "Smart line-wrapping with wrap-prefix")
4222 (description
4223 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
4224 minor mode which sets the wrap-prefix property on the fly so that
4225 single-long-line paragraphs get word-wrapped in a way similar to what
4226 you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
4227 actually changing the buffer's text.")
4228 (license license:gpl3+)))
4229
4230 (define-public emacs-diminish
4231 (package
4232 (name "emacs-diminish")
4233 (version "0.45")
4234 (source
4235 (origin
4236 (method url-fetch)
4237 (uri (string-append
4238 "https://github.com/myrjola/diminish.el/archive/v"
4239 version ".tar.gz"))
4240 (file-name (string-append name "-" version ".tar.gz"))
4241 (sha256
4242 (base32
4243 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
4244 (build-system emacs-build-system)
4245 (home-page "https://github.com/myrjola/diminish.el")
4246 (synopsis "Diminish minor modes with no modeline display")
4247 (description "@code{emacs-diminish} implements hiding or
4248 abbreviation of the mode line displays (lighters) of minor modes.")
4249 (license license:gpl2+)))
4250
4251 (define-public emacs-use-package
4252 (package
4253 (name "emacs-use-package")
4254 (version "2.3")
4255 (source
4256 (origin
4257 (method url-fetch)
4258 (uri (string-append
4259 "https://github.com/jwiegley/use-package/archive/"
4260 version ".tar.gz"))
4261 (file-name (string-append name "-" version ".tar.gz"))
4262 (sha256
4263 (base32
4264 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
4265 (build-system emacs-build-system)
4266 (propagated-inputs
4267 `(("emacs-diminish" ,emacs-diminish)))
4268 (arguments
4269 `(#:phases
4270 (modify-phases %standard-phases
4271 (add-before 'install 'check
4272 (lambda _
4273 (zero? (system* "emacs" "--batch" "-L" "."
4274 "-l" "use-package-tests.el"
4275 "-f" "ert-run-tests-batch-and-exit"))
4276 ;; Tests fail in this release, but have been fixed in
4277 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
4278 #t)))))
4279 (home-page "https://github.com/jwiegley/use-package")
4280 (synopsis "Declaration for simplifying your .emacs")
4281 (description "The use-package macro allows you to isolate package
4282 configuration in your @file{.emacs} file in a way that is both
4283 performance-oriented and tidy.")
4284 (license license:gpl2+)))
4285
4286 (define-public emacs-strace-mode
4287 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
4288 (revision "1"))
4289 (package
4290 (name "emacs-strace-mode")
4291 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
4292 (source (origin
4293 (method git-fetch)
4294 (uri (git-reference
4295 (url "https://github.com/pkmoore/strace-mode")
4296 (commit commit)))
4297 (file-name (string-append name "-" version "-checkout"))
4298 (sha256
4299 (base32
4300 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
4301 (build-system emacs-build-system)
4302 (home-page "https://github.com/pkmoore/strace-mode")
4303 (synopsis "Emacs major mode to highlight strace outputs")
4304 (description "@code{emacs-strace-mode} provides an Emacs major mode
4305 highlighting strace outputs.")
4306 (license license:gpl3+))))
4307
4308 (define-public emacs-default-encrypt
4309 (package
4310 (name "emacs-default-encrypt")
4311 (version "4.3")
4312 (source
4313 (origin
4314 (method url-fetch)
4315 (uri (string-append
4316 "https://www.informationelle-selbstbestimmung-im-internet.de"
4317 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
4318 (file-name (string-append "jl-encrypt-" version ".el"))
4319 (sha256
4320 (base32
4321 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
4322 (build-system emacs-build-system)
4323 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
4324 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
4325 (description
4326 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
4327 automatically encrypts messages that you send (e.g., email) when public keys
4328 for all recipients are available, and it protects you from accidentally
4329 sending un-encrypted messages. It can also be configured to automatically
4330 sign messages that you send. For details and instructions on how to use
4331 DefaultEncrypt, please refer to the home page or read the comments in the
4332 source file, @file{jl-encrypt.el}.")
4333 (license license:gpl3+)))
4334
4335 (define-public emacs-htmlize
4336 (package
4337 (name "emacs-htmlize")
4338 (version "1.51")
4339 (source
4340 (origin
4341 (method url-fetch)
4342 (uri (string-append
4343 "https://github.com/hniksic/emacs-htmlize/archive/release/"
4344 version ".tar.gz"))
4345 (file-name (string-append name "-" version ".tar.gz"))
4346 (sha256
4347 (base32
4348 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
4349 (build-system emacs-build-system)
4350 (home-page "https://github.com/hniksic/emacs-htmlize")
4351 (synopsis "Convert buffer text and decorations to HTML")
4352 (description "@code{emacs-htmlize} converts the buffer text and
4353 the associated decorations to HTML. Output to CSS, inline CSS and
4354 fonts is supported.")
4355 (license license:gpl2+)))
4356
4357 (define-public emacs-xmlgen
4358 (package
4359 (name "emacs-xmlgen")
4360 (version "0.5")
4361 (source
4362 (origin
4363 (method url-fetch)
4364 (uri (string-append
4365 "https://github.com/philjackson/xmlgen/archive/"
4366 version ".tar.gz"))
4367 (file-name (string-append name "-" version ".tar.gz"))
4368 (sha256
4369 (base32
4370 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
4371 (build-system emacs-build-system)
4372 (arguments
4373 `(#:phases
4374 (modify-phases %standard-phases
4375 (add-before 'install 'check
4376 (lambda _
4377 (zero? (system* "emacs" "--batch" "-L" "."
4378 "-l" "xmlgen-test.el"
4379 "-f" "ert-run-tests-batch-and-exit")))))))
4380 (home-page "https://github.com/philjackson/xmlgen")
4381 (synopsis "S-expression to XML domain specific language (DSL) in
4382 Emacs Lisp")
4383 (description "@code{emacs-xmlgen} provides S-expression to XML
4384 conversion for Emacs Lisp.")
4385 (license license:gpl2+)))
4386
4387 (define-public emacs-cdlatex
4388 (package
4389 (name "emacs-cdlatex")
4390 (version "4.7")
4391 (source
4392 (origin
4393 (method url-fetch)
4394 (uri (string-append
4395 "https://github.com/cdominik/cdlatex/archive/"
4396 version ".tar.gz"))
4397 (file-name (string-append name "-" version ".tar.gz"))
4398 (sha256
4399 (base32
4400 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
4401 (build-system emacs-build-system)
4402 (home-page "https://github.com/cdominik/cdlatex")
4403 (synopsis "Fast Emacs input methods for LaTeX environments and
4404 math")
4405 (description "CDLaTeX is an Emacs minor mode supporting fast
4406 insertion of environment templates and math in LaTeX. Similar
4407 commands are also offered as part of the AUCTeX package, but it is not
4408 the same - CDLaTeX focuses on speediness for inserting LaTeX
4409 constructs.")
4410 (license license:gpl3+)))
4411
4412 (define-public emacs-xelb
4413 (package
4414 (name "emacs-xelb")
4415 (version "0.12")
4416 (source (origin
4417 (method url-fetch)
4418 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
4419 version ".tar"))
4420 (sha256
4421 (base32
4422 "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
4423 (build-system emacs-build-system)
4424 ;; The following functions and variables needed by emacs-xelb are
4425 ;; not included in emacs-minimal:
4426 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
4427 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
4428 ;; x-display-pixel-width, x-display-pixel-height
4429 (arguments
4430 `(#:emacs ,emacs
4431 #:phases
4432 (modify-phases %standard-phases
4433 (add-after 'unpack 'regenerate-el-files
4434 (lambda* (#:key inputs #:allow-other-keys)
4435 (zero? (system* "make"
4436 (string-append "PROTO_PATH="
4437 (assoc-ref inputs "xcb-proto")
4438 "/share/xcb")
4439 (string-append "EMACS_BIN="
4440 (assoc-ref inputs "emacs")
4441 "/bin/emacs -Q"))))))))
4442 (native-inputs `(("xcb-proto" ,xcb-proto)))
4443 (home-page "https://github.com/ch11ng/xelb")
4444 (synopsis "X protocol Emacs Lisp binding")
4445 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
4446 X11 protocol based on the XML description files from the XCB project. It
4447 features an object-oriented API and permits a certain degree of concurrency.
4448 It should enable you to implement low-level X11 applications.")
4449 (license license:gpl3+)))
4450
4451 (define-public emacs-exwm
4452 (package
4453 (name "emacs-exwm")
4454 (version "0.13")
4455 (synopsis "Emacs X window manager")
4456 (source (origin
4457 (method url-fetch)
4458 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
4459 version ".tar"))
4460 (sha256
4461 (base32
4462 "0n1wzy6chh024r0yaywjbf7mdsrxs6hrfycv5v0ps0drf6q3zldc"))))
4463 (build-system emacs-build-system)
4464 (propagated-inputs
4465 `(("emacs-xelb" ,emacs-xelb)))
4466 (inputs
4467 `(("xhost" ,xhost)
4468 ("dbus" ,dbus)))
4469 ;; The following functions and variables needed by emacs-exwm are
4470 ;; not included in emacs-minimal:
4471 ;; scroll-bar-mode, fringe-mode
4472 ;; x-display-pixel-width, x-display-pixel-height
4473 (arguments
4474 `(#:emacs ,emacs
4475 #:phases
4476 (modify-phases %standard-phases
4477 (add-after 'build 'install-xsession
4478 (lambda* (#:key inputs outputs #:allow-other-keys)
4479 (let* ((out (assoc-ref outputs "out"))
4480 (xsessions (string-append out "/share/xsessions"))
4481 (bin (string-append out "/bin"))
4482 (exwm-executable (string-append bin "/exwm")))
4483 ;; Add a .desktop file to xsessions
4484 (mkdir-p xsessions)
4485 (mkdir-p bin)
4486 (with-output-to-file
4487 (string-append xsessions "/exwm.desktop")
4488 (lambda _
4489 (format #t "[Desktop Entry]~@
4490 Name=~a~@
4491 Comment=~a~@
4492 Exec=~a~@
4493 TryExec=~@*~a~@
4494 Type=Application~%" ,name ,synopsis exwm-executable)))
4495 ;; Add a shell wrapper to bin
4496 ;; Set DISPLAY variable to work around
4497 ;; https://github.com/ch11ng/exwm/issues/213
4498 (with-output-to-file exwm-executable
4499 (lambda _
4500 (format #t "#!~a ~@
4501 export DISPLAY=:0 ~@
4502 ~a +SI:localuser:$USER ~@
4503 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
4504 (string-append (assoc-ref inputs "bash") "/bin/sh")
4505 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
4506 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
4507 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
4508 '(cond
4509 ((file-exists-p "~/.exwm")
4510 (load-file "~/.exwm"))
4511 ((not (featurep 'exwm))
4512 (require 'exwm)
4513 (require 'exwm-config)
4514 (exwm-config-default)
4515 (message "exwm configuration not found. Falling back to default configuration..."))))))
4516 (chmod exwm-executable #o555)
4517 #t))))))
4518 (home-page "https://github.com/ch11ng/exwm")
4519 (description "EXWM is a full-featured tiling X window manager for Emacs
4520 built on top of XELB.")
4521 (license license:gpl3+)))
4522
4523 (define-public emacs-gnuplot
4524 (package
4525 (name "emacs-gnuplot")
4526 (version "0.7.0")
4527 (source
4528 (origin
4529 (method url-fetch)
4530 (uri (string-append
4531 "https://github.com/bruceravel/gnuplot-mode/archive/"
4532 version ".tar.gz"))
4533 (file-name (string-append name "-" version ".tar.gz"))
4534 (sha256
4535 (base32
4536 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
4537 (build-system gnu-build-system)
4538 (native-inputs `(("emacs" ,emacs-minimal)))
4539 (arguments
4540 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
4541 "/gnuplot-" version)))
4542 `(#:modules ((guix build gnu-build-system)
4543 (guix build utils)
4544 (guix build emacs-utils))
4545 #:imported-modules (,@%gnu-build-system-modules
4546 (guix build emacs-utils))
4547 #:configure-flags
4548 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
4549 "/bin/emacs")
4550 (string-append "--with-lispdir=" %output ,elisp-dir))
4551 #:phases
4552 (modify-phases %standard-phases
4553 (add-after 'install 'generate-autoloads
4554 (lambda* (#:key outputs #:allow-other-keys)
4555 (emacs-generate-autoloads
4556 "gnuplot"
4557 (string-append (assoc-ref outputs "out") ,elisp-dir))
4558 #t))))))
4559 (home-page "https://github.com/bruceravel/gnuplot-mode")
4560 (synopsis "Emacs major mode for interacting with gnuplot")
4561 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
4562 with gnuplot.")
4563 (license license:gpl2+)))