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