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