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