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