gnu: Add emacs-zoutline.
[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>
02267798 3;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
84fe4420 4;;; Copyright © 2014, 2015, 2016, 2017, 2018 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>
5a545aab 7;;; Copyright © 2015, 2016, 2017, 2018 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>
995b7069 11;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
c5c08f1b 12;;; Copyright © 2016 David Thompson <davet@gnu.org>
ae609001 13;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
fd2d17cd 14;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
4a78fd46 15;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
46bd4515 16;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
7ad05d85 17;;; Copyright © 2016, 2017, 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
d3150731 18;;; Copyright © 2016, 2017 Alex Vong <alexvong1995@gmail.com>
2891ea39 19;;; Copyright © 2016, 2017, 2018 Arun Isaac <arunisaac@systemreboot.net>
cf006d2e 20;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
1e523180 21;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
30cf7070 22;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
4d3d3bd2 23;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
4fca8a02 24;;; Copyright © 2017, 2018 Kyle Meyer <kyle@kyleam.com>
3c8ba11a 25;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
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>
b0912e9f 29;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
de2e402b 30;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
b9dcaced 31;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
370ae985 32;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
491cbd35 33;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
33ca12f3 34;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
62d1105c 35;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
c3581ef9 36;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
468bdabb
LC
37;;;
38;;; This file is part of GNU Guix.
39;;;
40;;; GNU Guix is free software; you can redistribute it and/or modify it
41;;; under the terms of the GNU General Public License as published by
42;;; the Free Software Foundation; either version 3 of the License, or (at
43;;; your option) any later version.
44;;;
45;;; GNU Guix is distributed in the hope that it will be useful, but
46;;; WITHOUT ANY WARRANTY; without even the implied warranty of
47;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48;;; GNU General Public License for more details.
49;;;
50;;; You should have received a copy of the GNU General Public License
51;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
52
1ffa7090 53(define-module (gnu packages emacs)
f61e0e79 54 #:use-module ((guix licenses) #:prefix license:)
468bdabb
LC
55 #:use-module (guix packages)
56 #:use-module (guix download)
f906d30c 57 #:use-module (guix git-download)
e5045f30
FB
58 #:use-module (guix gexp)
59 #:use-module (guix monads)
60 #:use-module (guix store)
468bdabb 61 #:use-module (guix build-system gnu)
78395334 62 #:use-module (guix build-system emacs)
71f57158 63 #:use-module (guix build-system glib-or-gtk)
fe4163f3 64 #:use-module (guix build-system trivial)
59a43334 65 #:use-module (gnu packages)
acf7d4a7 66 #:use-module (gnu packages audio)
4aafce22 67 #:use-module (gnu packages bash)
cf006d2e 68 #:use-module (gnu packages code)
4d089b5e 69 #:use-module (gnu packages databases)
f906d30c 70 #:use-module (gnu packages guile)
7abe1965 71 #:use-module (gnu packages gtk)
8ba4dc63 72 #:use-module (gnu packages gnome)
1ffa7090 73 #:use-module (gnu packages ncurses)
99517d92 74 #:use-module (gnu packages python)
41184943 75 #:use-module (gnu packages tex)
1ffa7090 76 #:use-module (gnu packages texinfo)
acf7d4a7 77 #:use-module (gnu packages tcl)
a7fd7b68 78 #:use-module (gnu packages tls)
4f028c8f 79 #:use-module (gnu packages pkg-config)
50efa797
LC
80 #:use-module (gnu packages xorg)
81 #:use-module (gnu packages lesstif)
e55354b8 82 #:use-module (gnu packages image)
504a83af 83 #:use-module (gnu packages linux)
9a4c9715 84 #:use-module (gnu packages version-control)
18d26210
MW
85 #:use-module (gnu packages imagemagick)
86 #:use-module (gnu packages w3m)
89925972 87 #:use-module (gnu packages wget)
18d26210 88 #:use-module (gnu packages autotools)
be379ee7 89 #:use-module (gnu packages base)
f61e0e79 90 #:use-module (gnu packages compression)
50efa797 91 #:use-module (gnu packages xml)
4a3e602c 92 #:use-module (gnu packages glib)
388fd01b 93 #:use-module (gnu packages acl)
b6efe0e8 94 #:use-module (gnu packages mail)
13fe4891 95 #:use-module (gnu packages package-management)
77c9286d 96 #:use-module (gnu packages perl)
ec9825d6 97 #:use-module (gnu packages pdf)
58a7dc13 98 #:use-module (gnu packages scheme)
41184943 99 #:use-module (gnu packages statistics)
77c9286d
LC
100 #:use-module (gnu packages xiph)
101 #:use-module (gnu packages mp3)
154c71e0 102 #:use-module (gnu packages gettext)
a80b60f4
AI
103 #:use-module (gnu packages fribidi)
104 #:use-module (gnu packages gd)
105 #:use-module (gnu packages fontutils)
03efe78c 106 #:use-module (gnu packages password-utils)
4a3e602c 107 #:use-module (guix utils)
87449013
AI
108 #:use-module (srfi srfi-1)
109 #:use-module (ice-9 match))
468bdabb
LC
110
111(define-public emacs
112 (package
113 (name "emacs")
0cdb6ab4 114 (version "25.3")
468bdabb
LC
115 (source (origin
116 (method url-fetch)
117 (uri (string-append "mirror://gnu/emacs/emacs-"
3be9f724 118 version ".tar.xz"))
468bdabb
LC
119 (sha256
120 (base32
0cdb6ab4 121 "02y00y9q42g1iqgz5qhmsja75hwxd88yrn9zp14lanay0zkwafi5"))
fc1adab1 122 (patches (search-patches "emacs-exec-path.patch"
4509ec72 123 "emacs-fix-scheme-indent-function.patch"
0cdb6ab4 124 "emacs-source-date-epoch.patch"))
486f36eb
AK
125 (modules '((guix build utils)))
126 (snippet
127 ;; Delete the bundled byte-compiled elisp files and
128 ;; generated autoloads.
129 '(with-directory-excursion "lisp"
130 (for-each delete-file
131 (append (find-files "." "\\.elc$")
132 (find-files "." "loaddefs\\.el$")
133 ;; This is the only "autoloads" file that
134 ;; does not have "*loaddefs.el" name.
dc701091
LC
135 '("eshell/esh-groups.el")))
136
137 ;; Make sure Tramp looks for binaries in the right places on
138 ;; remote GuixSD machines, where 'getconf PATH' returns
139 ;; something bogus.
140 (substitute* "net/tramp-sh.el"
141 ;; Patch the line after "(defcustom tramp-remote-path".
142 (("\\(tramp-default-remote-path")
143 (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
144 "~/.guix-profile/bin" "~/.guix-profile/sbin"
145 "/run/current-system/profile/bin"
d1c11418
OP
146 "/run/current-system/profile/sbin")))
147
148 ;; Make sure Man looks for C header files in the right
149 ;; places.
150 (substitute* "man.el"
151 (("\"/usr/local/include\"" line)
152 (string-join
153 (list line
154 "\"~/.guix-profile/include\""
155 "\"/var/guix/profiles/system/profile/include\"")
156 " ")))))))
71f57158 157 (build-system glib-or-gtk-build-system)
468bdabb 158 (arguments
13fe4891
FB
159 `(#:phases
160 (modify-phases %standard-phases
161 (add-before 'configure 'fix-/bin/pwd
162 (lambda _
163 ;; Use `pwd', not `/bin/pwd'.
164 (substitute* (find-files "." "^Makefile\\.in$")
165 (("/bin/pwd")
166 "pwd"))))
13fe4891 167 (add-after 'install 'install-site-start
59d04f63
AK
168 ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
169 ;; provided by Guix and installed in
13fe4891
FB
170 ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
171 ;; automatically found.
172 (lambda* (#:key inputs outputs #:allow-other-keys)
59d04f63
AK
173 (let* ((out (assoc-ref outputs "out"))
174 (lisp-dir (string-append out "/share/emacs/site-lisp")))
175 (copy-file (assoc-ref inputs "guix-emacs.el")
176 (string-append lisp-dir "/guix-emacs.el"))
13fe4891
FB
177 (with-output-to-file (string-append lisp-dir "/site-start.el")
178 (lambda ()
9bd94544
AK
179 (display
180 (string-append "(when (require 'guix-emacs nil t)\n"
181 " (guix-emacs-autoload-packages))\n"))))
13fe4891 182 #t))))))
468bdabb 183 (inputs
c4c4cc05 184 `(("gnutls" ,gnutls)
468bdabb
LC
185 ("ncurses" ,ncurses)
186
187 ;; TODO: Add the optional dependencies.
fa275717 188 ("libx11" ,libx11)
0a9e9a63 189 ("gtk+" ,gtk+)
fa275717 190 ("libxft" ,libxft)
50efa797 191 ("libtiff" ,libtiff)
504a83af 192 ("giflib" ,giflib)
50efa797 193 ("libjpeg" ,libjpeg-8)
eb737a27 194 ("imagemagick" ,imagemagick)
388fd01b 195 ("acl" ,acl)
50efa797
LC
196
197 ;; When looking for libpng `configure' links with `-lpng -lz', so we
198 ;; must also provide zlib as an input.
199 ("libpng" ,libpng)
f61e0e79 200 ("zlib" ,zlib)
50efa797 201
8ba4dc63 202 ("librsvg" ,librsvg)
fa275717 203 ("libxpm" ,libxpm)
50efa797 204 ("libxml2" ,libxml2)
504a83af
MW
205 ("libice" ,libice)
206 ("libsm" ,libsm)
207 ("alsa-lib" ,alsa-lib)
13fe4891 208 ("dbus" ,dbus)
01c5c21a
AI
209
210 ;; multilingualization support
211 ("libotf" ,libotf)
212 ("m17n-lib" ,m17n-lib)))
c4c4cc05 213 (native-inputs
59d04f63
AK
214 `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
215 ("pkg-config" ,pkg-config)
c4c4cc05 216 ("texinfo" ,texinfo)))
64c98347
LC
217
218 (native-search-paths
219 (list (search-path-specification
220 (variable "INFOPATH")
221 (files '("share/info")))))
222
6fd52309 223 (home-page "https://www.gnu.org/software/emacs/")
f50d2669 224 (synopsis "The extensible, customizable, self-documenting text editor")
468bdabb 225 (description
79c311b8
LC
226 "GNU Emacs is an extensible and highly customizable text editor. It is
227based on an Emacs Lisp interpreter with extensions for text editing. Emacs
228has been extended in essentially all areas of computing, giving rise to a
229vast array of packages supporting, e.g., email, IRC and XMPP messaging,
230spreadsheets, remote server editing, and much more. Emacs includes extensive
231documentation on all aspects of the system, from basic editing to writing
232large Lisp programs. It has full Unicode support for nearly all human
233languages.")
f61e0e79 234 (license license:gpl3+)))
4f028c8f 235
b2eaf7ba 236(define-public emacs-minimal
4fd540b7
LC
237 ;; This is the version that you should use as an input to packages that just
238 ;; need to byte-compile .el files.
b2eaf7ba
AK
239 (package (inherit emacs)
240 (name "emacs-minimal")
241 (synopsis "The extensible text editor (used only for byte-compilation)")
242 (build-system gnu-build-system)
243 (arguments
244 (substitute-keyword-arguments (package-arguments emacs)
245 ((#:phases phases)
246 `(modify-phases ,phases
247 (delete 'install-site-start)))))
248 (inputs
249 `(("ncurses" ,ncurses)))
250 (native-inputs
251 `(("pkg-config" ,pkg-config)))))
252
253(define-public emacs-no-x
4fd540b7 254 (package (inherit emacs)
4fd540b7
LC
255 (name "emacs-no-x")
256 (synopsis "The extensible, customizable, self-documenting text
257editor (console only)")
258 (build-system gnu-build-system)
259 (inputs (fold alist-delete
260 (package-inputs emacs)
261 '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
4adde2a9
MW
262 "imagemagick" "libpng" "librsvg" "libxpm" "libice"
263 "libsm"
4fd540b7 264
4adde2a9
MW
265 ;; These depend on libx11, so remove them as well.
266 "libotf" "m17n-lib" "dbus")))))
4fd540b7 267
4a3e602c
TUBK
268(define-public emacs-no-x-toolkit
269 (package (inherit emacs)
270 (name "emacs-no-x-toolkit")
271 (synopsis "The extensible, customizable, self-documenting text
272editor (without an X toolkit)" )
71f57158 273 (build-system gnu-build-system)
388fd01b
MW
274 (inputs (append `(("inotify-tools" ,inotify-tools))
275 (alist-delete "gtk+" (package-inputs emacs))))
276 (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
277 (package-arguments emacs)))))
4a3e602c 278
f906d30c
CAW
279(define-public guile-emacs
280 (package (inherit emacs)
281 (name "guile-emacs")
282 (version "20150512.41120e0")
283 (source (origin
284 (method git-fetch)
285 (uri (git-reference
286 (url "git://git.hcoop.net/git/bpt/emacs.git")
287 (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
995b7069 288 (file-name (string-append name "-" version "-checkout"))
68cb962a 289 (patches (search-patches "guile-emacs-fix-configure.patch"))
f906d30c
CAW
290 (sha256
291 (base32
292 "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
293 (native-inputs
294 `(("autoconf" ,autoconf)
295 ("automake" ,automake)
296 ("guile" ,guile-for-guile-emacs)
297 ,@(package-native-inputs emacs)))
298 (arguments
299 (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
300 #:parallel-build? #f
301 ;; Tests aren't passing for now.
302 #:tests? #f
303 ,@(package-arguments emacs))
304 ((#:phases phases)
305 `(modify-phases ,phases
306 (add-after 'unpack 'autogen
307 (lambda _
68cb962a
JN
308 (zero? (system* "sh" "autogen.sh"))))
309 ;; Build sometimes fails: deps/dispnew.d: No such file or directory
310 (add-before 'build 'make-deps-dir
311 (lambda _
312 (zero? (system* "mkdir" "-p" "src/deps"))))))))))
f906d30c 313
4f028c8f
LC
314\f
315;;;
316;;; Emacs hacking.
317;;;
318
319(define-public geiser
320 (package
321 (name "geiser")
113e23e0 322 (version "0.9")
4f028c8f
LC
323 (source (origin
324 (method url-fetch)
cf8f58b2
LC
325 (uri (string-append "mirror://savannah/geiser/" version
326 "/geiser-" version ".tar.gz"))
4f028c8f 327 (sha256
1f8ad12a 328 (base32
a9c61335 329 "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
4f028c8f 330 (build-system gnu-build-system)
d51cafb0 331 (arguments
dc1d3cde
KK
332 '(#:phases
333 (modify-phases %standard-phases
334 (add-after 'install 'post-install
335 (lambda* (#:key outputs #:allow-other-keys)
336 (symlink "geiser-install.el"
337 (string-append (assoc-ref outputs "out")
338 "/share/emacs/site-lisp/"
339 "geiser-autoloads.el"))
340 #t)))))
6aaf3899 341 (inputs `(("guile" ,guile-2.0)))
b8fc3622 342 (native-inputs `(("emacs" ,emacs-minimal)))
340978d7 343 (home-page "https://nongnu.org/geiser/")
4f028c8f
LC
344 (synopsis "Collection of Emacs modes for Guile and Racket hacking")
345 (description
9586011d
LC
346 "Geiser is a collection of Emacs major and minor modes that conspire with
347one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
348continuously running Scheme interpreter takes the center of the stage in
349Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
350implementation, Emacs and, ultimately, the schemer, giving them access to live
351metadata.")
f61e0e79 352 (license license:bsd-3)))
9a4c9715 353
11e4c1fd 354(define-public geiser-next
a9c61335
AK
355 ;; This has become "geiser".
356 (deprecated-package "geiser-next" geiser))
11e4c1fd 357
fe4163f3
MW
358(define-public paredit
359 (package
967cfd18 360 (name "emacs-paredit")
c181b870 361 (version "24")
fe4163f3 362 (source (origin
c181b870
AK
363 (method url-fetch)
364 (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
365 version ".el"))
366 (sha256
367 (base32
368 "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
79b3c930 369 (build-system emacs-build-system)
fe4163f3
MW
370 (home-page "http://mumble.net/~campbell/emacs/paredit/")
371 (synopsis "Emacs minor mode for editing parentheses")
372 (description
373 "ParEdit (paredit.el) is a minor mode for performing structured editing
374of S-expression data. The typical example of this would be Lisp or Scheme
375source code.
376
377ParEdit helps **keep parentheses balanced** and adds many keys for moving
378S-expressions and moving around in S-expressions. Its behavior can be jarring
379for those who may want transient periods of unbalanced parentheses, such as
380when typing parentheses directly or commenting out code line by line.")
f61e0e79 381 (license license:gpl3+)))
fe4163f3 382
967cfd18
LC
383(define-public paredit/old-name
384 (deprecated-package "paredit" paredit))
385
2f910ef6
LC
386(define-public git-modes
387 (package
6d21272b 388 (name "emacs-git-modes")
370ae985 389 (version "1.2.7")
2f910ef6
LC
390 (source (origin
391 (method url-fetch)
392 (uri (string-append
393 "https://github.com/magit/git-modes/archive/"
394 version ".tar.gz"))
8fd3c1ff 395 (file-name (string-append name "-" version ".tar.gz"))
2f910ef6
LC
396 (sha256
397 (base32
370ae985 398 "1mzl70s0xyysnjq1j10mc5vn9i022n5vd82kxsgp4xxqq7gc4qnx"))))
3d01b293 399 (build-system emacs-build-system)
2f910ef6
LC
400 (home-page "https://github.com/magit/git-modes")
401 (synopsis "Emacs major modes for Git configuration files")
402 (description
403 "This package provides Emacs major modes for editing various Git
404configuration files, such as .gitattributes, .gitignore, and .git/config.")
405 (license license:gpl3+)))
406
6d21272b
AK
407(define-public git-modes/old-name
408 (deprecated-package "git-modes" git-modes))
409
2b0e4300
AK
410(define-public emacs-with-editor
411 (package
412 (name "emacs-with-editor")
dca0718c 413 (version "2.7.0")
2b0e4300
AK
414 (source (origin
415 (method url-fetch)
416 (uri (string-append
417 "https://github.com/magit/with-editor/archive/v"
418 version ".tar.gz"))
419 (file-name (string-append name "-" version ".tar.gz"))
420 (sha256
421 (base32
dca0718c 422 "0kah7pv211zx9fsb5g4hd51bqcq2bxd1chdykd488ihvfz1l5y14"))))
2b0e4300
AK
423 (build-system emacs-build-system)
424 (propagated-inputs
425 `(("emacs-dash" ,emacs-dash)))
426 (home-page "https://github.com/magit/with-editor")
427 (synopsis "Emacs library for using Emacsclient as EDITOR")
428 (description
429 "This package provides an Emacs library to use the Emacsclient as
430@code{$EDITOR} of child processes, making sure they know how to call home.
431For remote processes a substitute is provided, which communicates with Emacs
432on stdout instead of using a socket as the Emacsclient does.")
433 (license license:gpl3+)))
434
9a4c9715
MW
435(define-public magit
436 (package
437 (name "magit")
d5e33910 438 (version "2.11.0")
9a4c9715
MW
439 (source (origin
440 (method url-fetch)
fac8b30b
MW
441 (uri (string-append
442 "https://github.com/magit/magit/releases/download/"
443 version "/" name "-" version ".tar.gz"))
9a4c9715 444 (sha256
7e4871ba 445 (base32
d5e33910 446 "11xly5bma9jc1jhs8fqbqrci8kz1y26yfq7dqjkqfy956wvfg6hz"))))
9a4c9715 447 (build-system gnu-build-system)
2c047b4a 448 (native-inputs `(("texinfo" ,texinfo)
b8fc3622 449 ("emacs" ,emacs-minimal)))
46bd4515
AG
450 (inputs
451 `(("git" ,git)
452 ("perl" ,perl)))
3db5ed11
AK
453 (propagated-inputs
454 `(("dash" ,emacs-dash)
09f7c41d 455 ;; XXX Add 'magit-popup' dependency for the next release (after 2.11.0).
3db5ed11 456 ("with-editor" ,emacs-with-editor)))
9a4c9715 457 (arguments
84fe4420 458 `(#:test-target "test"
55f29c39 459 #:tests? #f ; tests are not included in the release
7e4871ba 460
55f29c39
AK
461 #:make-flags
462 (list (string-append "PREFIX=" %output)
463 ;; Don't put .el files in a sub-directory.
464 (string-append "lispdir=" %output "/share/emacs/site-lisp")
465 (string-append "DASH_DIR="
466 (assoc-ref %build-inputs "dash")
467 "/share/emacs/site-lisp/guix.d/dash-"
3db5ed11
AK
468 ,(package-version emacs-dash))
469 (string-append "WITH_EDITOR_DIR="
470 (assoc-ref %build-inputs "with-editor")
471 "/share/emacs/site-lisp/guix.d/with-editor-"
472 ,(package-version emacs-with-editor)))
d41a8a07 473
9a4c9715 474 #:phases
c466bfd1 475 (modify-phases %standard-phases
55f29c39 476 (delete 'configure)
c466bfd1
LC
477 (add-before
478 'build 'patch-exec-paths
479 (lambda* (#:key inputs #:allow-other-keys)
84fe4420 480 (let ((perl (assoc-ref inputs "perl")))
46bd4515
AG
481 (substitute* "lisp/magit-sequence.el"
482 (("perl") (string-append perl "/bin/perl")))
55f29c39 483 #t))))))
9a4c9715
MW
484 (home-page "http://magit.github.io/")
485 (synopsis "Emacs interface for the Git version control system")
486 (description
487 "With Magit, you can inspect and modify your Git repositories with Emacs.
488You can review and commit the changes you have made to the tracked files, for
489example, and you can browse the history of past changes. There is support for
490cherry picking, reverting, merging, rebasing, and other common Git
491operations.")
f61e0e79 492 (license license:gpl3+)))
18d26210 493
97cc51f8
LC
494(define-public magit-svn
495 (package
496 (name "magit-svn")
5ccd8f40 497 (version "2.2.0")
97cc51f8 498 (source (origin
be379ee7
AK
499 (method url-fetch)
500 (uri (string-append
501 "https://github.com/magit/magit-svn/archive/"
502 version ".tar.gz"))
503 (file-name (string-append name "-" version ".tar.gz"))
97cc51f8
LC
504 (sha256
505 (base32
5ccd8f40 506 "1c3n377v436zaxamlsz04y1ahdhp96x1vd43zaryv4y10m02ba47"))))
97cc51f8 507 (build-system trivial-build-system)
b8fc3622 508 (native-inputs `(("emacs" ,emacs-minimal)
be379ee7
AK
509 ("tar" ,tar)
510 ("gzip" ,gzip)))
511 (propagated-inputs `(("dash" ,emacs-dash)
5ccd8f40 512 ("with-editor" ,emacs-with-editor)
be379ee7 513 ("magit" ,magit)))
97cc51f8
LC
514 (arguments
515 `(#:modules ((guix build utils)
516 (guix build emacs-utils))
517
518 #:builder
519 (begin
520 (use-modules (guix build utils)
521 (guix build emacs-utils))
522
be379ee7
AK
523 (let* ((tar (string-append (assoc-ref %build-inputs "tar")
524 "/bin/tar"))
525 (PATH (string-append (assoc-ref %build-inputs "gzip")
526 "/bin"))
527 (emacs (string-append (assoc-ref %build-inputs "emacs")
97cc51f8
LC
528 "/bin/emacs"))
529 (magit (string-append (assoc-ref %build-inputs "magit")
530 "/share/emacs/site-lisp"))
be379ee7
AK
531 (dash (string-append (assoc-ref %build-inputs "dash")
532 "/share/emacs/site-lisp/guix.d/dash-"
533 ,(package-version emacs-dash)))
5ccd8f40
LC
534 (with-editor (string-append (assoc-ref %build-inputs "with-editor")
535 "/share/emacs/site-lisp/guix.d/with-editor-"
536 ,(package-version emacs-with-editor)))
97cc51f8
LC
537 (source (assoc-ref %build-inputs "source"))
538 (lisp-dir (string-append %output "/share/emacs/site-lisp")))
be379ee7
AK
539 (setenv "PATH" PATH)
540 (system* tar "xvf" source)
96c46210
LC
541
542 (install-file (string-append ,name "-" ,version "/magit-svn.el")
543 lisp-dir)
97cc51f8
LC
544
545 (with-directory-excursion lisp-dir
546 (parameterize ((%emacs emacs))
547 (emacs-generate-autoloads ,name lisp-dir)
548 (setenv "EMACSLOADPATH"
5ccd8f40 549 (string-append ":" magit ":" dash ":" with-editor))
97cc51f8
LC
550 (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
551 (home-page "https://github.com/magit/magit-svn")
552 (synopsis "Git-SVN extension to Magit")
553 (description
554 "This package is an extension to Magit, the Git Emacs mode, providing
555support for Git-SVN.")
556 (license license:gpl3+)))
557
c1562e3d
AK
558(define-public emacs-magit-popup
559 (package
560 (name "emacs-magit-popup")
09f7c41d 561 (version "2.12.0")
c1562e3d
AK
562 (source (origin
563 (method url-fetch)
564 (uri (string-append
09f7c41d
AK
565 "https://github.com/magit/magit-popup/archive/v"
566 version ".tar.gz"))
567 (file-name (string-append name "-" version ".tar.gz"))
c1562e3d
AK
568 (sha256
569 (base32
09f7c41d 570 "1dnk611f7lww6rb03hk8ijg2jwxx9f26pjfff4bwjmnjz7hnd6vz"))))
c1562e3d 571 (build-system emacs-build-system)
09f7c41d
AK
572 (arguments
573 `(#:phases
574 (modify-phases %standard-phases
575 (add-before 'install 'make-info
576 (lambda _
577 (zero? (system* "make" "info")))))))
578 (native-inputs
579 `(("texinfo" ,texinfo)))
c1562e3d
AK
580 (propagated-inputs
581 `(("emacs-dash" ,emacs-dash)))
09f7c41d 582 (home-page "https://github.com/magit/magit-popup")
c1562e3d
AK
583 (synopsis "Define prefix-infix-suffix command combos")
584 (description
585 "This library implements a generic interface for toggling switches and
586setting options and then invoking an Emacs command which does something with
587these arguments. The prototypical use is for the command to call an external
588process, passing on the arguments as command line arguments.")
589 (license license:gpl3+)))
590
00f4bd50
FB
591(define-public haskell-mode
592 (package
593 (name "haskell-mode")
08fc0d68 594 (version "16.1")
00f4bd50
FB
595 (source (origin
596 (method url-fetch)
597 (file-name (string-append name "-" version ".tar.gz"))
598 (uri (string-append
599 "https://github.com/haskell/haskell-mode/archive/v"
600 version ".tar.gz"))
601 (sha256
08fc0d68
FB
602 (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
603 (inputs
604 `(("emacs-el-search" ,emacs-el-search) ; for tests
605 ("emacs-stream" ,emacs-stream))) ; for tests
606 (propagated-inputs
607 `(("emacs-dash" ,emacs-dash)))
00f4bd50 608 (native-inputs
b8fc3622 609 `(("emacs" ,emacs-minimal)
6aaf3899 610 ("texinfo" ,texinfo)))
00f4bd50
FB
611 (build-system gnu-build-system)
612 (arguments
613 `(#:make-flags (list (string-append "EMACS="
614 (assoc-ref %build-inputs "emacs")
615 "/bin/emacs"))
08fc0d68
FB
616 #:modules ((ice-9 match)
617 (srfi srfi-26)
618 ,@%gnu-build-system-modules)
00f4bd50
FB
619 #:phases
620 (modify-phases %standard-phases
621 (delete 'configure)
622 (add-before
623 'build 'pre-build
624 (lambda* (#:key inputs #:allow-other-keys)
08fc0d68 625 (define (el-dir store-dir)
69611d3e 626 (match (find-files store-dir "\\.el$")
08fc0d68
FB
627 ((f1 f2 ...) (dirname f1))
628 (_ "")))
629
00f4bd50 630 (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
08fc0d68
FB
631 (define emacs-prefix? (cut string-prefix? "emacs-" <>))
632
00f4bd50 633 (setenv "SHELL" "sh")
08fc0d68
FB
634 (setenv "EMACSLOADPATH"
635 (string-concatenate
636 (map (match-lambda
637 (((? emacs-prefix? name) . dir)
638 (string-append (el-dir dir) ":"))
639 (_ ""))
640 inputs)))
00f4bd50 641 (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
08fc0d68
FB
642 (substitute* "tests/haskell-code-conventions.el"
643 ;; Function name recently changed in "emacs-el-search".
644 (("el-search--search-pattern") "el-search-forward")
645 ;; Don't contact home.
646 (("\\(when \\(>= emacs-major-version 25\\)")
647 "(require 'el-search) (when nil"))
00f4bd50
FB
648 #t)))
649 (replace
650 'install
651 (lambda* (#:key outputs #:allow-other-keys)
652 (let* ((out (assoc-ref outputs "out"))
653 (el-dir (string-append out "/share/emacs/site-lisp"))
654 (doc (string-append
655 out "/share/doc/haskell-mode-" ,version))
656 (info (string-append out "/share/info")))
657 (define (copy-to-dir dir files)
96c46210
LC
658 (for-each (lambda (f)
659 (install-file f dir))
660 files))
00f4bd50
FB
661
662 (with-directory-excursion "doc"
663 (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
664 (error "makeinfo failed"))
96c46210 665 (install-file "haskell-mode.info" info))
00f4bd50
FB
666 (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
667 (copy-to-dir el-dir (find-files "." "\\.elc?"))
08fc0d68 668 ;; These are part of other packages.
00f4bd50 669 (with-directory-excursion el-dir
08fc0d68 670 (for-each delete-file '("dash.el" "ert.el")))
00f4bd50
FB
671 #t))))))
672 (home-page "https://github.com/haskell/haskell-mode")
673 (synopsis "Haskell mode for Emacs")
674 (description
675 "This is an Emacs mode for editing, debugging and developing Haskell
676programs.")
677 (license license:gpl3+)))
678
6e3fdbbe
LC
679(define-public flycheck
680 (package
681 (name "emacs-flycheck")
6ae0fd21 682 (version "31")
6e3fdbbe
LC
683 (source (origin
684 (method url-fetch)
0b928076
AK
685 (uri (string-append
686 "https://github.com/flycheck/flycheck/releases/download/"
687 version "/flycheck-" version ".tar"))
6e3fdbbe
LC
688 (sha256
689 (base32
6ae0fd21 690 "01rnwan16m7cyyrfca3c5c60mbj2r3knkpzbhji2fczsf0wns240"))))
6e3fdbbe
LC
691 (build-system emacs-build-system)
692 (propagated-inputs
d0a52052 693 `(("emacs-dash" ,emacs-dash)))
6e3fdbbe
LC
694 (home-page "https://www.flycheck.org")
695 (synopsis "On-the-fly syntax checking")
696 (description
697 "This package provides on-the-fly syntax checking for GNU Emacs. It is a
698replacement for the older Flymake extension which is part of GNU Emacs, with
699many improvements and additional features.
700
701Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
702checking for over 30 programming and markup languages with more than 70
703different tools. It highlights errors and warnings inline in the buffer, and
704provides an optional IDE-like error list.")
705 (license license:gpl3+))) ;+GFDLv1.3+ for the manual
706
18d26210
MW
707\f
708;;;
709;;; Web browsing.
710;;;
711
712(define-public emacs-w3m
713 (package
714 (name "emacs-w3m")
2e74b9f4 715 (version "1.4.538+0.20141022")
18d26210
MW
716 (source (origin
717 (method url-fetch)
718 (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
719 version ".orig.tar.gz"))
720 (sha256
2e74b9f4
AK
721 (base32
722 "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
18d26210 723 (build-system gnu-build-system)
6aaf3899 724 (native-inputs `(("autoconf" ,autoconf)
b8fc3622 725 ("emacs" ,emacs-minimal)))
18d26210 726 (inputs `(("w3m" ,w3m)
6aaf3899 727 ("imagemagick" ,imagemagick)))
18d26210 728 (arguments
caaf1933 729 `(#:modules ((guix build gnu-build-system)
18d26210
MW
730 (guix build utils)
731 (guix build emacs-utils))
8ff3df5b 732 #:imported-modules (,@%gnu-build-system-modules
18d26210
MW
733 (guix build emacs-utils))
734 #:configure-flags
735 (let ((out (assoc-ref %outputs "out")))
736 (list (string-append "--with-lispdir="
737 out "/share/emacs/site-lisp")
738 (string-append "--with-icondir="
2e74b9f4
AK
739 out "/share/images/emacs-w3m")
740 ;; Leave .el files uncompressed, otherwise GC can't
741 ;; identify run-time dependencies. See
742 ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
743 "--without-compress-install"))
18d26210
MW
744 #:tests? #f ; no check target
745 #:phases
932ece65
AK
746 (modify-phases %standard-phases
747 (add-after 'unpack 'autoconf
748 (lambda _
749 (zero? (system* "autoconf"))))
750 (add-before 'build 'patch-exec-paths
751 (lambda* (#:key inputs outputs #:allow-other-keys)
752 (let ((out (assoc-ref outputs "out"))
753 (w3m (assoc-ref inputs "w3m"))
754 (imagemagick (assoc-ref inputs "imagemagick"))
755 (coreutils (assoc-ref inputs "coreutils")))
756 (emacs-substitute-variables "w3m.el"
757 ("w3m-command" (string-append w3m "/bin/w3m"))
758 ("w3m-touch-command"
759 (string-append coreutils "/bin/touch"))
760 ("w3m-image-viewer"
761 (string-append imagemagick "/bin/display"))
762 ("w3m-icon-directory"
763 (string-append out "/share/images/emacs-w3m")))
764 (emacs-substitute-variables "w3m-image.el"
765 ("w3m-imagick-convert-program"
766 (string-append imagemagick "/bin/convert"))
767 ("w3m-imagick-identify-program"
768 (string-append imagemagick "/bin/identify")))
769 #t)))
770 (replace 'install
771 (lambda* (#:key outputs #:allow-other-keys)
772 (and (zero? (system* "make" "install" "install-icons"))
773 (with-directory-excursion
774 (string-append (assoc-ref outputs "out")
775 "/share/emacs/site-lisp")
776 (for-each delete-file '("ChangeLog" "ChangeLog.1"))
777 (symlink "w3m-load.el" "w3m-autoloads.el")
778 #t)))))))
18d26210
MW
779 (home-page "http://emacs-w3m.namazu.org/")
780 (synopsis "Simple Web browser for Emacs based on w3m")
781 (description
35b9e423 782 "Emacs-w3m is an emacs interface for the w3m web browser.")
f61e0e79 783 (license license:gpl2+)))
89925972
MW
784
785(define-public emacs-wget
786 (package
787 (name "emacs-wget")
788 (version "0.5.0")
789 (source (origin
790 (method url-fetch)
791 (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
792 version ".orig.tar.gz"))
793 (sha256
794 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
795 (build-system gnu-build-system)
6aaf3899 796 (inputs `(("wget" ,wget)))
b8fc3622 797 (native-inputs `(("emacs" ,emacs-minimal)))
89925972 798 (arguments
caaf1933 799 `(#:modules ((guix build gnu-build-system)
89925972
MW
800 (guix build utils)
801 (guix build emacs-utils))
caaf1933 802 #:imported-modules (,@%gnu-build-system-modules
89925972
MW
803 (guix build emacs-utils))
804 #:tests? #f ; no check target
805 #:phases
dc1d3cde
KK
806 (modify-phases %standard-phases
807 (replace 'configure
808 (lambda* (#:key outputs #:allow-other-keys)
809 (substitute* "Makefile"
810 (("/usr/local") (assoc-ref outputs "out"))
811 (("/site-lisp/emacs-wget") "/site-lisp"))
812 #t))
813 (add-before 'build 'patch-exec-paths
814 (lambda* (#:key inputs outputs #:allow-other-keys)
815 (let ((wget (assoc-ref inputs "wget")))
816 (emacs-substitute-variables "wget.el"
817 ("wget-command" (string-append wget "/bin/wget"))))
818 #t))
819 (add-after 'install 'post-install
820 (lambda* (#:key outputs #:allow-other-keys)
821 (emacs-generate-autoloads
822 "wget" (string-append (assoc-ref outputs "out")
823 "/share/emacs/site-lisp/"))
824 #t)))))
89925972 825 (home-page "http://www.emacswiki.org/emacs/EmacsWget")
ae2189a9 826 (synopsis "Simple file downloader for Emacs based on wget")
89925972 827 (description
35b9e423 828 "Emacs-wget is an emacs interface for the wget file downloader.")
f61e0e79 829 (license license:gpl2+)))
77c9286d
LC
830
831\f
832;;;
833;;; Multimedia.
834;;;
835
836(define-public emms
837 (package
d06d4d7b 838 (name "emacs-emms")
cda2e2c7 839 (version "4.4")
77c9286d
LC
840 (source (origin
841 (method url-fetch)
842 (uri (string-append "mirror://gnu/emms/emms-"
843 version ".tar.gz"))
844 (sha256
845 (base32
cda2e2c7 846 "1b0kalhn81dir26jgsma30i5bbly7d3s1ngqpf01zjjpr7lw5v0h"))
77c9286d
LC
847 (modules '((guix build utils)))
848 (snippet
849 '(substitute* "Makefile"
850 (("/usr/bin/install-info")
851 ;; No need to use 'install-info' since it would create a
852 ;; useless 'dir' file.
853 "true")
854 (("^INFODIR=.*")
855 ;; Install Info files to $out/share/info, not $out/info.
856 "INFODIR := $(PREFIX)/share/info\n")
857 (("/site-lisp/emms")
858 ;; Install directly in share/emacs/site-lisp, not in a
859 ;; sub-directory.
860 "/site-lisp")
861 (("^all: (.*)\n" _ rest)
862 ;; Build 'emms-print-metadata'.
863 (string-append "all: " rest " emms-print-metadata\n"))))))
864 (build-system gnu-build-system)
865 (arguments
caaf1933 866 `(#:modules ((guix build gnu-build-system)
77c9286d
LC
867 (guix build utils)
868 (guix build emacs-utils))
caaf1933 869 #:imported-modules (,@%gnu-build-system-modules
77c9286d
LC
870 (guix build emacs-utils))
871
2fe176be
EF
872 #:phases
873 (modify-phases %standard-phases
874 (replace 'configure
875 (lambda* (#:key inputs outputs #:allow-other-keys)
876 (let ((out (assoc-ref outputs "out"))
66e55700 877 (flac (assoc-ref inputs "flac"))
2fe176be
EF
878 (vorbis (assoc-ref inputs "vorbis-tools"))
879 (alsa (assoc-ref inputs "alsa-utils"))
880 (mpg321 (assoc-ref inputs "mpg321"))
881 (mp3info (assoc-ref inputs "mp3info")))
882 ;; Specify the installation directory.
883 (substitute* "Makefile"
884 (("PREFIX=.*$")
885 (string-append "PREFIX := " out "\n")))
886
887 (setenv "SHELL" (which "sh"))
888 (setenv "CC" "gcc")
889
890 ;; Specify the absolute file names of the various
891 ;; programs so that everything works out-of-the-box.
892 (with-directory-excursion "lisp"
893 (emacs-substitute-variables
894 "emms-player-mpg321-remote.el"
895 ("emms-player-mpg321-remote-command"
896 (string-append mpg321 "/bin/mpg321")))
897 (substitute* "emms-player-simple.el"
898 (("\"ogg123\"")
899 (string-append "\"" vorbis "/bin/ogg123\"")))
66e55700
MC
900 (substitute* "emms-player-simple.el"
901 (("\"mpg321\"")
902 (string-append "\"" mpg321 "/bin/mpg321\"")))
2fe176be
EF
903 (emacs-substitute-variables "emms-info-ogginfo.el"
904 ("emms-info-ogginfo-program-name"
905 (string-append vorbis "/bin/ogginfo")))
906 (emacs-substitute-variables "emms-info-libtag.el"
907 ("emms-info-libtag-program-name"
908 (string-append out "/bin/emms-print-metadata")))
909 (emacs-substitute-variables "emms-info-mp3info.el"
910 ("emms-info-mp3info-program-name"
911 (string-append mp3info "/bin/mp3info")))
66e55700
MC
912 (emacs-substitute-variables "emms-info-metaflac.el"
913 ("emms-info-metaflac-program-name"
914 (string-append flac "/bin/metaflac")))
915 (emacs-substitute-variables "emms-source-file.el"
916 ("emms-source-file-gnu-find" (which "find")))
2fe176be
EF
917 (substitute* "emms-volume-amixer.el"
918 (("\"amixer\"")
919 (string-append "\"" alsa "/bin/amixer\"")))
920 (substitute* "emms-tag-editor.el"
921 (("\"mp3info\"")
922 (string-append "\"" mp3info "/bin/mp3info\"")))))))
923 (add-before 'install 'pre-install
924 (lambda* (#:key outputs #:allow-other-keys)
c3a10d30 925 ;; The 'install' rule expects the target directories to exist.
2fe176be 926 (let* ((out (assoc-ref outputs "out"))
c3a10d30 927 (bin (string-append out "/bin"))
2fe176be 928 (man1 (string-append out "/share/man/man1")))
c3a10d30 929 (mkdir-p bin)
2fe176be
EF
930 (mkdir-p man1)
931 #t)))
932 (add-after 'install 'post-install
933 (lambda* (#:key outputs #:allow-other-keys)
c3a10d30 934 (let ((out (assoc-ref outputs "out")))
2fe176be
EF
935 (symlink "emms-auto.el"
936 (string-append out "/share/emacs/site-lisp/"
c3a10d30 937 "emms-autoloads.el"))))))
77c9286d 938 #:tests? #f))
b8fc3622 939 (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
77c9286d 940 ("texinfo" ,texinfo)))
c72aed6d 941 (inputs `(("alsa-utils" ,alsa-utils)
66e55700 942 ("flac" ,flac) ;for metaflac
77c9286d
LC
943 ("vorbis-tools" ,vorbis-tools)
944 ("mpg321" ,mpg321)
945 ("taglib" ,taglib)
946 ("mp3info" ,mp3info)))
38cb4766 947 (properties '((upstream-name . "emms")))
77c9286d
LC
948 (synopsis "Emacs Multimedia System")
949 (description
950 "EMMS is the Emacs Multimedia System. It is a small front-end which
951can control one of the supported external players. Thus, it supports
952whatever formats are supported by your music player. It also
953supports tagging and playlist management, all behind a clean and
954light user interface.")
6fd52309 955 (home-page "https://www.gnu.org/software/emms/")
f61e0e79 956 (license license:gpl3+)))
c7e553a3 957
1095bd1d
RW
958(define-public emacs-emms-player-mpv
959 (package
960 (name "emacs-emms-player-mpv")
de893dda 961 (version "0.1.0")
1095bd1d
RW
962 (source
963 (origin
964 (method url-fetch)
965 (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
966 version ".tar.gz"))
967 (file-name (string-append name "-" version ".tar.gz"))
968 (sha256
969 (base32
de893dda 970 "05qwbagc4i7yn7i94r1hdgj6wc5xijy1pxqv08pwsmli9rqj51n9"))))
1095bd1d
RW
971 (build-system emacs-build-system)
972 (propagated-inputs
973 `(("emms" ,emms)))
974 (home-page "https://github.com/dochang/emms-player-mpv/")
975 (synopsis "Mpv support for EMMS")
976 (description
977 "This package provides an EMMS player that uses mpv. It supports pause
978and seeking.")
979 (license license:gpl3+)))
980
2316078a
RW
981(define-public emacs-emms-mode-line-cycle
982 (package
983 (name "emacs-emms-mode-line-cycle")
984 (version "0.2.5")
985 (source
986 (origin
987 (method url-fetch)
988 (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
989 "/archive/" version ".tar.gz"))
990 (file-name (string-append name "-" version ".tar.gz"))
991 (sha256
992 (base32
993 "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
994 (build-system emacs-build-system)
995 (propagated-inputs
996 `(("emms" ,emms)))
997 (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
998 (synopsis "Display the EMMS mode line as a ticker")
999 (description
1000 "This is a minor mode for updating the EMMS mode-line string cyclically
1001within a specified width. It is useful for displaying long track titles.")
1002 (license license:gpl3+)))
1003
c7e553a3
LC
1004\f
1005;;;
1006;;; Miscellaneous.
1007;;;
1008
1009(define-public bbdb
1010 (package
1011 (name "bbdb")
1012 (version "3.1.2")
1013 (source (origin
1014 (method url-fetch)
1015 (uri (string-append "mirror://savannah/bbdb/bbdb-"
1016 version ".tar.gz"))
1017 (sha256
1018 (base32
1019 "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
1020 (modules '((guix build utils)))
1021 (snippet
1022 ;; We don't want to build and install the PDF.
1023 '(substitute* "doc/Makefile.in"
1024 (("^doc_DATA = .*$")
1025 "doc_DATA =\n")))))
1026 (build-system gnu-build-system)
1027 (arguments
dc1d3cde
KK
1028 '(#:phases
1029 (modify-phases %standard-phases
1030 (add-after 'install 'post-install
1031 (lambda* (#:key outputs #:allow-other-keys)
1032 ;; Add an autoloads file with the right name for guix.el.
1033 (let* ((out (assoc-ref outputs "out"))
1034 (site (string-append out "/share/emacs/site-lisp")))
1035 (with-directory-excursion site
1036 (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el")))
1037 #t)))))
b8fc3622 1038 (native-inputs `(("emacs" ,emacs-minimal)))
340978d7 1039 (home-page "https://savannah.nongnu.org/projects/bbdb/")
c7e553a3
LC
1040 (synopsis "Contact management utility for Emacs")
1041 (description
1042 "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
1043an address book for email and snail mail addresses, phone numbers and the
1044like. It can be linked with various Emacs mail clients (Message and Mail
1045mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
f61e0e79 1046 (license license:gpl3+)))
78395334 1047
4d3d3bd2
VD
1048(define-public emacs-aggressive-indent
1049 (package
1050 (name "emacs-aggressive-indent")
1051 (version "1.8.3")
1052 (source (origin
1053 (method url-fetch)
1054 (uri (string-append "https://elpa.gnu.org/packages/"
1055 "aggressive-indent-" version ".el"))
1056 (sha256
1057 (base32
1058 "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
1059 (build-system emacs-build-system)
1060 (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
1061 (synopsis "Minor mode to aggressively keep your code always indented")
1062 (description
1063 "@code{aggressive-indent-mode} is a minor mode that keeps your code
1064always indented. It reindents after every change, making it more reliable
1065than @code{electric-indent-mode}.")
1066 (license license:gpl2+)))
1067
cf006d2e
CB
1068(define-public emacs-ag
1069 (package
1070 (name "emacs-ag")
1071 (version "0.47")
1072 (source (origin
1073 (method url-fetch)
1074 (uri (string-append
1075 "https://github.com/Wilfred/ag.el/archive/"
1076 version ".tar.gz"))
1077 (file-name (string-append name "-" version ".tar.gz"))
1078 (sha256
1079 (base32
1080 "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
1081 (build-system emacs-build-system)
1082 (arguments
1083 `(#:phases
1084 (modify-phases %standard-phases
99517d92
GC
1085 (add-before 'install 'make-info
1086 (lambda _
1087 (with-directory-excursion "docs"
1088 (zero? (system* "make" "info")))))
1089 (add-after 'install 'install-info
1090 (lambda* (#:key outputs #:allow-other-keys)
1091 (let* ((out (assoc-ref outputs "out"))
1092 (info (string-append out "/share/info")))
1093 (install-file "docs/_build/texinfo/agel.info" info)
1094 #t))))))
99517d92
GC
1095 (native-inputs
1096 `(("python-sphinx" ,python-sphinx)
1097 ("texinfo" ,texinfo)))
cf006d2e
CB
1098 (propagated-inputs
1099 `(("dash" ,emacs-dash)
86470421
CL
1100 ("s" ,emacs-s)
1101 ;; We need to use 'ag' as the executable on remote systems.
1102 ("the-silver-searcher" ,the-silver-searcher)))
cf006d2e
CB
1103 (home-page "https://github.com/Wilfred/ag.el")
1104 (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
1105 (description "This package provides the ability to use the silver
1106searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
1107include version control system awareness, use of Perl compatible regular
1108expressions, editing the search results directly and searching file names
1109rather than the contents of files.")
1110 (license license:gpl3+)))
1111
b654de6d
AK
1112(define-public emacs-async
1113 (package
1114 (name "emacs-async")
51ef4af6 1115 (version "1.9.2")
b654de6d
AK
1116 (source (origin
1117 (method url-fetch)
f32ffa04 1118 (uri (string-append "https://elpa.gnu.org/packages/async-"
b654de6d
AK
1119 version ".tar"))
1120 (sha256
1121 (base32
51ef4af6 1122 "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
b654de6d 1123 (build-system emacs-build-system)
f32ffa04 1124 (home-page "https://elpa.gnu.org/packages/async.html")
b654de6d
AK
1125 (synopsis "Asynchronous processing in Emacs")
1126 (description
1127 "This package provides the ability to call asynchronous functions and
1128processes. For example, it can be used to run dired commands (for copying,
1129moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
1130as a library for other Emacs packages.")
1131 (license license:gpl3+)))
1132
78395334
FB
1133(define-public emacs-auctex
1134 (package
1135 (name "emacs-auctex")
7f9866a3 1136 (version "12.1.0")
78395334
FB
1137 (source
1138 (origin
1139 (method url-fetch)
1140 (uri (string-append
f32ffa04 1141 "https://elpa.gnu.org/packages/auctex-"
78395334
FB
1142 version
1143 ".tar"))
1144 (sha256
1145 (base32
7f9866a3 1146 "0iy5x61xqkxaph2hq64sg50l1c6yp6qhzppwadayxkdz00b46sas"))))
78395334 1147 (build-system emacs-build-system)
a6eafbed
AK
1148 ;; We use 'emacs' because AUCTeX requires dbus at compile time
1149 ;; ('emacs-minimal' does not provide dbus).
b1d32ec0
AI
1150 (arguments
1151 `(#:emacs ,emacs
1152 #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
1153 #:exclude '("^tests/" "^latex/README")))
78395334
FB
1154 (native-inputs
1155 `(("perl" ,perl)))
6fd52309 1156 (home-page "https://www.gnu.org/software/auctex/")
78395334
FB
1157 (synopsis "Integrated environment for TeX")
1158 (description
1159 "AUCTeX is a comprehensive customizable integrated environment for
1160writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
1161or XEmacs.")
1162 (license license:gpl3+)))
85ef742c 1163
de2e402b
MM
1164(define-public emacs-autothemer
1165 (package
1166 (name "emacs-autothemer")
1167 (version "0.2.2")
1168 (source
1169 (origin
1170 (method url-fetch)
1171 (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
1172 version ".tar.gz"))
1173 (file-name (string-append name "-" version ".tar.gz"))
1174 (sha256
1175 (base32
1176 "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
1177 (build-system emacs-build-system)
1178 (propagated-inputs
1179 `(("emacs-dash" ,emacs-dash)))
1180 (home-page "https://github.com/sebastiansturm/autothemer")
1181 (synopsis "Conveniently create Emacs themes")
1182 (description
1183 "Autothemer provides a thin layer on top of @code{deftheme} and
1184@code{custom-theme-set-faces} that creates a new custom color theme, based on
1185a set of simplified face specifications and a user-supplied color palette")
1186 (license license:gpl3+)))
1187
36890436
VD
1188(define-public emacs-calfw
1189 (package
1190 (name "emacs-calfw")
1191 (version "1.5")
1192 (source
1193 (origin
1194 (method url-fetch)
1195 (uri (string-append
1196 "https://github.com/kiwanami/emacs-calfw/archive/v"
1197 version ".tar.gz"))
1198 (file-name (string-append name "-" version ".tar.gz"))
1199 (sha256
1200 (base32
1201 "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
1202 (build-system emacs-build-system)
1203 (home-page "https://github.com/kiwanami/emacs-calfw/")
1204 (synopsis "Calendar framework for Emacs")
1205 (description
9dac2a8e
RW
1206 "This package displays a calendar view with various schedule data in the
1207Emacs buffer.")
36890436
VD
1208 (license license:gpl3+)))
1209
a8d0c9cb
CB
1210(define-public emacs-direnv
1211 (package
1212 (name "emacs-direnv")
1213 (version "1.2.0")
1214 (source
1215 (origin
1216 (method url-fetch)
1217 (uri (string-append
1218 "https://github.com/wbolster/emacs-direnv/archive/"
1219 version ".tar.gz"))
1220 (file-name (string-append name "-" version ".tar.gz"))
1221 (sha256
1222 (base32
1223 "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
1224 (build-system emacs-build-system)
1225 (propagated-inputs
1226 `(("dash" ,emacs-dash)
1227 ("with-editor" ,emacs-with-editor)))
1228 (home-page "https://github.com/wbolster/emacs-direnv")
1229 (synopsis "Direnv integration for Emacs")
1230 (description
1231 "This package provides support for invoking direnv to get the environment
1232for the current file and updating the environment within Emacs to match.
1233
1234Direnv can be invoked manually, and a global minor mode is included that will
1235update the environment when the active buffer changes.
1236
1237Using emacs-direnv means that programs started from Emacs will use the
1238environment set through Direnv.")
1239 (license license:gpl3+)))
1240
cd5c3979
OP
1241(define-public emacs-ggtags
1242 (package
1243 (name "emacs-ggtags")
1244 (version "0.8.12")
1245 (source
1246 (origin
1247 (method url-fetch)
1248 (uri (string-append "http://elpa.gnu.org/packages/ggtags-"
1249 version ".el"))
1250 (sha256
1251 (base32
1252 "0ny3llk021g6r0s75xdm4hzpbxv393ddm2r6f2xdk8kqnq4gnirp"))))
1253 (build-system emacs-build-system)
1254 (home-page "https://github.com/leoliu/ggtags")
1255 (synopsis "Frontend to the GNU Global source code tagging system")
1256 (description "@code{ggtags} provides a frontend to the GNU Global source
1257code tagging system.
1258
1259Features:
1260
1261@itemize
1262@item Build on @code{compile.el} for asynchronicity and its large feature-set.
1263@item Automatically update Global's tag files when needed with tuning for
1264large source trees.
1265@item Intuitive navigation among multiple matches with mode-line display of
1266current match, total matches and exit status.
1267@item Read tag with completion.
1268@item Show definition at point.
1269@item Jump to #include files.
1270@item Support search history and saving a search to register/bookmark.
1271@item Query replace.
1272@item Manage Global's environment variables on a per-project basis.
1273@item Highlight (definition) tag at point.
1274@item Abbreviated display of file names.
1275@item Support all Global search backends: @code{grep}, @code{idutils}, etc.
1276@item Support exuberant ctags @url{http://ctags.sourceforge.net/} and
1277@code{pygments} backend.
1278@item Support all Global's output formats: @code{grep}, @code{ctags-x},
1279@code{cscope} etc.
1280@item Support projects on remote hosts (e.g. via @code{tramp}).
1281@item Support eldoc.
1282@item Search @code{GTAGSLIBPATH} for references and symbols.
1283@end itemize\n")
1284 (license license:gpl3+)))
1285
21a656f5
CB
1286(define-public emacs-go-mode
1287 (package
1288 (name "emacs-go-mode")
1289 (version "1.5.0")
1290 (source (origin
1291 (method url-fetch)
1292 (uri (string-append "https://github.com/dominikh/go-mode.el/"
1293 "archive/v" version ".tar.gz"))
1294 (file-name (string-append name "-" version ".tar.gz"))
1295 (sha256
1296 (base32
1297 "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm"))))
1298 (build-system emacs-build-system)
1299 (home-page "https://github.com/dominikh/go-mode.el")
1300 (synopsis "Go mode for Emacs")
1301 (description
1302 "This package provides go-mode, an Emacs mode for working with software
1303written in the Go programming language.")
1304 (license license:bsd-3)))
1305
63878730
VD
1306(define-public emacs-google-maps
1307 (package
1308 (name "emacs-google-maps")
1309 (version "1.0.0")
1310 (source (origin
1311 (method url-fetch)
1312 (uri (string-append "https://github.com/jd/google-maps.el/"
1313 "archive/" version ".tar.gz"))
1314 (file-name (string-append name "-" version ".tar.gz"))
1315 (sha256
1316 (base32
1317 "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
1318 (build-system emacs-build-system)
1319 (home-page "https://github.com/jd/google-maps.el")
1320 (synopsis "Access Google Maps from Emacs")
1321 (description "The @code{google-maps} package allows to display Google
1322Maps directly inside Emacs.")
1323 (license license:gpl3+)))
1324
1f37465a
CB
1325(define-public emacs-graphviz-dot-mode
1326 (let ((commit "fdaabbcc95d9156e3dadc84f81a4750c5b692580")
1327 (revision "1"))
1328 (package
1329 (name "emacs-graphviz-dot-mode")
1330 (version (string-append "0.3.10-" revision "."
1331 (string-take commit 7)))
1332 (source (origin
1333 (method git-fetch)
1334 (uri (git-reference
1335 (url "https://github.com/ppareit/graphviz-dot-mode.git")
1336 (commit commit)))
1337 (file-name (string-append name "-" version "-checkout"))
1338 (sha256
1339 (base32
1340 "1s1qh5r0xp6hs0rl5yz5mkmjhpg04bh449c7vgjbb1pjsl1dl714"))))
1341 (build-system emacs-build-system)
1342 (arguments
1343 `(#:phases
1344 (modify-phases %standard-phases
1345 (add-before 'install 'make-info
1346 (lambda* (#:key inputs #:allow-other-keys)
1347 (with-directory-excursion "texinfo"
1348 (substitute* "Makefile"
1349 (("\\/usr\\/bin\\/gzip")
1350 (string-append (assoc-ref inputs "gzip") "/bin/gzip")))
1351 (zero?
1352 (system* "make"
1353 "clean"
1354 "info"
1355 (string-append "TEXINFODIR="
1356 (assoc-ref inputs "texinfo")
1357 "/bin"))))))
1358 (add-after 'install 'install-info
1359 (lambda* (#:key outputs #:allow-other-keys)
1360 (let* ((out (assoc-ref outputs "out"))
1361 (info (string-append out "/share/info")))
1362 (install-file "texinfo/graphviz-dot-mode.info.gz" info)
1363 #t))))))
1364 (native-inputs
1365 `(("texinfo" ,texinfo)
1366 ("gzip" ,gzip)))
1367 (home-page "http://ppareit.github.com/graphviz-dot-mode")
1368 (synopsis "Major mode for editing Graphviz Dot files")
1369 (description
1370 "This Emacs packages helps you to create @file{.dot} or @file{.gv}
1371files using the dot syntax, and use Graphviz to convert these files to
1372diagrams.")
1373 (license license:gpl2+))))
1374
85ef742c
FB
1375(define-public emacs-mmm-mode
1376 (package
1377 (name "emacs-mmm-mode")
810cd037 1378 (version "0.5.5")
85ef742c
FB
1379 (source
1380 (origin
1381 (method url-fetch)
1382 (uri (string-append
0c909c05
AK
1383 "https://github.com/purcell/mmm-mode/archive/"
1384 version ".tar.gz"))
1385 (file-name (string-append name "-" version ".tar.gz"))
85ef742c
FB
1386 (sha256
1387 (base32
810cd037 1388 "0c5ing3hcr74k78hqhrfwiv6m3n8hqfrw89j2x34vf60f4iyqzqc"))))
0c909c05
AK
1389 (build-system gnu-build-system)
1390 (arguments
1391 '(#:phases
1392 (modify-phases %standard-phases
1393 (add-after 'unpack 'autogen
1394 (lambda _
1395 (zero? (system* "sh" "autogen.sh")))))))
1396 (native-inputs
1397 `(("autoconf" ,autoconf)
1398 ("automake" ,automake)
b8fc3622 1399 ("emacs" ,emacs-minimal)
0c909c05 1400 ("texinfo" ,texinfo)))
85ef742c 1401 (home-page "https://github.com/purcell/mmm-mode")
0c909c05 1402 (synopsis "Allow multiple major modes in an Emacs buffer")
85ef742c 1403 (description
0c909c05 1404 "MMM Mode is a minor mode that allows multiple major modes to coexist in a
85ef742c
FB
1405single buffer.")
1406 (license license:gpl3+)))
ec9825d6 1407
060348d2
AK
1408(define-public emacs-tablist
1409 (package
1410 (name "emacs-tablist")
1411 (version "0.70")
1412 (source (origin
1413 (method url-fetch)
1414 (uri (string-append
1415 "https://github.com/politza/tablist/archive/v"
1416 version ".tar.gz"))
1417 (file-name (string-append name "-" version ".tar.gz"))
1418 (sha256
1419 (base32
1420 "177d6s7ym1mwz1nhnl09r14z3n093g9a2szm97xsaig0c204xz9c"))))
1421 (build-system emacs-build-system)
1422 (home-page "https://github.com/politza/tablist")
1423 (synopsis "Extension for @code{tabulated-list-mode}")
1424 (description "Tablist is the Emacs package that provides several
1425additional features to @code{tabulated-list-mode}: it adds marks,
1426filters, new key bindings and faces. It can be enabled by
1427@code{tablist-mode} or @code{tablist-minor-mode} commands.")
1428 (license license:gpl3+)))
1429
ec9825d6
RW
1430(define-public emacs-pdf-tools
1431 (package
1432 (name "emacs-pdf-tools")
1210046d 1433 (version "0.80")
ec9825d6
RW
1434 (source (origin
1435 (method url-fetch)
1436 (uri (string-append
1437 "https://github.com/politza/pdf-tools/archive/v"
1438 version ".tar.gz"))
1439 (file-name (string-append name "-" version ".tar.gz"))
1440 (sha256
1441 (base32
1210046d 1442 "06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6"))))
ec9825d6
RW
1443 (build-system gnu-build-system)
1444 (arguments
1445 `(#:tests? #f ; there are no tests
1446 #:modules ((guix build gnu-build-system)
1bcae5c5 1447 ((guix build emacs-build-system) #:prefix emacs:)
ec9825d6
RW
1448 (guix build utils)
1449 (guix build emacs-utils))
1450 #:imported-modules (,@%gnu-build-system-modules
1bcae5c5 1451 (guix build emacs-build-system)
ec9825d6
RW
1452 (guix build emacs-utils))
1453 #:phases
1454 (modify-phases %standard-phases
1bcae5c5
AK
1455 ;; Build server side using 'gnu-build-system'.
1456 (add-after 'unpack 'enter-server-dir
1457 (lambda _ (chdir "server") #t))
d10092b8 1458 (add-after 'enter-server-dir 'autogen
1bcae5c5
AK
1459 (lambda _
1460 (zero? (system* "bash" "autogen.sh"))))
1461
1462 ;; Build emacs side using 'emacs-build-system'.
1463 (add-after 'compress-documentation 'enter-lisp-dir
1464 (lambda _ (chdir "../lisp") #t))
1465 (add-after 'enter-lisp-dir 'emacs-patch-variables
1466 (lambda* (#:key outputs #:allow-other-keys)
1467 ;; Set path to epdfinfo program.
1468 (emacs-substitute-variables "pdf-info.el"
1469 ("pdf-info-epdfinfo-program"
1470 (string-append (assoc-ref outputs "out")
1471 "/bin/epdfinfo")))
1472 ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
1473 ;; upgrading" that pdf-tools tries to perform.
1474 (emacs-substitute-variables "pdf-tools.el"
1475 ("pdf-tools-handle-upgrades" '()))))
1476 (add-after 'emacs-patch-variables 'emacs-install
1477 (assoc-ref emacs:%standard-phases 'install))
1478 (add-after 'emacs-install 'emacs-build
1479 (assoc-ref emacs:%standard-phases 'build))
1480 (add-after 'emacs-install 'emacs-make-autoloads
1481 (assoc-ref emacs:%standard-phases 'make-autoloads)))))
ec9825d6
RW
1482 (native-inputs `(("autoconf" ,autoconf)
1483 ("automake" ,automake)
1484 ("pkg-config" ,pkg-config)
b8fc3622 1485 ("emacs" ,emacs-minimal)))
ec9825d6
RW
1486 (inputs `(("poppler" ,poppler)
1487 ("cairo" ,cairo)
1488 ("glib" ,glib)
1489 ("libpng" ,libpng)
1490 ("zlib" ,zlib)))
1210046d 1491 (propagated-inputs `(("tablist" ,emacs-tablist)))
ec9825d6
RW
1492 (synopsis "Emacs support library for PDF files")
1493 (description
1494 "PDF Tools is, among other things, a replacement of DocView for PDF
1495files. The key difference is that pages are not pre-rendered by
1496e.g. ghostscript and stored in the file-system, but rather created on-demand
1497and stored in memory.")
1498 (home-page "https://github.com/politza/pdf-tools")
1499 (license license:gpl3+)))
d4dbf10e
FB
1500
1501(define-public emacs-dash
1502 (package
1503 (name "emacs-dash")
a31a79bc 1504 (version "2.13.0")
d4dbf10e
FB
1505 (source (origin
1506 (method url-fetch)
1507 (uri (string-append
1508 "https://github.com/magnars/dash.el/archive/"
1509 version ".tar.gz"))
1510 (file-name (string-append name "-" version ".tar.gz"))
1511 (sha256
1512 (base32
a31a79bc 1513 "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
d4dbf10e
FB
1514 (build-system emacs-build-system)
1515 (arguments
1516 `(#:phases
1517 (modify-phases %standard-phases
1518 (add-before 'install 'check
1519 (lambda _
1520 (zero? (system* "./run-tests.sh")))))))
1521 (home-page "https://github.com/magnars/dash.el")
1522 (synopsis "Modern list library for Emacs")
1523 (description "This package provides a modern list API library for Emacs.")
1524 (license license:gpl3+)))
85777fe5 1525
753baf77
AK
1526(define-public emacs-bui
1527 (package
1528 (name "emacs-bui")
f6b1dd23 1529 (version "1.1.0")
753baf77
AK
1530 (source (origin
1531 (method url-fetch)
1532 (uri (string-append
1533 "https://github.com/alezost/bui.el/archive/v"
1534 version ".tar.gz"))
1535 (file-name (string-append name "-" version ".tar.gz"))
1536 (sha256
1537 (base32
f6b1dd23 1538 "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
753baf77
AK
1539 (build-system emacs-build-system)
1540 (propagated-inputs
1541 `(("dash" ,emacs-dash)))
1542 (home-page "https://github.com/alezost/bui.el")
1543 (synopsis "Buffer interface library for Emacs")
1544 (description
1545 "BUI (Buffer User Interface) is a library for making @code{list} and
1546@code{info} interfaces to display an arbitrary data of the same
1547type, for example: packages, buffers, files, etc.")
1548 (license license:gpl3+)))
1549
64e43c67
AK
1550(define-public emacs-guix
1551 (package
1552 (name "emacs-guix")
65f88296 1553 (version "0.3.4")
64e43c67
AK
1554 (source (origin
1555 (method url-fetch)
1556 (uri (string-append "https://github.com/alezost/guix.el"
1557 "/releases/download/v" version
1558 "/emacs-guix-" version ".tar.gz"))
1559 (sha256
1560 (base32
65f88296 1561 "152zf9vkafmnnf7by5armg165npznb961csgnvr8iwdj3smvivjf"))))
64e43c67
AK
1562 (build-system gnu-build-system)
1563 (arguments
1564 `(#:configure-flags
1565 (let ((guix (assoc-ref %build-inputs "guix"))
1566 (geiser (assoc-ref %build-inputs "geiser"))
1567 (dash (assoc-ref %build-inputs "dash"))
1568 (bui (assoc-ref %build-inputs "bui"))
1569 (magit-popup (assoc-ref %build-inputs "magit-popup"))
1570 (site-lisp "/share/emacs/site-lisp"))
1571 (list (string-append "--with-guix-site-dir="
ed9fb46b
LC
1572 (car (find-files (string-append guix
1573 "/share/guile/site")
1574 (lambda (file stat)
1575 (string-prefix?
1576 "2."
1577 (basename file)))
1578 #:directories? #t)))
3fb8e281
AK
1579 (string-append "--with-guix-site-ccache-dir="
1580 (car (find-files (string-append guix "/lib/guile")
1581 (lambda (file stat)
1582 (string-prefix?
1583 "2." (basename file)))
1584 #:directories? #t))
1585 "/site-ccache")
64e43c67
AK
1586 (string-append "--with-geiser-lispdir=" geiser site-lisp)
1587 (string-append "--with-dash-lispdir="
1588 dash site-lisp "/guix.d/dash-"
1589 ,(package-version emacs-dash))
1590 (string-append "--with-bui-lispdir="
1591 bui site-lisp "/guix.d/bui-"
1592 ,(package-version emacs-bui))
1593 (string-append "--with-popup-lispdir="
1594 magit-popup site-lisp "/guix.d/magit-popup-"
1595 ,(package-version emacs-magit-popup))))))
1596 (native-inputs
1597 `(("pkg-config" ,pkg-config)
1598 ("emacs" ,emacs-minimal)))
1599 (inputs
b4f8edb7 1600 `(("guile" ,guile-2.2)
64e43c67
AK
1601 ("guix" ,guix)))
1602 (propagated-inputs
1603 `(("geiser" ,geiser)
1604 ("dash" ,emacs-dash)
1605 ("bui" ,emacs-bui)
1606 ("magit-popup" ,emacs-magit-popup)))
78461856 1607 (home-page "https://alezost.github.io/guix.el/")
64e43c67
AK
1608 (synopsis "Emacs interface for GNU Guix")
1609 (description
b2f1f7b0
AK
1610 "Emacs-Guix provides a visual interface, tools and features for the GNU
1611Guix package manager. Particularly, it allows you to do various package
1612management tasks from Emacs. To begin with, run @code{M-x guix-about} or
1613@code{M-x guix-help} command.")
64e43c67
AK
1614 (license license:gpl3+)))
1615
d6e5de1e
RJ
1616(define-public emacs-d-mode
1617 (package
1618 (name "emacs-d-mode")
1619 (version "2.0.8")
1620 (source (origin
1621 (method url-fetch)
1622 (uri (string-append
1623 "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
1624 "archive/" version ".tar.gz"))
b87047e0 1625 (file-name (string-append name "-" version ".tar.gz"))
d6e5de1e
RJ
1626 (sha256
1627 (base32
1628 "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
1629 (build-system emacs-build-system)
1630 (propagated-inputs
1631 `(("emacs-undercover" ,emacs-undercover)))
1632 (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
1633 (synopsis "Emacs major mode for editing D code")
1634 (description "This package provides an Emacs major mode for highlighting
1635code written in the D programming language. This mode is currently known to
1636work with Emacs 24 and 25.")
1637 (license license:gpl2+)))
1638
7f7b38af
VD
1639(define-public emacs-keyfreq
1640 (package
1641 (name "emacs-keyfreq")
1642 (version "20160516.716")
1643 (source
1644 (origin
1645 (method url-fetch)
1646 (uri (string-append "http://melpa.org/packages/keyfreq-"
1647 version ".el"))
1648 (sha256
1649 (base32
1650 "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
1651 (build-system emacs-build-system)
1652 (home-page "https://github.com/dacap/keyfreq")
1653 (synopsis "Track Emacs command frequencies")
1654 (description "@code{emacs-keyfeq} tracks and shows how many times you used
1655a command.")
1656 (license license:gpl3+)))
1657
6aab6c27
RJ
1658(define-public emacs-olivetti
1659 (package
1660 (name "emacs-olivetti")
1661 (version "1.5.7")
1662 (source (origin
1663 (method url-fetch)
1664 (uri (string-append
1665 "https://stable.melpa.org/packages/olivetti-"
1666 version ".el"))
1667 (sha256
1668 (base32
1669 "1yj2ylg46q0pw1xzlv2b0fv9x8p56x25284s9v2smwjr4vf0nwcj"))))
1670 (build-system emacs-build-system)
1671 (home-page "https://github.com/rnkn/olivetti")
1672 (synopsis "Emacs minor mode for a nice writing environment")
1673 (description "This package provides an Emacs minor mode that puts writing
1674in the center.")
1675 (license license:gpl3+)))
1676
1075b437
DB
1677(define-public emacs-undo-tree
1678 (package
1679 (name "emacs-undo-tree")
77a7891b 1680 (version "0.6.6")
1075b437
DB
1681 (source (origin
1682 (method git-fetch)
1683 (uri (git-reference
1684 (url "http://dr-qubit.org/git/undo-tree.git")
08e1f38d 1685 (commit (string-append "release/" version))))
1075b437
DB
1686 (file-name (string-append name "-" version "-checkout"))
1687 (sha256
77a7891b 1688 (base32
1689 "1hnh2mnmw179gr094r561w6cw1haid0lpvpqvkc24wpj82vphzpa"))))
1075b437
DB
1690 (build-system emacs-build-system)
1691 (home-page "http://www.dr-qubit.org/emacs.php")
1692 (synopsis "Treat undo history as a tree")
1693 (description "Tree-like interface to Emacs undo system, providing
1694graphical tree presentation of all previous states of buffer that
1695allows easily move between them.")
1696 (license license:gpl3+)))
1697
85777fe5
FB
1698(define-public emacs-s
1699 (package
1700 (name "emacs-s")
4e425584 1701 (version "1.12.0")
85777fe5
FB
1702 (source (origin
1703 (method url-fetch)
1704 (uri (string-append
1705 "https://github.com/magnars/s.el/archive/"
1706 version ".tar.gz"))
1707 (file-name (string-append name "-" version ".tar.gz"))
1708 (sha256
1709 (base32
4e425584 1710 "0xbl75863pcm806zg0x1lw7qznzjq2c8320k8js7apyag8q4srvh"))))
85777fe5
FB
1711 (build-system emacs-build-system)
1712 (arguments
1713 `(#:phases
1714 (modify-phases %standard-phases
1715 (add-before 'install 'check
1716 (lambda _
1717 (zero? (system* "./run-tests.sh")))))))
1718 (home-page "https://github.com/magnars/s.el")
a124bbd2 1719 (synopsis "Emacs string manipulation library")
85777fe5
FB
1720 (description "This package provides an Emacs library for manipulating
1721strings.")
1722 (license license:gpl3+)))
cf9ce01f 1723
070e1fe9
VD
1724(define-public emacs-symon
1725 (package
1726 (name "emacs-symon")
d71b758f 1727 (version "20160630")
070e1fe9
VD
1728 (source
1729 (origin
1730 (method url-fetch)
d71b758f
VD
1731 (uri (string-append "https://github.com/zk-phi/symon/archive/"
1732 version ".tar.gz"))
1733 (file-name (string-append name "-" version ".tar.gz"))
070e1fe9
VD
1734 (sha256
1735 (base32
d71b758f 1736 "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
070e1fe9 1737 (build-system emacs-build-system)
d71b758f 1738 (home-page "https://github.com/zk-phi/symon")
070e1fe9
VD
1739 (synopsis "Tiny graphical system monitor")
1740 (description
1741 "Tiny graphical system monitor for the Emacs minibuffer when idle.")
1742 (license license:gpl2+)))
1743
899bcad3 1744(define-public emacs-sx
1745 (package
1746 (name "emacs-sx")
1747 (version "0.4")
1748 (source (origin
1749 (method url-fetch)
1750 (uri (string-append "https://github.com/vermiculus/sx.el/"
1751 "archive/v" version ".tar.gz"))
1752 (file-name (string-append name "-" version ".tar.gz"))
1753 (sha256
1754 (base32
1755 "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
1756 (build-system emacs-build-system)
1757 (propagated-inputs
469c7ce0 1758 `(("emacs-markdown-mode" ,emacs-markdown-mode)))
899bcad3 1759 (home-page "https://github.com/vermiculus/sx.el/")
1760 (synopsis "Emacs StackExchange client")
1761 (description
1762 "Emacs StackExchange client. Ask and answer questions on
1763Stack Overflow, Super User, and other StackExchange sites.")
1764 (license license:gpl3+)))
1765
cf9ce01f
FB
1766(define-public emacs-f
1767 (package
1768 (name "emacs-f")
2b0ddaaa 1769 (version "0.19.0")
cf9ce01f
FB
1770 (source (origin
1771 (method url-fetch)
1772 (uri (string-append
1773 "https://github.com/rejeep/f.el/archive/v"
1774 version ".tar.gz"))
1775 (file-name (string-append name "-" version ".tar.gz"))
1776 (sha256
1777 (base32
2b0ddaaa 1778 "05195n80ywa68qykxn7dza6qd59rhakvlzhaa9l6mcpmjf9l9grs"))))
cf9ce01f
FB
1779 (build-system emacs-build-system)
1780 (propagated-inputs
1781 `(("emacs-s" ,emacs-s)
1782 ("emacs-dash" ,emacs-dash)))
7bf837fd 1783 (home-page "https://github.com/rejeep/f.el")
cf9ce01f
FB
1784 (synopsis "Emacs API for working with files and directories")
1785 (description "This package provides an Emacs library for working with
1786files and directories.")
1787 (license license:gpl3+)))
48dbeef7 1788
0916dc52
CB
1789(define-public emacs-git-gutter
1790 (package
1791 (name "emacs-git-gutter")
1792 (version "0.90")
1793 (source (origin
1794 (method url-fetch)
1795 (uri (string-append
1796 "https://github.com/syohex/" name "/archive/"
1797 version ".tar.gz"))
1798 (file-name (string-append name "-" version ".tar.gz"))
1799 (sha256
1800 (base32
1801 "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
1802 (build-system emacs-build-system)
1803 (home-page "https://github.com/syohex/emacs-git-gutter")
1804 (synopsis "See and manage hunks of text in a version control system")
1805 (description
1806 "This package is an Emacs minor mode for displaying and interacting with
1807hunks of text managed in a version control system. Added modified and deleted
1808areas can be indicated with symbols on the edge of the buffer, and commands
1809can be used to move between and perform actions on these hunks.
1810
1811Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
1812display and behaviour is easily customisable.")
1813 (license license:gpl3+)))
1814
0b35f11d
RW
1815(define-public emacs-git-timemachine
1816 (package
1817 (name "emacs-git-timemachine")
1818 (version "3.0")
1819 (source
1820 (origin
1821 (method url-fetch)
1822 (uri (string-append "https://github.com/pidu/git-timemachine/"
1823 "archive/" version ".tar.gz"))
1824 (file-name (string-append name "-" version ".tar.gz"))
1825 (sha256
1826 (base32
1827 "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
1828 (build-system emacs-build-system)
1829 (home-page "https://github.com/pidu/git-timemachine")
1830 (synopsis "Step through historic versions of Git-controlled files")
1831 (description "This package enables you to step through historic versions
1832of files under Git version control from within Emacs.")
1833 (license license:gpl3+)))
1834
26361de4 1835(define-public emacs-minitest
158943f2
CB
1836 (let ((commit "1aadb7865c1dc69c201cecee275751ecec33a182")
1837 (revision "1"))
1838 (package
1839 (name "emacs-minitest")
1840 (version (git-version "0.8.0" revision commit))
1841 (source (origin
1842 (method git-fetch)
1843 (uri (git-reference
1844 (url "https://github.com/arthurnn/minitest-emacs")
1845 (commit commit)))
1846 (file-name (git-file-name name commit))
1847 (sha256
1848 (base32
1849 "1l18zqpdzbnqj2qawq8hj7z7pl8hr8z9d8ihy8jaiqma915hmhj1"))))
1850 (build-system emacs-build-system)
1851 (arguments
1852 '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
1853 #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
1854 (propagated-inputs
1855 `(("emacs-dash" ,emacs-dash)
1856 ("emacs-f" ,emacs-f)))
1857 (home-page "https://github.com/arthurnn/minitest-emacs")
1858 (synopsis "Emacs minitest mode")
1859 (description
1860 "The minitest mode provides commands to run the tests for the current
26361de4
CB
1861file or line, as well as rerunning the previous tests, or all the tests for a
1862project.
1863
1864This package also includes relevant snippets for yasnippet.")
158943f2 1865 (license license:expat))))
26361de4 1866
1c32830b
RW
1867(define-public emacs-el-mock
1868 (package
1869 (name "emacs-el-mock")
1870 (version "1.25.1")
1871 (source
1872 (origin
1873 (method url-fetch)
1874 (uri (string-append "https://github.com/rejeep/el-mock.el/"
1875 "archive/v" version ".tar.gz"))
1876 (file-name (string-append name "-" version ".tar.gz"))
1877 (sha256
1878 (base32
1879 "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
1880 (build-system emacs-build-system)
7bf837fd 1881 (home-page "https://github.com/rejeep/el-mock.el")
1c32830b
RW
1882 (synopsis "Tiny mock and stub framework in Emacs Lisp")
1883 (description
1884 "Emacs Lisp Mock is a library for mocking and stubbing using readable
1885syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
1886Expectations, but it can be used in other contexts.")
1887 (license license:gpl3+)))
1888
0c5d837c
RW
1889(define-public emacs-espuds
1890 (package
1891 (name "emacs-espuds")
1892 (version "0.3.3")
1893 (source
1894 (origin
1895 (method url-fetch)
1896 (uri (string-append "https://github.com/ecukes/espuds/"
1897 "archive/v" version ".tar.gz"))
1898 (file-name (string-append name "-" version ".tar.gz"))
1899 (sha256
1900 (base32
1901 "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
1902 (build-system emacs-build-system)
1903 (propagated-inputs
1904 `(("emacs-s" ,emacs-s)
1905 ("emacs-dash" ,emacs-dash)
1906 ("emacs-f" ,emacs-f)))
7bf837fd 1907 (home-page "https://github.com/ecukes/espuds")
0c5d837c
RW
1908 (synopsis "Common step definitions for Ecukes")
1909 (description "Espuds is a collection of the most commonly used step
1910definitions for testing with the Ecukes framework.")
1911 (license license:gpl3+)))
1912
bae8e59e
MC
1913(define-public emacs-spark
1914 (let ((version "20160503") ; no proper tag, use date of commit
1915 (commit "0bf148c3ede3b31d56fd75f347cdd0b0eae60025")
1916 (revision "1"))
1917 (package
1918 (name "emacs-spark")
1919 (version (git-version version revision commit))
1920 (source
1921 (origin
1922 (method git-fetch)
1923 (uri (git-reference
1924 (url "https://github.com/alvinfrancis/spark.git")
1925 (commit commit)))
1926 (file-name (git-file-name name version))
1927 (sha256
1928 (base32
1929 "1ykqr86j17mi95s08d9fp02d7ych1331b04dcqxzxnmpkhwngyj1"))))
1930 (build-system emacs-build-system)
1931 (home-page "https://github.com/alvinfrancis/spark")
1932 (synopsis "Sparkline generation library for Emacs Lisp")
1933 (description "@code{emacs-spark} is a sparkline generation library for
1934Emacs Lisp. It generates a sparkline string given a list of numbers. It is a
1935port of @code{cl-spark} to Emacs Lisp.")
1936 (license license:expat))))
1937
8bebe734
CB
1938(define-public emacs-es-mode
1939 (package
1940 (name "emacs-es-mode")
c4373a60 1941 (version "4.3.0")
8bebe734
CB
1942 (source (origin
1943 (method url-fetch)
1944 (uri (string-append
1945 "https://github.com/dakrone/es-mode/archive/"
1946 version ".tar.gz"))
1947 (file-name (string-append name "-" version ".tar.gz"))
1948 (sha256
1949 (base32
c4373a60 1950 "0y86qdcb3g7fkcb4pzsjh3syzql6w3314hg1wqxq4a8bbk3y0cgr"))))
8bebe734
CB
1951 (build-system emacs-build-system)
1952 (propagated-inputs
1953 ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
1954 ;; to be rendered incorrectly
a262ac68
MC
1955 `(("emacs-dash" ,emacs-dash)
1956 ("emacs-org" ,emacs-org)
1957 ("emacs-spark" ,emacs-spark)))
8bebe734
CB
1958 (home-page "https://github.com/dakrone/es-mode")
1959 (synopsis "Major mode for editing Elasticsearch queries")
1960 (description "@code{es-mode} includes highlighting, completion and
1961indentation support for Elasticsearch queries. Also supported are
1962@code{es-mode} blocks in @code{org-mode}, for which the results of queries can
1963be processed through @code{jq}, or in the case of aggregations, can be
1964rendered in to a table. In addition, there is an @code{es-command-center}
1965mode, which displays information about Elasticsearch clusters.")
1966 (license license:gpl3+)))
1967
d0e43782
RW
1968(define-public emacs-expand-region
1969 (package
1970 (name "emacs-expand-region")
61c71171 1971 (version "0.11.0")
d0e43782
RW
1972 (source
1973 (origin
1974 (method url-fetch)
1975 (uri (string-append "https://github.com/magnars/expand-region.el"
1976 "/archive/" version ".tar.gz"))
1977 (file-name (string-append name "-" version ".tar.gz"))
1978 (sha256
1979 (base32
61c71171 1980 "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
d0e43782
RW
1981 (build-system emacs-build-system)
1982 (home-page "https://github.com/magnars/expand-region.el")
1983 (synopsis "Increase selected region by semantic units")
1984 (description
1985 "Expand region increases the selected region by semantic units. Just
1986keep pressing the key until it selects what you want. There's also
1987@code{er/contract-region} if you expand too far.")
1988 (license license:gpl3+)))
1989
65568446
RW
1990(define-public emacs-fill-column-indicator
1991 (package
1992 (name "emacs-fill-column-indicator")
1993 (version "1.81")
1994 (source
1995 (origin
1996 (method url-fetch)
1997 (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
1998 "/archive/v" version ".tar.gz"))
1999 (file-name (string-append name "-" version ".tar.gz"))
2000 (sha256
2001 (base32
2002 "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
2003 (build-system emacs-build-system)
2004 (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
2005 (synopsis "Graphically indicate the fill column")
2006 (description
2007 "Fill-column-indicator graphically indicates the location of the fill
2008column by drawing a thin line down the length of the editing window.")
2009 (license license:gpl3+)))
2010
fbc60db8
MC
2011(define-public emacs-grep-a-lot
2012 (package
2013 (name "emacs-grep-a-lot")
2014 (version "1.0.7")
2015 (source (origin
2016 (method git-fetch)
2017 (uri (git-reference
2018 (url "https://github.com/ZungBang/emacs-grep-a-lot.git")
2019 (commit "9f9f645b9e308a0d887b66864ff97d0fca1ba4ad")))
2020 (file-name (string-append name "-" version "-checkout"))
2021 (sha256
2022 (base32
2023 "1f8262mrlinzgnn4m49hbj1hm3c1mvzza24py4b37sasn49546lw"))))
2024 (build-system emacs-build-system)
2025 (home-page "https://github.com/ZungBang/emacs-grep-a-lot")
2026 (synopsis "Enables multiple grep buffers in Emacs")
2027 (description
2028 "This Emacs package allows managing multiple grep buffers.")
2029 (license license:gpl3+)))
2030
f450d3c5
CB
2031(define-public emacs-inf-ruby
2032 (package
2033 (name "emacs-inf-ruby")
2034 (version "2.5.1")
2035 (source
2036 (origin
2037 (method url-fetch)
2038 (uri (string-append "https://github.com/nonsequitur/inf-ruby/"
2039 "archive/" version ".tar.gz"))
2040 (file-name (string-append name "-" version ".tar.gz"))
2041 (sha256
2042 (base32
2043 "0m7323k649ckxql1grsdnf71bjhys7l4qb8wbpphb1mr1q8i4066"))))
2044 (build-system emacs-build-system)
2045 (home-page "https://github.com/nonsequitur/inf-ruby")
2046 (synopsis "Provides a REPL buffer connected to a Ruby subprocess in Emacs")
2047 (description
2048 "@code{inf-ruby} provides a Read Eval Print Loop (REPL) buffer, allowing
2049for easy interaction with a ruby subprocess. Features include support for
2050detecting specific uses of Ruby, e.g. when using rails, and using a
2051appropriate console.")
2052 (license license:gpl3+)))
2053
7b9769b0
RW
2054(define-public emacs-znc
2055 (package
2056 (name "emacs-znc")
2057 (version "0.0.2")
2058 (source
2059 (origin
2060 (method url-fetch)
2061 (uri (string-append "https://marmalade-repo.org/packages/znc-"
2062 version ".el"))
2063 (sha256
2064 (base32
2065 "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
2066 (build-system emacs-build-system)
2067 (home-page "https://github.com/sshirokov/ZNC.el")
2068 (synopsis "Make ERC and ZNC get along better")
2069 (description
2070 "This is a thin wrapper around @code{erc} that enables one to use the ZNC
2071IRC bouncer with ERC.")
2072 (license license:expat)))
2073
1f9a7097
RW
2074(define-public emacs-shut-up
2075 (package
2076 (name "emacs-shut-up")
2077 (version "0.3.2")
2078 (source
2079 (origin
2080 (method url-fetch)
2081 (uri (string-append "https://github.com/cask/shut-up/"
2082 "archive/v" version ".tar.gz"))
2083 (file-name (string-append name "-" version ".tar.gz"))
2084 (sha256
2085 (base32
2086 "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
2087 (build-system emacs-build-system)
2088 (home-page "https://github.com/cask/shut-up")
2089 (synopsis "Silence Emacs")
2090 (description "This package silences most output of Emacs when running an
2091Emacs shell script.")
2092 (license license:expat)))
2093
dbe38a3a
RW
2094(define-public emacs-undercover
2095 (package
2096 (name "emacs-undercover")
2097 (version "0.6.0")
2098 (source
2099 (origin
2100 (method url-fetch)
2101 (uri (string-append "https://github.com/sviridov/undercover.el/"
2102 "archive/v" version ".tar.gz"))
2103 (file-name (string-append name "-" version ".tar.gz"))
2104 (sha256
2105 (base32
2106 "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
2107 (build-system emacs-build-system)
2108 (propagated-inputs
2109 `(("emacs-dash" ,emacs-dash)
2110 ("emacs-shut-up" ,emacs-shut-up)))
2111 (home-page "https://github.com/sviridov/undercover.el")
2112 (synopsis "Test coverage library for Emacs Lisp")
2113 (description
2114 "Undercover is a test coverage library for software written in Emacs
2115Lisp.")
2116 (license license:expat)))
2117
07046e5f
RW
2118(define-public emacs-paren-face
2119 (package
2120 (name "emacs-paren-face")
2121 (version "1.0.0")
2122 (source
2123 (origin
2124 (method url-fetch)
2125 (uri (string-append "https://github.com/tarsius/paren-face/archive/"
2126 version ".tar.gz"))
2127 (file-name (string-append name "-" version ".tar.gz"))
2128 (sha256
2129 (base32
2130 "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
2131 (build-system emacs-build-system)
7bf837fd 2132 (home-page "https://github.com/tarsius/paren-face")
07046e5f
RW
2133 (synopsis "Face for parentheses in lisp modes")
2134 (description
2135 "This library defines a face named @code{parenthesis} used just for
2136parentheses. The intended purpose of this face is to make parentheses less
2137visible in Lisp code by dimming them. Lispers probably don't need to be
2138constantly made aware of the existence of the parentheses. Dimming them might
2139be even more useful for people new to lisp who have not yet learned to
2140subconsciously blend out the parentheses.")
2141 (license license:gpl3+)))
2142
a46e3c0d
RW
2143(define-public emacs-page-break-lines
2144 (package
2145 (name "emacs-page-break-lines")
2146 (version "0.11")
2147 (source
2148 (origin
2149 (method url-fetch)
2150 (uri (string-append "https://github.com/purcell/page-break-lines/"
2151 "archive/" version ".tar.gz"))
2152 (file-name (string-append name "-" version ".tar.gz"))
2153 (sha256
2154 (base32
2155 "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
2156 (build-system emacs-build-system)
2157 (home-page "https://github.com/purcell/page-break-lines")
2158 (synopsis "Display page breaks as tidy horizontal lines")
2159 (description
2160 "This library provides a global mode which displays form feed characters
2161as horizontal rules.")
2162 (license license:gpl3+)))
2163
1f8a951b
RW
2164(define-public emacs-simple-httpd
2165 (package
2166 (name "emacs-simple-httpd")
2167 (version "1.4.6")
2168 (source
2169 (origin
2170 (method url-fetch)
2171 (uri (string-append "https://github.com/skeeto/emacs-web-server/"
2172 "archive/" version ".tar.gz"))
2173 (file-name (string-append name "-" version ".tar.gz"))
2174 (sha256
2175 (base32
2176 "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
2177 (build-system emacs-build-system)
2178 (home-page "https://github.com/skeeto/emacs-http-server")
2179 (synopsis "HTTP server in pure Emacs Lisp")
2180 (description
2181 "This package provides a simple HTTP server written in Emacs Lisp to
2182serve files and directory listings.")
2183 (license license:unlicense)))
2184
6c04acaa
RW
2185(define-public emacs-skewer-mode
2186 (package
2187 (name "emacs-skewer-mode")
2188 (version "1.6.2")
2189 (source
2190 (origin
2191 (method url-fetch)
2192 (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
2193 version ".tar.gz"))
2194 (file-name (string-append name "-" version ".tar.gz"))
2195 (sha256
2196 (base32
2197 "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
2198 (build-system emacs-build-system)
2199 (propagated-inputs
2200 `(("emacs-simple-httpd" ,emacs-simple-httpd)
2201 ("emacs-js2-mode" ,emacs-js2-mode)))
46f5ae0b 2202 (arguments '(#:include '("\\.el$" "\\.js$" "\\.html$")))
6c04acaa
RW
2203 (home-page "https://github.com/skeeto/skewer-mode")
2204 (synopsis "Live web development in Emacs")
2205 (description
2206 "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
2207a web browser. Expressions are sent on-the-fly from an editing buffer to be
2208evaluated in the browser, just like Emacs does with an inferior Lisp process
2209in Lisp modes.")
2210 (license license:unlicense)))
2211
cdba3a84
MC
2212(define-public emacs-string-inflection
2213 (package
2214 (name "emacs-string-inflection")
2215 (version "1.0.6")
2216 (source (origin
2217 (method git-fetch)
2218 (uri (git-reference
2219 (url "https://github.com/akicho8/string-inflection")
2220 (commit "a150e7bdda60b7824d3a936750ce23f73b0e4edd")))
2221 (file-name (string-append name "-" version "-checkout"))
2222 (sha256
2223 (base32
2224 "1k0sm552iawi49v4zis6dbb81d1rzgky9v0dpv7nj31gnb7bmy7k"))))
2225 (build-system emacs-build-system)
2226 (native-inputs
2227 `(("ert-runner" ,ert-runner)))
2228 (arguments
2229 `(#:phases
2230 (modify-phases %standard-phases
2231 (add-before 'install 'check
2232 (lambda _
2233 (zero? (system* "ert-runner")))))))
2234 (home-page "https://github.com/akicho8/string-inflection")
2235 (synopsis "Convert symbol names between different naming conventions")
2236 (description
2237 "This Emacs package provides convenient methods for manipulating the
2238naming style of a symbol. It supports different naming conventions such as:
2239
2240@enumerate
2241@item camel case
2242@item Pascal case
2243@item all upper case
2244@item lower case separated by underscore
2245@item etc...
2246@end enumerate\n")
2247 (license license:gpl2+)))
2248
ce9701fb
RW
2249(define-public emacs-stripe-buffer
2250 (package
2251 (name "emacs-stripe-buffer")
2252 (version "0.2.5")
2253 (source
2254 (origin
2255 (method url-fetch)
2256 (uri (string-append "https://github.com/sabof/stripe-buffer/"
2257 "archive/" version ".tar.gz"))
2258 (file-name (string-append name "-" version ".tar.gz"))
2259 (sha256
2260 (base32
2261 "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
2262 (build-system emacs-build-system)
2263 (home-page "https://github.com/sabof/stripe-buffer/")
2264 (synopsis "Add stripes to list buffers")
2265 (description
2266 "This Emacs package adds faces to add stripes to list buffers and org
2267tables.")
2268 (license license:gpl2+)))
2269
8d810163
RW
2270(define-public emacs-rich-minority
2271 (package
2272 (name "emacs-rich-minority")
2273 (version "1.0.1")
2274 (source
2275 (origin
2276 (method url-fetch)
2277 (uri (string-append "https://github.com/Malabarba/rich-minority/"
2278 "archive/" version ".tar.gz"))
2279 (file-name (string-append name "-" version ".tar.gz"))
2280 (sha256
2281 (base32
2282 "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
2283 (build-system emacs-build-system)
2284 (home-page "https://github.com/Malabarba/rich-minority")
2285 (synopsis "Clean-up and beautify the list of minor modes")
2286 (description
2287 "This Emacs package hides and/or highlights minor modes in the
2288mode-line.")
2289 (license license:gpl2+)))
2290
8733fc91
CB
2291(define-public emacs-robe
2292 (package
2293 (name "emacs-robe")
2294 (version "0.8.1")
2295 (source
2296 (origin
2297 (method url-fetch)
2298 (uri (string-append "https://github.com/dgutov/robe/"
2299 "archive/" version ".tar.gz"))
2300 (file-name (string-append name "-" version ".tar.gz"))
2301 (sha256
2302 (base32
2303 "1vp45y99fwj88z04ah4yppz4z568qcib646az6m9az5ar0f203br"))))
2304 (build-system emacs-build-system)
376015c3
CB
2305 (arguments
2306 '(#:include (cons "^lib\\/" %default-include)))
8733fc91
CB
2307 (propagated-inputs
2308 `(("emacs-inf-ruby" ,emacs-inf-ruby)))
2309 (home-page "https://github.com/dgutov/robe")
2310 (synopsis "Ruby code assistance tool for Emacs")
2311 (description
2312 "Robe can provide information on loaded classes and modules in Ruby code,
2313as well as where methods are defined. This allows the user to jump to method
2314definitions, modules and classes, display method documentation and provide
2315method and constant name completion.")
2316 (license license:gpl3+)))
2317
81808194
CB
2318(define-public emacs-rspec
2319 (package
2320 (name "emacs-rspec")
2321 (version "1.11")
2322 (source
2323 (origin
2324 (method url-fetch)
2325 (uri (string-append "https://github.com/pezra/rspec-mode/"
2326 "archive/v" version ".tar.gz"))
2327 (file-name (string-append name "-" version ".tar.gz"))
2328 (sha256
2329 (base32
2330 "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
2331 (build-system emacs-build-system)
2332 (home-page "https://github.com/pezra/rspec-mode")
2333 (synopsis "Provides a rspec mode for working with RSpec")
2334 (description
2335 "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
2336verify the spec associated with the current buffer, or entire project, as well
2337as moving between the spec files, and coresponding code files.
2338
2339Also included are keybindings for spec files and Dired buffers, as well as
2340snippets for yasnippet.")
2341 (license license:gpl3+)))
2342
b33f913d
RW
2343(define-public emacs-smart-mode-line
2344 (package
2345 (name "emacs-smart-mode-line")
2346 (version "2.10.1")
2347 (source
2348 (origin
2349 (method url-fetch)
2350 (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
2351 "archive/" version ".tar.gz"))
2352 (file-name (string-append name "-" version ".tar.gz"))
2353 (sha256
2354 (base32
2355 "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
2356 (build-system emacs-build-system)
2357 (propagated-inputs
2358 `(("emacs-rich-minority" ,emacs-rich-minority)))
7bf837fd 2359 (home-page "https://github.com/Malabarba/smart-mode-line")
66e07664 2360 (synopsis "Color-coded smart mode-line")
b33f913d
RW
2361 (description
2362 "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
2363read from small to large monitors by using colors, a prefix feature, and smart
2364truncation.")
2365 (license license:gpl2+)))
2366
69b498a1 2367(define-public emacs-sr-speedbar
33ca12f3
MC
2368 (let ((commit "77a83fb50f763a465c021eca7343243f465b4a47")
2369 (revision "0"))
2370 (package
2371 (name "emacs-sr-speedbar")
2372 (version (git-version "20161025" revision commit))
2373 (source
2374 (origin
2375 (method git-fetch)
2376 (uri (git-reference
2377 (url "https://github.com/emacsorphanage/sr-speedbar.git")
2378 (commit commit)))
2379 (file-name (git-file-name name version))
2380 (sha256
2381 (base32
2382 "0sd12555hk7z721y00kv3crdybvcn1i08wmd148z5imayzibj153"))))
2383 (build-system emacs-build-system)
2384 (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
2385 (synopsis "Same frame Emacs @code{speedbar}")
2386 (description
2387 "This Emacs package allows you to show @code{M-x speedbar} in the
69b498a1
OP
2388same frame (in an extra window). You can customize the initial width of
2389the speedbar window.")
33ca12f3 2390 (license license:gpl3+))))
69b498a1 2391
3bcb304e
RW
2392(define-public emacs-shell-switcher
2393 (package
2394 (name "emacs-shell-switcher")
2395 (version "1.0.1")
2396 (source
2397 (origin
2398 (method url-fetch)
2399 (uri (string-append "https://github.com/DamienCassou/shell-switcher"
2400 "/archive/v" version ".tar.gz"))
2401 (file-name (string-append name "-" version ".tar.gz"))
2402 (sha256
2403 (base32
2404 "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
2405 (build-system emacs-build-system)
2406 (home-page "https://github.com/DamienCassou/shell-switcher")
2407 (synopsis "Provide fast switching between shell buffers")
2408 (description
2409 "This package provides commands to quickly switch between shell buffers.")
2410 (license license:gpl3+)))
2411
48dbeef7
FB
2412(define-public emacs-ob-ipython
2413 (package
2414 (name "emacs-ob-ipython")
2415 (version "20150704.8807064693")
2416 (source (origin
2417 (method git-fetch)
2418 (uri (git-reference
698bd297 2419 (commit "880706469338ab59b5bb7dbe8460016f89755364")
48dbeef7 2420 (url "https://github.com/gregsexton/ob-ipython.git")))
eb6b471b 2421 (file-name (string-append name "-" version "-checkout"))
48dbeef7
FB
2422 (sha256
2423 (base32
2424 "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
2425 (build-system emacs-build-system)
2426 (propagated-inputs
2427 `(("emacs-f" ,emacs-f)))
2428 (home-page "http://www.gregsexton.org")
2429 (synopsis "Org-Babel functions for IPython evaluation")
2430 (description "This package adds support to Org-Babel for evaluating Python
2431source code using IPython.")
2432 (license license:gpl3+)))
6fd66b6c
LC
2433
2434(define-public emacs-debbugs
2435 (package
2436 (name "emacs-debbugs")
8180a406 2437 (version "0.15")
6fd66b6c
LC
2438 (source (origin
2439 (method url-fetch)
f32ffa04 2440 (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
6fd66b6c
LC
2441 version ".tar"))
2442 (sha256
2443 (base32
8180a406 2444 "1x7jw2ldgkknyxg7x9fhnqkary691icnysmi3xw0g2fjrvllzhqw"))))
6fd66b6c 2445 (build-system emacs-build-system)
91762db6 2446 (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
32e16112
AK
2447 (propagated-inputs
2448 `(("emacs-async" ,emacs-async)))
f32ffa04 2449 (home-page "https://elpa.gnu.org/packages/debbugs.html")
6fd66b6c
LC
2450 (synopsis "Access the Debbugs bug tracker in Emacs")
2451 (description
2452 "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
2453Tracker} from within Emacs.
2454
2455For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
2456and the command @code{M-x debbugs-gnu-search} for bug searching. If you
2457prefer the listing of bugs as TODO items of @code{org-mode}, you could use
2458@code{M-x debbugs-org} and related commands.
2459
2460A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
2461Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
2462 (license license:gpl3+)))
3ffe36f5 2463
1fcd7e6c
MC
2464(define-public emacs-ert-expectations
2465 (package
2466 (name "emacs-ert-expectations")
2467 (version "0.2")
2468 (source
2469 (origin
2470 (method url-fetch)
2471 (uri "https://www.emacswiki.org/emacs/download/ert-expectations.el")
2472 (sha256
2473 (base32
2474 "0cwy3ilsid90abzzjb7ha2blq9kmv3gfp3icwwfcz6qczgirq6g7"))))
2475 (build-system emacs-build-system)
2476 (home-page "https://www.emacswiki.org/emacs/ert-expectations.el")
2477 (synopsis "Simple unit test framework for Emacs Lisp")
2478 (description "@code{emacs-ert-expectations} is a simple unit test
2479framework for Emacs Lisp to be used with @code{ert}.")
2480 (license license:gpl3+)))
2481
3ffe36f5
LC
2482(define-public emacs-deferred
2483 (package
2484 (name "emacs-deferred")
4dd0f8c0 2485 (version "0.5.1")
3ffe36f5
LC
2486 (home-page "https://github.com/kiwanami/emacs-deferred")
2487 (source (origin
2488 (method git-fetch)
2489 (uri (git-reference
2490 (url home-page)
2491 (commit (string-append "v" version))))
2492 (sha256
2493 (base32
4dd0f8c0 2494 "0xy9zb6wwkgwhcxdnslqk52bq3z24chgk6prqi4ks0qcf2bwyh5h"))
3ffe36f5
LC
2495 (file-name (string-append name "-" version))))
2496 (build-system emacs-build-system)
2497 ;; FIXME: Would need 'el-expectations' to actually run tests.
2498 (synopsis "Simple asynchronous functions for Emacs Lisp")
2499 (description
2500 "The @code{deferred.el} library provides support for asynchronous tasks.
2501The API is almost the same as that of
2502@uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
2503for asynchronous tasks.")
2504 (license license:gpl3+)))
d001bb5a
LC
2505
2506(define-public butler
2507 (package
2508 (name "emacs-butler")
2509 (version "0.2.4")
2510 (home-page "https://github.com/AshtonKem/Butler")
2511 (source (origin
2512 (method git-fetch)
2513 (uri (git-reference
2514 (url home-page)
2515 (commit version)))
2516 (sha256
2517 (base32
2518 "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
2519 (file-name (string-append name "-" version))))
2520 (build-system emacs-build-system)
2521 (propagated-inputs
2522 `(("emacs-deferred" ,emacs-deferred)))
2523 (synopsis "Emacs client for Jenkins")
2524 (description
2525 "Butler provides an interface to connect to Jenkins continuous
2526integration servers. Users can specify a list of server in the
2527@code{butler-server-list} variable and then use @code{M-x butler-status} to
2528view the build status of those servers' build jobs, and possibly to trigger
2529build jobs.")
2530 (license license:gpl3+)))
2d1db448 2531
d1dbeddd
RW
2532(define-public emacs-company
2533 (package
2534 (name "emacs-company")
1262a2ab 2535 (version "0.9.3")
d1dbeddd
RW
2536 (source
2537 (origin
2538 (method url-fetch)
2539 (uri (string-append "https://github.com/company-mode/company-mode/archive/"
2540 version ".tar.gz"))
2541 (file-name (string-append name "-" version ".tar.gz"))
2542 (sha256
2543 (base32
1262a2ab 2544 "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
d1dbeddd 2545 (build-system emacs-build-system)
4e644ab8
AI
2546 (arguments
2547 `(#:phases
2548 (modify-phases %standard-phases
2549 (add-before 'install 'check
2550 (lambda _
2551 ;; The company-files-candidates-normal-root test looks
2552 ;; for the /bin directory, but the build environment has
2553 ;; no /bin directory. Modify the test to look for the
2554 ;; /tmp directory.
2555 (substitute* "test/files-tests.el"
2556 (("/bin/") "/tmp/"))
2557 (zero? (system* "make" "test-batch")))))))
d1dbeddd
RW
2558 (home-page "http://company-mode.github.io/")
2559 (synopsis "Modular text completion framework")
2560 (description
2561 "Company is a modular completion mechanism. Modules for retrieving
2562completion candidates are called back-ends, modules for displaying them are
2563front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
2564These are distributed in separate files and can be used individually.")
2565 (license license:gpl3+)))
2566
016590a9
OP
2567(define-public emacs-company-quickhelp
2568 (package
2569 (name "emacs-company-quickhelp")
2570 (version "2.3.0")
2571 (source
2572 (origin
2573 (method url-fetch)
2574 (uri (string-append
2575 "https://github.com/expez/company-quickhelp/archive/"
2576 version ".tar.gz"))
2577 (file-name (string-append name "-" version ".tar.gz"))
2578 (sha256
2579 (base32
2580 "0xrn2z1dgk5gmkmp2jkn9g83ckk39lqp5pyyv8rl7f6gqvib3qh0"))))
2581 (build-system emacs-build-system)
2582 (propagated-inputs
2583 `(("emacs-pos-tip" ,emacs-pos-tip)
2584 ("emacs-company" ,emacs-company)))
2585 (home-page "https://github.com/expez/company-quickhelp")
2586 (synopsis "Popup documentation for completion candidates")
2587 (description "@code{company-quickhelp} shows documentation for the
2588completion candidate when using the Company text completion framework.")
2589 (license license:gpl3+)))
2590
7c438099
RW
2591(define-public emacs-multiple-cursors
2592 (package
2593 (name "emacs-multiple-cursors")
2594 (version "1.4.0")
2595 (source
2596 (origin
2597 (method url-fetch)
2598 (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
2599 "archive/" version ".tar.gz"))
2600 (file-name (string-append name "-" version ".tar.gz"))
2601 (sha256
2602 (base32
2603 "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
2604 (build-system emacs-build-system)
2605 (home-page "https://github.com/magnars/multiple-cursors.el")
2606 (synopsis "Multiple cursors for Emacs")
2607 (description
2608 "This package adds support to Emacs for editing text with multiple
2609simultaneous cursors.")
2610 (license license:gpl3+)))
2611
2d1db448
LC
2612(define-public typo
2613 (package
2614 (name "emacs-typo")
2615 (version "1.1")
2616 (home-page "https://github.com/jorgenschaefer/typoel")
2617 (source (origin
2618 (method git-fetch)
2619 (uri (git-reference
2620 (url home-page)
2621 (commit (string-append "v" version))))
2622 (sha256
2623 (base32
2624 "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
2625 (file-name (string-append name "-" version))))
2626 (build-system emacs-build-system)
2627 (synopsis "Minor mode for typographic editing")
2628 (description
2629 "This package provides two Emacs modes, @code{typo-mode} and
2630@code{typo-global-mode}. These modes automatically insert Unicode characters
2631for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
2632automatically inserts a Unicode opening or closing quotation mark, depending
2633on context.")
2634 (license license:gpl3+)))
e037a09f
FB
2635
2636(define-public emacs-scheme-complete
2637 (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
2638 (package
2639 (name "emacs-scheme-complete")
2640 (version (string-append "20151223." (string-take commit 8)))
2641 (source
2642 (origin
2643 (file-name (string-append name "-" version))
2644 (method git-fetch)
2645 (uri (git-reference
2646 (url "https://github.com/ashinn/scheme-complete.git")
2647 (commit commit)))
2648 (sha256
2649 (base32
2650 "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
2651 (patches
fc1adab1 2652 (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
e037a09f
FB
2653 (build-system emacs-build-system)
2654 (home-page "https://github.com/ashinn/scheme-complete")
2655 (synopsis "Smart tab completion for Scheme in Emacs")
2656 (description
2657 "This file provides a single function, @code{scheme-smart-complete},
2658which you can use for intelligent, context-sensitive completion for any Scheme
2659implementation in Emacs. To use it just load this file and bind that function
2660to a key in your preferred mode.")
2661 (license license:public-domain))))
58a7dc13
FB
2662
2663(define-public emacs-mit-scheme-doc
2664 (package
2665 (name "emacs-mit-scheme-doc")
2666 (version "20140203")
2667 (source
2668 (origin
2669 (modules '((guix build utils)))
2670 (snippet
2671 ;; keep only file of interest
2672 '(begin
2673 (for-each delete-file '("dot-emacs.el" "Makefile"))
f3860753 2674 (install-file "6.945-config/mit-scheme-doc.el" ".")
58a7dc13
FB
2675 (delete-file-recursively "6.945-config")))
2676 (file-name (string-append name "-" version ".tar.bz2"))
2677 (method url-fetch)
2678 (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
2679 "6.945/dont-panic/emacs-basic-config.tar.bz2"))
2680 (sha256
2681 (base32
2682 "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
2683 (build-system emacs-build-system)
2684 (inputs `(("mit-scheme" ,mit-scheme)))
2685 (arguments
2686 `(#:phases
2687 (modify-phases %standard-phases
2688 (add-after 'unpack 'configure-doc
2689 (lambda* (#:key inputs #:allow-other-keys)
2690 (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
2691 (doc-dir (string-append mit-scheme-dir "/share/doc/"
2692 "mit-scheme-"
2693 ,(package-version mit-scheme))))
2694 (substitute* "mit-scheme-doc.el"
2695 (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
2696 (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
2697 (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
2698 (synopsis "MIT-Scheme documentation lookup for Emacs")
2699 (description
2700 "This package provides a set of Emacs functions to search definitions of
2701identifiers in the MIT-Scheme documentation.")
2702 (license license:gpl2+)))
e5045f30 2703
e5045f30
FB
2704(define-public emacs-constants
2705 (package
2706 (name "emacs-constants")
f99f3f24 2707 (version "2.6")
a9e41d2f 2708 (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
e5045f30
FB
2709 (source
2710 (origin
37dbfc50 2711 (file-name (string-append name "-" version ".tar.gz"))
f99f3f24
FB
2712 (method url-fetch)
2713 (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
2714 "/archive/v" version ".tar.gz"))
e5045f30
FB
2715 (sha256
2716 (base32
f99f3f24 2717 "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
e5045f30 2718 (build-system emacs-build-system)
e5045f30
FB
2719 (synopsis "Enter definition of constants into an Emacs buffer")
2720 (description
2721 "This package provides functions for inserting the definition of natural
2722constants and units into an Emacs buffer.")
2723 (license license:gpl2+)))
85960693 2724
e203221f
RW
2725(define-public emacs-tagedit
2726 (package
2727 (name "emacs-tagedit")
2728 (version "1.4.0")
2729 (source
2730 (origin
2731 (method url-fetch)
2732 (uri (string-append "https://github.com/magnars/tagedit/"
2733 "archive/" version ".tar.gz"))
2734 (file-name (string-append name "-" version ".tar.gz"))
2735 (sha256
2736 (base32
2737 "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
2738 (build-system emacs-build-system)
2739 (propagated-inputs
2740 `(("emacs-s" ,emacs-s)
2741 ("emacs-dash" ,emacs-dash)))
2742 (home-page "https://github.com/magnars/tagedit")
2743 (synopsis "Some paredit-like features for html-mode")
2744 (description
2745 "This package provides a collection of paredit-like functions for editing
2746in @code{html-mode}.")
2747 (license license:gpl3+)))
2748
85960693
FB
2749(define-public emacs-slime
2750 (package
2751 (name "emacs-slime")
d2f93e61 2752 (version "2.20")
85960693
FB
2753 (source
2754 (origin
2755 (file-name (string-append name "-" version ".tar.gz"))
2756 (method url-fetch)
2757 (uri (string-append
2758 "https://github.com/slime/slime/archive/v"
2759 version ".tar.gz"))
2760 (sha256
2761 (base32
d2f93e61 2762 "086lq5y4pvj9wihy0si02xxvyzpzz8mcg3hz1cvy9zxlyjwzr1gk"))))
85960693
FB
2763 (build-system emacs-build-system)
2764 (native-inputs
2765 `(("texinfo" ,texinfo)))
2766 (arguments
e8cefe11
AI
2767 `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
2768 #:exclude '("^slime-tests.el" "^contrib/test/"
2769 "^contrib/Makefile$" "^contrib/README.md$")
2770 #:phases
85960693
FB
2771 (modify-phases %standard-phases
2772 (add-before 'install 'configure
2773 (lambda* _
2774 (emacs-substitute-variables "slime.el"
2775 ("inferior-lisp-program" "sbcl"))
2776 #t))
2777 (add-before 'install 'install-doc
2778 (lambda* (#:key outputs #:allow-other-keys)
2779 (let* ((out (assoc-ref outputs "out"))
2780 (info-dir (string-append out "/share/info"))
2781 (doc-dir (string-append out "/share/doc/"
2782 ,name "-" ,version))
2783 (doc-files '("doc/slime-refcard.pdf"
2784 "README.md" "NEWS" "PROBLEMS"
2785 "CONTRIBUTING.md")))
2786 (with-directory-excursion "doc"
2787 (substitute* "Makefile"
2788 (("infodir=/usr/local/info")
2789 (string-append "infodir=" info-dir)))
2790 (system* "make" "html/index.html")
2791 (system* "make" "slime.info")
2792 (install-file "slime.info" info-dir)
2793 (copy-recursively "html" (string-append doc-dir "/html")))
2794 (for-each (lambda (f)
2795 (install-file f doc-dir)
2796 (delete-file f))
2797 doc-files)
2798 (delete-file-recursively "doc")
2799 #t))))))
2800 (home-page "https://github.com/slime/slime")
2801 (synopsis "Superior Lisp Interaction Mode for Emacs")
2802 (description
2803 "SLIME extends Emacs with support for interactive programming in
db574f71 2804Common Lisp. The features are centered around @command{slime-mode},
2805an Emacs minor mode that complements the standard @command{lisp-mode}.
2806While lisp-mode supports editing Lisp source files, @command{slime-mode}
2807adds support for interacting with a running Common Lisp process
2808for compilation, debugging, documentation lookup, and so on.")
85960693 2809 (license license:gpl2+)))
e11d14fe 2810
2811(define-public emacs-popup
2812 (package
2813 (name "emacs-popup")
2814 (version "0.5.3")
2815 (source (origin
2816 (method url-fetch)
2817 (uri (string-append
2818 "https://github.com/auto-complete/popup-el/archive/v"
2819 version ".tar.gz"))
2820 (file-name (string-append name "-" version ".tar.gz"))
2821 (sha256
2822 (base32
2823 "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
2824 (build-system emacs-build-system)
e11d14fe 2825 (home-page "https://github.com/auto-complete/popup-el")
2826 (synopsis "Visual Popup User Interface for Emacs")
2827 (description
2828 "Popup.el is a visual popup user interface library for Emacs.
2829This provides a basic API and common UI widgets such as popup tooltips
2830and popup menus.")
2831 (license license:gpl3+)))
48766ea8
RW
2832
2833(define-public emacs-god-mode
2834 (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
2835 (revision "1"))
2836 (package
2837 (name "emacs-god-mode")
2838 (version (string-append "20151005.925."
2839 revision "-" (string-take commit 9)))
2840 (source
2841 (origin
2842 (method git-fetch)
2843 (uri (git-reference
2844 (url "https://github.com/chrisdone/god-mode.git")
2845 (commit commit)))
2846 (file-name (string-append name "-" version "-checkout"))
2847 (sha256
2848 (base32
2849 "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
2850 (build-system emacs-build-system)
2851 (home-page "https://github.com/chrisdone/god-mode")
2852 (synopsis "Minor mode for entering commands without modifier keys")
2853 (description
2854 "This package provides a global minor mode for entering Emacs commands
2855without modifier keys. It's similar to Vim's separation of commands and
2856insertion mode. When enabled all keys are implicitly prefixed with
2857@samp{C-} (among other helpful shortcuts).")
2858 (license license:gpl3+))))
4670f70a 2859
8fc559dc 2860(define-public emacs-jinja2-mode
2861 (package
2862 (name "emacs-jinja2-mode")
2863 (version "0.2")
2864 (source
2865 (origin
2866 (method url-fetch)
2867 (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/"
2868 "archive/v" version ".tar.gz"))
2869 (file-name (string-append name "-" version ".tar.gz"))
2870 (sha256
2871 (base32
2872 "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn"))))
2873 (build-system emacs-build-system)
2874 (home-page "https://github.com/paradoxxxzero/jinja2-mode")
2875 (synopsis "Major mode for jinja2")
2876 (description
2877 "Emacs major mode for jinja2 with: syntax highlighting,
2878sgml/html integration, and indentation (working with sgml).")
2879 (license license:gpl3+)))
2880
4670f70a
CM
2881(define-public emacs-rfcview
2882 (package
2883 (name "emacs-rfcview")
2884 (version "0.13")
2885 (home-page "http://www.loveshack.ukfsn.org/emacs")
2886 (source (origin
02736daa 2887 (method url-fetch)
4670f70a
CM
2888 (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
2889 (sha256
2890 (base32
2891 "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
2892 (build-system emacs-build-system)
4670f70a
CM
2893 (synopsis "Prettify Request for Comments (RFC) documents")
2894 (description "The Internet Engineering Task Force (IETF) and the Internet
2895Society (ISOC) publish various Internet-related protocols and specifications
2896as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
2897documents. RFCs and STDs are published in a simple text form. This package
2898provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
2899read these documents in Emacs. It prettifies the text and adds
2900hyperlinks/menus for easier navigation. It also provides functions for
2901browsing the index of RFC documents and fetching them from remote servers or
2902local directories.")
2903 (license license:gpl3+)))
2904
9e9c71eb
CM
2905(define-public emacs-ffap-rfc-space
2906 (package
2907 (name "emacs-ffap-rfc-space")
2908 (version "12")
2909 (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
2910 (source (origin
02736daa 2911 (method url-fetch)
9e9c71eb
CM
2912 (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
2913 (sha256
2914 (base32
2915 "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
2916 (build-system emacs-build-system)
9e9c71eb
CM
2917 (synopsis "Make ffap recognize an RFC with a space before its number")
2918 (description "The Internet Engineering Task Force (IETF) and the
2919Internet Society (ISOC) publish various Internet-related protocols and
2920specifications as \"Request for Comments\" (RFC) documents. The
2921built-in Emacs module \"ffap\" (Find File at Point) has the ability to
2922recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
2923and load the appropriate RFC from a remote server. However, it fails
2924to recognize a name like \"RFC 1234\". This package enhances ffap so
2925that it correctly finds RFCs even when a space appears before the
2926number.")
2927 (license license:gpl3+)))
9576cc72 2928
db1a4960
RW
2929(define-public emacs-org-bullets
2930 (package
2931 (name "emacs-org-bullets")
2932 (version "0.2.4")
2933 (source
2934 (origin
2935 (method url-fetch)
2936 (uri (string-append "https://github.com/sabof/org-bullets/archive/"
2937 version ".tar.gz"))
2938 (file-name (string-append name "-" version ".tar.gz"))
2939 (sha256
2940 (base32
2941 "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
2942 (build-system emacs-build-system)
2943 (home-page "https://github.com/sabof/org-bullets")
2944 (synopsis "Show bullets in org-mode as UTF-8 characters")
2945 (description
2946 "This package provides an Emacs minor mode causing bullets in
2947@code{org-mode} to be rendered as UTF-8 characters.")
2948 (license license:gpl3+)))
b1679379
OP
2949
2950(define-public emacs-org-pomodoro
2951 (package
2952 (name "emacs-org-pomodoro")
2953 (version "2.1.0")
2954 (source
2955 (origin
2956 (method url-fetch)
2957 (uri (string-append
2958 "https://github.com/lolownia/org-pomodoro/archive/"
2959 version ".tar.gz"))
2960 (file-name (string-append name "-" version ".tar.gz"))
2961 (sha256
2962 (base32
2963 "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
2964 (build-system emacs-build-system)
2965 (propagated-inputs
2966 `(("emacs-alert" ,emacs-alert)))
2967 (home-page "https://github.com/lolownia/org-pomodoro")
2968 (synopsis "Pomodoro technique for org-mode")
2969 (description "@code{emacs-org-pomodoro} adds very basic support for
2970Pomodoro technique in Emacs org-mode.
2971
2972Run @code{M-x org-pomodoro} for the task at point or select one of the
2973last tasks that you clocked time for. Each clocked-in pomodoro starts
2974a timer of 25 minutes and after each pomodoro a break timer of 5
2975minutes is started automatically. Every 4 breaks a long break is
2976started with 20 minutes. All values are customizable.")
2977 (license license:gpl3+)))
db1a4960 2978
ed8bc028
RJ
2979(define-public emacs-org-trello
2980 (package
2981 (name "emacs-org-trello")
bf86533b 2982 (version "0.8.0")
ed8bc028
RJ
2983 (source (origin
2984 (method url-fetch)
2985 (uri (string-append
2986 "https://github.com/org-trello/org-trello/archive/"
2987 version ".tar.gz"))
2988 (file-name (string-append name "-" version ".tar.gz"))
2989 (sha256
2990 (base32
bf86533b 2991 "0549mnf5cgwn8b8jbl38fljbaxmh1605sv9j8f3lsa95jhs1zpa0"))))
ed8bc028
RJ
2992 (build-system emacs-build-system)
2993 (propagated-inputs
8865d476
MC
2994 `(("emacs-dash" ,emacs-dash)
2995 ("emacs-deferred" ,emacs-deferred)
2996 ("emacs-f" ,emacs-f)
2997 ("emacs-helm" ,emacs-helm)
ed8bc028 2998 ("emacs-request" ,emacs-request)
ed8bc028
RJ
2999 ("emacs-s" ,emacs-s)))
3000 (home-page "https://org-trello.github.io")
3001 (synopsis "Emacs minor mode for interacting with Trello")
3002 (description "This package provides an Emacs minor mode to extend
3003@code{org-mode} with Trello abilities. Trello is an online project
3004organizer.")
3005 (license license:gpl3+)))
3006
9576cc72
AP
3007(define-public emacs-zenburn-theme
3008 (package
3009 (name "emacs-zenburn-theme")
07716c68 3010 (version "2.5")
9576cc72
AP
3011 (source (origin
3012 (method url-fetch)
3013 (uri (string-append
3014 "https://github.com/bbatsov/zenburn-emacs/archive/v"
3015 version ".tar.gz"))
3016 (file-name (string-append name "-" version ".tar.gz"))
3017 (sha256
3018 (base32
07716c68 3019 "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
9576cc72 3020 (build-system emacs-build-system)
7bf837fd 3021 (home-page "https://github.com/bbatsov/zenburn-emacs")
9576cc72
AP
3022 (synopsis "Low contrast color theme for Emacs")
3023 (description
3024 "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
3025It is built on top of the custom theme support in Emacs 24 or later.")
3026 (license license:gpl3+)))
3027
012c8b35
RW
3028(define-public emacs-solarized-theme
3029 (package
3030 (name "emacs-solarized-theme")
3031 (version "1.2.2")
3032 (source (origin
3033 (method url-fetch)
3034 (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
3035 "archive/v" version ".tar.gz"))
3036 (file-name (string-append name "-" version ".tar.gz"))
3037 (sha256
3038 (base32
3039 "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
3040 (build-system emacs-build-system)
3041 (propagated-inputs
090bdb9e 3042 `(("emacs-dash" ,emacs-dash)))
7bf837fd 3043 (home-page "https://github.com/bbatsov/solarized-emacs")
012c8b35
RW
3044 (synopsis "Port of the Solarized theme for Emacs")
3045 (description
3046 "Solarized for Emacs is a port of the Solarized theme for Vim. This
3047package provides a light and a dark variant.")
3048 (license license:gpl3+)))
3049
e7761186
AV
3050(define-public emacs-ahungry-theme
3051 (package
3052 (name "emacs-ahungry-theme")
e5f95406 3053 (version "1.10.0")
e7761186
AV
3054 (source
3055 (origin (method url-fetch)
f32ffa04 3056 (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
e7761186
AV
3057 version ".tar"))
3058 (sha256
3059 (base32
e5f95406 3060 "14q5yw56n82qph09bk7wmj5b1snhh9w0nk5s1l7yn9ldg71xq6pm"))))
e7761186
AV
3061 (build-system emacs-build-system)
3062 (home-page "https://github.com/ahungry/color-theme-ahungry")
3063 (synopsis "Ahungry color theme for Emacs")
3064 (description "Ahungry theme for Emacs provides bright and bold colors.
3065If you load it from a terminal, you will be able to make use of the
3066transparent background. If you load it from a GUI, it will default to a
3067dark background.")
3068 (license license:gpl3+)))
3069
ab966b8f 3070(define-public emacs-2048-game
3071 (package
3072 (name "emacs-2048-game")
3073 (version "20151026.1233")
3074 (source
3075 (origin
3076 (method url-fetch)
3077 (uri (string-append "https://melpa.org/packages/2048-game-"
3078 version ".el"))
3079 (sha256
3080 (base32
3081 "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
3082 (build-system emacs-build-system)
3083 (home-page "https://bitbucket.org/zck/2048.el")
3084 (synopsis "Implementation of the game 2048 in Emacs Lisp")
3085 (description
3086 "This program is an implementation of 2048 for Emacs.
3087The goal of this game is to create a tile with value 2048. The size of the
3088board and goal value can be customized.")
3089 (license license:gpl3+)))
3090
4da9beab 3091(define-public emacs-base16-theme
3092 (package
3093 (name "emacs-base16-theme")
3094 (version "2.1")
3095 (source
3096 (origin
3097 (method url-fetch)
3098 (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
3099 version ".tar"))
3100 (sha256
3101 (base32
3102 "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
3103 (build-system emacs-build-system)
3104 (home-page "https://github.com/belak/base16-emacs")
3105 (synopsis "Base16 color themes for Emacs")
3106 (description
3107 "Base16 provides carefully chosen syntax highlighting and a default set
3108of sixteen colors suitable for a wide range of applications. Base16 is not a
3109single theme but a set of guidelines with numerous implementations.")
3110 (license license:expat)))
3111
5c447e28
AP
3112(define-public emacs-smartparens
3113 (package
3114 (name "emacs-smartparens")
308b8f79 3115 (version "1.11.0")
5c447e28
AP
3116 (source (origin
3117 (method url-fetch)
3118 (uri (string-append
3119 "https://github.com/Fuco1/smartparens/archive/"
3120 version ".tar.gz"))
3121 (file-name (string-append name "-" version ".tar.gz"))
3122 (sha256
3123 (base32
308b8f79 3124 "0q5as813xs8y29i3v2rm97phd6m7xsmmw6hwbvx57gwmi8i1c409"))))
5c447e28 3125 (build-system emacs-build-system)
db95d8ca
MC
3126 (propagated-inputs
3127 `(("emacs-dash" ,emacs-dash)
3128 ("emacs-markdown-mode" ,emacs-markdown-mode)))
5c447e28
AP
3129 (home-page "https://github.com/Fuco1/smartparens")
3130 (synopsis "Paredit-like insertion, wrapping and navigation with user
3131defined pairs")
3132 (description
3133 "Smartparens is a minor mode for Emacs that deals with parens pairs
3134and tries to be smart about it. It started as a unification effort to
3135combine functionality of several existing packages in a single,
3136compatible and extensible way to deal with parentheses, delimiters, tags
3137and the like. Some of these packages include autopair, textmate,
3138wrap-region, electric-pair-mode, paredit and others. With the basic
3139features found in other packages it also brings many improvements as
3140well as completely new features.")
3141 (license license:gpl3+)))
8eeb301d 3142
425d66f7
OP
3143(define-public emacs-highlight-symbol
3144 (package
3145 (name "emacs-highlight-symbol")
3146 (version "1.3")
3147 (source (origin
3148 (method url-fetch)
3149 (uri (string-append
3150 "https://github.com/nschum/highlight-symbol.el/archive/"
3151 version ".tar.gz"))
3152 (file-name (string-append name "-" version ".tar.gz"))
3153 (sha256
3154 (base32
3155 "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
3156 (build-system emacs-build-system)
3157 (home-page "https://nschum.de/src/emacs/highlight-symbol")
3158 (synopsis "Automatic and manual symbol highlighting for Emacs")
3159 (description
3160 "Use @code{highlight-symbol} to toggle highlighting of the symbol at
3161point throughout the current buffer. Use @code{highlight-symbol-mode} to keep
3162the symbol at point highlighted.
3163
3164The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
3165@code{highlight-symbol-next-in-defun} and
3166@code{highlight-symbol-prev-in-defun} allow for cycling through the locations
3167of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key
3168bindings @code{M-p} and @code{M-p} for navigation. When
3169@code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
3170regardless of @code{highlight-symbol-idle-delay}.
3171
3172@code{highlight-symbol-query-replace} can be used to replace the symbol. ")
3173 (license license:gpl2+)))
3174
8f82641a
RJ
3175(define-public emacs-hl-todo
3176 (package
3177 (name "emacs-hl-todo")
f61aaaf3 3178 (version "1.8.0")
8f82641a
RJ
3179 (source (origin
3180 (method url-fetch)
3181 (uri (string-append
3182 "https://raw.githubusercontent.com/tarsius/hl-todo/"
3183 version "/hl-todo.el"))
0e7c4089 3184 (file-name (string-append "hl-todo-" version ".el"))
8f82641a
RJ
3185 (sha256
3186 (base32
f61aaaf3 3187 "0g0h9v4572p7mcird8wsj1c41haf60krslm6mlpi4mdbh248kv6z"))))
8f82641a
RJ
3188 (build-system emacs-build-system)
3189 (home-page "https://github.com/tarsius/hl-todo")
3190 (synopsis "Emacs mode to highlight TODO and similar keywords")
3191 (description
3192 "This package provides an Emacs mode to highlight TODO and similar
3193keywords in comments and strings. This package also provides commands for
3194moving to the next or previous keyword and to invoke @code{occur} with a
3195regexp that matches all known keywords.")
3196 (license license:gpl3+)))
3197
480f7350
RW
3198(define-public emacs-perspective
3199 (package
3200 (name "emacs-perspective")
3201 (version "1.12")
3202 (source
3203 (origin
3204 (method url-fetch)
3205 (uri (string-append "https://github.com/nex3/perspective-el/"
3206 "archive/" version ".tar.gz"))
3207 (file-name (string-append name "-" version ".tar.gz"))
3208 (sha256
3209 (base32
3210 "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
3211 (build-system emacs-build-system)
7bf837fd 3212 (home-page "https://github.com/nex3/perspective-el")
480f7350
RW
3213 (synopsis "Switch between named \"perspectives\"")
3214 (description
3215 "This package provides tagged workspaces in Emacs, similar to workspaces in
3216windows managers such as Awesome and XMonad. @code{perspective.el} provides
3217multiple workspaces (or \"perspectives\") for each Emacs frame. Each
3218perspective is composed of a window configuration and a set of buffers.
3219Switching to a perspective activates its window configuration, and when in a
3220perspective only its buffers are available by default.")
3221 ;; This package is released under the same license as Emacs (GPLv3+) or
3222 ;; the Expat license.
3223 (license license:gpl3+)))
3224
439ad15d
MC
3225(define-public emacs-test-simple
3226 (package
3227 (name "emacs-test-simple")
3228 (version "1.3.0")
3229 (source
3230 (origin
3231 (method url-fetch)
3232 (uri (string-append "https://elpa.gnu.org/packages/test-simple-"
3233 version ".el"))
3234 (sha256
3235 (base32
3236 "1yd61jc9ds95a5n09052kwc5gasy57g4lxr0jsff040brlyi9czz"))))
3237 (build-system emacs-build-system)
3238 (home-page "https://github.com/rocky/emacs-test-simple")
3239 (synopsis "Simple unit test framework for Emacs Lisp")
3240 (description
3241 "Test Simple is a simple unit test framework for Emacs Lisp. It
3242alleviates the need for context macros, enclosing specifications or required
3243test tags. It supports both interactive and non-interactive use.")
3244 (license license:gpl3+)))
3245
fa1a17b7
MC
3246(define-public emacs-load-relative
3247 (package
3248 (name "emacs-load-relative")
3249 (version "1.3")
3250 (source
3251 (origin
3252 (method url-fetch)
3253 (uri (string-append "https://elpa.gnu.org/packages/load-relative-"
3254 version ".el"))
3255 (sha256
3256 (base32
3257 "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps"))))
3258 (build-system emacs-build-system)
3259 (home-page "http://github.com/rocky/emacs-load-relative")
3260 (synopsis "Emacs Lisp relative file loading related functions")
3261 (description
3262 "Provides functions which facilitate writing multi-file Emacs packages
3263and running from the source tree without having to \"install\" code or fiddle
3264with @{load-path}.
3265
3266The main function, @code{load-relative}, loads an Emacs Lisp file relative to
3267another (presumably currently running) Emacs Lisp file.")
3268 (license license:gpl3+)))
3269
fd38bfe2
MC
3270(define-public emacs-loc-changes
3271 (package
3272 (name "emacs-loc-changes")
3273 (version "1.2")
3274 (source
3275 (origin
3276 (method url-fetch)
3277 (uri (string-append "https://elpa.gnu.org/packages/loc-changes-"
3278 version ".el"))
3279 (sha256
3280 (base32
3281 "1x8fn8vqasayf1rb8a6nma9n6nbvkx60krmiahyb05vl5rrsw6r3"))))
3282 (build-system emacs-build-system)
3283 (home-page "https://github.com/rocky/emacs-loc-changes")
3284 (synopsis "Keeps track of positions even after buffer changes")
3285 (description
3286 "This Emacs package provides a mean to track important buffer positions
3287after buffer changes.")
3288 (license license:gpl3+)))
3289
b1968d86
MC
3290(define-public emacs-realgud
3291 (package
3292 (name "emacs-realgud")
3293 (version "1.4.4")
3294 (source
3295 (origin
3296 (method url-fetch)
3297 (uri (string-append "https://elpa.gnu.org/packages/realgud-"
3298 version ".tar"))
3299 (sha256
3300 (base32
3301 "1nc8km339ip90h1j55ahfga03v7x7rh4iycmw6yrxyzir68vwn7c"))))
3302 (build-system emacs-build-system)
3303 (arguments
3304 `(#:tests? #t
3305 #:phases
3306 (modify-phases %standard-phases
3307 (add-after 'unpack 'fix-autogen-script
3308 (lambda _
3309 (substitute* "autogen.sh"
3310 (("./configure") "sh configure"))))
3311 (add-after 'fix-autogen-script 'autogen
3312 (lambda _
3313 (setenv "CONFIG_SHELL" "sh")
3314 (invoke "sh" "autogen.sh")))
3315 (add-after 'fix-autogen-script 'set-home
3316 (lambda _
3317 (setenv "HOME" (getenv "TMPDIR"))))
3318 (add-before 'patch-el-files 'remove-realgud-pkg.el
3319 (lambda _
3320 ;; XXX: This file is auto-generated at some point and causes
3321 ;; substitute* to crash during the `patch-el-files' phase with:
3322 ;; ERROR: In procedure stat: No such file or directory:
3323 ;; "./realgud-pkg.el"
3324 (delete-file "./realgud-pkg.el")
3325 ;; FIXME: `patch-el-files' crashes on this file with error:
3326 ;; unable to locate "bashdb".
3327 (delete-file "./test/test-regexp-bashdb.el"))))
3328 #:include (cons* ".*\\.el$" %default-include)))
3329 (native-inputs
3330 `(("autoconf" ,autoconf)
3331 ("automake" ,automake)
3332 ("emacs-test-simple" ,emacs-test-simple)))
3333 (propagated-inputs
3334 `(("emacs-load-relative" ,emacs-load-relative)
3335 ("emacs-loc-changes" ,emacs-loc-changes)))
3336 (home-page "https://github.com/realgud/realgud/")
3337 (synopsis
3338 "Modular front-end for interacting with external debuggers")
3339 (description
3340 "RealGUD is a modular, extensible GNU Emacs front-end for interacting
3341with external debuggers. It integrates various debuggers such as gdb, pdb,
3342ipdb, jdb, lldb, bashdb, zshdb, etc. and allows to visually step code in the
3343sources. Unlike GUD, it also supports running multiple debug sessions in
3344parallel.")
3345 (license license:gpl3+)))
3346
36e5d103
RJ
3347(define-public emacs-request
3348 (package
3349 (name "emacs-request")
5a545aab 3350 (version "0.3.0")
36e5d103 3351 (source (origin
5a545aab
RW
3352 (method git-fetch)
3353 (uri (git-reference
3354 (url "https://github.com/tkf/emacs-request.git")
3355 (commit (string-append "v" version))))
3356 (file-name (string-append name "-" version "-checkout"))
36e5d103 3357 (sha256
5a545aab
RW
3358 (base32
3359 "0wyxqbb35yqf6ci47531lk32d6fppamx9d8826kdz983vm87him7"))))
36e5d103 3360 (build-system emacs-build-system)
4e782fff
MC
3361 (propagated-inputs
3362 `(("emacs-deferred" ,emacs-deferred)))
36e5d103
RJ
3363 (home-page "https://github.com/tkf/emacs-request")
3364 (synopsis "Package for speaking HTTP in Emacs Lisp")
3365 (description "This package provides a HTTP request library with multiple
3366backends. It supports url.el which is shipped with Emacs and the curl command
3367line program.")
3368 (license license:gpl3+)))
3369
f1b61e26 3370(define-public emacs-rudel
3371 (package
3372 (name "emacs-rudel")
3373 (version "0.3.1")
3374 (source
3375 (origin
3376 (method url-fetch)
3377 (uri (string-append "http://elpa.gnu.org/packages/rudel-"
3378 version ".tar"))
3379 (sha256
3380 (base32
3381 "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
3382 (build-system emacs-build-system)
3383 (home-page "http://rudel.sourceforge.net/")
3384 (synopsis "Collaborative editing framework")
3385 (description
3386 "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
3387is to share buffers with other users in order to edit the contents of those
3388buffers collaboratively. Rudel supports multiple backends to enable
3389communication with other collaborative editors using different protocols,
3390though currently Obby (for use with the Gobby editor) is the only
3391fully-functional one.")
3392 (license license:gpl3+)))
3393
79b3d3ea
RW
3394(define-public emacs-hydra
3395 (package
3396 (name "emacs-hydra")
9932dabf 3397 (version "0.14.0")
79b3d3ea
RW
3398 (source
3399 (origin
3400 (method url-fetch)
3401 (uri (string-append "https://github.com/abo-abo/hydra/archive/"
3402 version ".tar.gz"))
3403 (file-name (string-append name "-" version ".tar.gz"))
3404 (sha256
3405 (base32
9932dabf 3406 "0884k3ffwzhh6krbd8l7vvm184dkagb2jf4q8xzg72plln34qrm8"))))
79b3d3ea
RW
3407 (build-system emacs-build-system)
3408 (home-page "https://github.com/abo-abo/hydra")
3409 (synopsis "Make Emacs bindings that stick around")
3410 (description
3411 "This package can be used to tie related commands into a family of short
3412bindings with a common prefix---a Hydra. Once you summon the Hydra (through
3413the prefixed binding), all the heads can be called in succession with only a
3414short extension. Any binding that isn't the Hydra's head vanquishes the
3415Hydra. Note that the final binding, besides vanquishing the Hydra, will still
3416serve its original purpose, calling the command assigned to it. This makes
3417the Hydra very seamless; it's like a minor mode that disables itself
3418automatically.")
3419 (license license:gpl3+)))
3420
12db29ba
RW
3421(define-public emacs-ivy
3422 (package
3423 (name "emacs-ivy")
a8374234 3424 (version "0.10.0")
12db29ba
RW
3425 (source
3426 (origin
a8374234
RW
3427 (method git-fetch)
3428 (uri (git-reference
3429 (url "https://github.com/abo-abo/swiper.git")
3430 (commit version)))
3431 (file-name (string-append name "-" version "-checkout"))
12db29ba
RW
3432 (sha256
3433 (base32
a8374234 3434 "14vnigqb5c3yi4q9ysw1fiwdqyqwyklqpb9wnjf81chm7s2mshnr"))))
12db29ba 3435 (build-system emacs-build-system)
5f66a0a7
RW
3436 (arguments
3437 `(#:phases
3438 (modify-phases %standard-phases
3439 (add-after 'install 'install-doc
3440 (lambda* (#:key outputs #:allow-other-keys)
3441 (let* ((out (assoc-ref outputs "out"))
3442 (info (string-append out "/share/info")))
3443 (with-directory-excursion "doc"
3444 (unless (zero? (system* "makeinfo" "ivy.texi"))
3445 (error "makeinfo failed"))
3446 (install-file "ivy.info" info))))))))
12db29ba
RW
3447 (propagated-inputs
3448 `(("emacs-hydra" ,emacs-hydra)))
5f66a0a7
RW
3449 (native-inputs
3450 `(("texinfo" ,texinfo)))
12db29ba
RW
3451 (home-page "http://oremacs.com/swiper/")
3452 (synopsis "Incremental vertical completion for Emacs")
3453 (description
3454 "This package provides @code{ivy-read} as an alternative to
3455@code{completing-read} and similar functions. No attempt is made to determine
3456the best candidate. Instead, the user can navigate candidates with
3457@code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
3458splitting the input text by spaces and re-building it into a regular
3459expression.")
3460 (license license:gpl3+)))
3461
5edc24ec
RW
3462(define-public emacs-avy
3463 (package
3464 (name "emacs-avy")
3465 (version "0.4.0")
3466 (source
3467 (origin
3468 (method url-fetch)
3469 (uri (string-append "https://github.com/abo-abo/avy/archive/"
3470 version ".tar.gz"))
3471 (file-name (string-append name "-" version ".tar.gz"))
3472 (sha256
3473 (base32
3474 "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
3475 (build-system emacs-build-system)
3476 (home-page "https://github.com/abo-abo/avy")
3477 (synopsis "Tree-based completion for Emacs")
3478 (description
3479 "This package provides a generic completion method based on building a
3480balanced decision tree with each candidate being a leaf. To traverse the tree
3481from the root to a desired leaf, typically a sequence of @code{read-key} can
3482be used.
3483
3484In order for @code{read-key} to make sense, the tree needs to be visualized
3485appropriately, with a character at each branch node. So this completion
3486method works only for things that you can see on your screen, all at once,
3487such as the positions of characters, words, line beginnings, links, or
3488windows.")
3489 (license license:gpl3+)))
3490
93dba17c
RW
3491(define-public emacs-ace-window
3492 (package
3493 (name "emacs-ace-window")
3494 (version "0.9.0")
3495 (source
3496 (origin
3497 (method url-fetch)
3498 (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
3499 version ".tar.gz"))
3500 (file-name (string-append name "-" version ".tar.gz"))
3501 (sha256
3502 (base32
3503 "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
3504 (build-system emacs-build-system)
3505 (propagated-inputs
3506 `(("emacs-avy" ,emacs-avy)))
3507 (home-page "https://github.com/abo-abo/ace-window")
3508 (synopsis "Quickly switch windows in Emacs")
3509 (description
3510 "@code{ace-window} is meant to replace @code{other-window}.
3511In fact, when there are only two windows present, @code{other-window} is
3512called. If there are more, each window will have its first character
3513highlighted. Pressing that character will switch to that window.")
3514 (license license:gpl3+)))
3515
e1918ce4
RW
3516(define-public emacs-iedit
3517 (package
3518 (name "emacs-iedit")
f9f77a9e 3519 (version "0.9.9.9")
e1918ce4
RW
3520 (source
3521 (origin
3522 (method url-fetch)
3523 (uri (string-append "https://github.com/victorhge/iedit/archive/v"
3524 version ".tar.gz"))
3525 (file-name (string-append name "-" version ".tar.gz"))
3526 (sha256
3527 (base32
f9f77a9e 3528 "1hv8q6pr85ss9g3158l1fqv3m62vsq8rslsi86jicr2dcxyascr0"))))
e1918ce4
RW
3529 (build-system emacs-build-system)
3530 (home-page "http://www.emacswiki.org/emacs/Iedit")
3531 (synopsis "Edit multiple regions in the same way simultaneously")
3532 (description
3533 "This package is an Emacs minor mode and allows you to edit one
3534occurrence of some text in a buffer (possibly narrowed) or region, and
3535simultaneously have other occurrences edited in the same way.
3536
3537You can also use Iedit mode as a quick way to temporarily show only the buffer
3538lines that match the current text being edited. This gives you the effect of
3539a temporary @code{keep-lines} or @code{occur}.")
3540 (license license:gpl3+)))
3541
30cf7070
CL
3542(define-public emacs-zoutline
3543 (let ((commit "b3ee0f0e0b916838c2d2c249beba74ffdb8d5699")
3544 (revision "0"))
3545 (package
3546 (name "emacs-zoutline")
3547 (version (git-version "0.1" revision commit))
3548 (home-page "https://github.com/abo-abo/zoutline")
3549 (source (origin
3550 (method git-fetch)
3551 (uri (git-reference (url home-page) (commit commit)))
3552 (sha256
3553 (base32
3554 "0sd0017piw0dis6dhpq5dkqd3acisxqgipl7dj8gmc1vnswhdwr8"))
3555 (file-name (git-file-name name version))))
3556 (build-system emacs-build-system)
3557 (synopsis "Simple outline library")
3558 (description
3559 "This library provides helpers for outlines. Outlines allow users to
3560navigate code in a tree-like fashion.")
3561 (license license:gpl3+))))
3562
a5338dd4
RW
3563(define-public emacs-lispy
3564 (package
3565 (name "emacs-lispy")
3566 (version "0.26.0")
3567 (source
3568 (origin
3569 (method url-fetch)
3570 (uri (string-append "https://github.com/abo-abo/lispy/archive/"
3571 version ".tar.gz"))
3572 (file-name (string-append name "-" version ".tar.gz"))
3573 (sha256
3574 (base32
3575 "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
3576 (build-system emacs-build-system)
3577 (propagated-inputs
3578 `(("emacs-ace-window" ,emacs-ace-window)
3579 ("emacs-iedit" ,emacs-iedit)
3580 ("emacs-ivy" ,emacs-ivy)
3581 ("emacs-hydra" ,emacs-hydra)))
3582 (home-page "https://github.com/abo-abo/lispy")
3583 (synopsis "Modal S-expression editing")
3584 (description
3585 "Due to the structure of Lisp syntax it's very rare for the programmer to
3586want to insert characters right before \"(\" or right after \")\". Thus
3587unprefixed printable characters can be used to call commands when the point is
3588at one of these special locations. Lispy provides unprefixed keybindings for
3589S-expression editing when point is at the beginning or end of an
3590S-expression.")
3591 (license license:gpl3+)))
3592
8eeb301d
AP
3593(define-public emacs-clojure-mode
3594 (package
3595 (name "emacs-clojure-mode")
2fa6f63b 3596 (version "5.6.1")
8eeb301d
AP
3597 (source (origin
3598 (method url-fetch)
3599 (uri (string-append
3600 "https://github.com/clojure-emacs/clojure-mode/archive/"
3601 version ".tar.gz"))
3602 (file-name (string-append name "-" version ".tar.gz"))
3603 (sha256
3604 (base32
2fa6f63b 3605 "1f4k1hncy5ygh4izn7mqfp744nnisrp9ywn2njknbjxx34ai1q88"))))
8eeb301d 3606 (build-system emacs-build-system)
92d9cfef
AI
3607 (native-inputs
3608 `(("emacs-dash" ,emacs-dash)
3609 ("emacs-s" ,emacs-s)
3610 ("ert-runner" ,ert-runner)))
3611 (arguments
3612 `(#:phases
3613 (modify-phases %standard-phases
3614 (add-after 'install 'check
3615 (lambda _
3616 (zero? (system* "ert-runner")))))))
7bf837fd 3617 (home-page "https://github.com/clojure-emacs/clojure-mode")
8eeb301d
AP
3618 (synopsis "Major mode for Clojure code")
3619 (description
3620 "This Emacs package provides font-lock, indentation, navigation and basic
3621refactoring for the @uref{http://clojure.org, Clojure programming language}.
3622It is recommended to use @code{clojure-mode} with paredit or smartparens.")
3623 (license license:gpl3+)))
d345491a
AP
3624
3625(define-public emacs-epl
3626 (package
3627 (name "emacs-epl")
3628 (version "0.8")
3629 (source (origin
3630 (method url-fetch)
3631 (uri (string-append
3632 "https://github.com/cask/epl/archive/"
3633 version ".tar.gz"))
5a6f7a68 3634 (file-name (string-append name "-" version ".tar.gz"))
d345491a
AP
3635 (sha256
3636 (base32
3637 "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
3638 (build-system emacs-build-system)
7bf837fd 3639 (home-page "https://github.com/cask/epl")
d345491a
AP
3640 (synopsis "Emacs Package Library")
3641 (description
3642 "A package management library for Emacs, based on @code{package.el}.
3643
3644The purpose of this library is to wrap all the quirks and hassle of
3645@code{package.el} into a sane API.")
3646 (license license:gpl3+)))
ad6c4bc4
AP
3647
3648(define-public emacs-queue
3649 (package
3650 (name "emacs-queue")
5f51f39e 3651 (version "0.2")
ad6c4bc4 3652 (source (origin
02736daa 3653 (method url-fetch)
f32ffa04 3654 (uri (string-append "https://elpa.gnu.org/packages/queue-"
ad6c4bc4
AP
3655 version ".el"))
3656 (sha256
3657 (base32
5f51f39e 3658 "0cx2848sqnnkkr4zisvqadzxngjyhmb36mh0q3if7q19yjjhmrkb"))))
ad6c4bc4
AP
3659 (build-system emacs-build-system)
3660 (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
3661 (synopsis "Queue data structure for Emacs")
3662 (description
3663 "This Emacs library provides queue data structure. These queues can be
3664used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
3665stack, i.e. elements can be added to the front or back of the queue, and can
3666be removed from the front. This type of data structure is sometimes called an
3667\"output-restricted deque\".")
3668 (license license:gpl3+)))
32abfcf4
AP
3669
3670(define-public emacs-pkg-info
3671 (package
3672 (name "emacs-pkg-info")
3673 (version "0.6")
3674 (source (origin
3675 (method url-fetch)
3676 (uri (string-append
3677 "https://github.com/lunaryorn/pkg-info.el/archive/"
3678 version ".tar.gz"))
3679 (file-name (string-append name "-" version ".tar.gz"))
3680 (sha256
3681 (base32
3682 "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
3683 (build-system emacs-build-system)
3684 (propagated-inputs `(("emacs-epl" ,emacs-epl)))
3685 (home-page "https://github.com/lunaryorn/pkg-info.el")
3686 (synopsis "Information about Emacs packages")
3687 (description
3688 "This library extracts information from the installed Emacs packages.")
3689 (license license:gpl3+)))
565bccc5
AP
3690
3691(define-public emacs-spinner
3692 (package
3693 (name "emacs-spinner")
cd4d96b8 3694 (version "1.7.3")
565bccc5 3695 (source (origin
02736daa 3696 (method url-fetch)
f32ffa04 3697 (uri (string-append "https://elpa.gnu.org/packages/spinner-"
565bccc5
AP
3698 version ".el"))
3699 (sha256
3700 (base32
cd4d96b8 3701 "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
565bccc5
AP
3702 (build-system emacs-build-system)
3703 (home-page "https://github.com/Malabarba/spinner.el")
3704 (synopsis "Emacs mode-line spinner for operations in progress")
3705 (description
3706 "This Emacs package adds spinners and progress-bars to the mode-line for
3707ongoing operations.")
3708 (license license:gpl3+)))
62a45cb6 3709
fd2d17cd
RJ
3710(define-public emacs-sparql-mode
3711 (package
3712 (name "emacs-sparql-mode")
3713 (version "2.0.1")
3714 (source (origin
3715 (method url-fetch)
3716 (uri (string-append "https://github.com/ljos/sparql-mode/archive/"
3717 "v" version ".tar.gz"))
3718 (file-name (string-append name "-" version ".tar.gz"))
3719 (sha256
3720 (base32
3721 "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
3722 (build-system emacs-build-system)
3723 (home-page "https://github.com/ljos/sparql-mode")
3724 (synopsis "SPARQL mode for Emacs")
3725 (description "This package provides a major mode for Emacs that provides
3726syntax highlighting for SPARQL. It also provides a way to execute queries
3727against a SPARQL HTTP endpoint, such as is provided by Fuseki. It is also
3728possible to query other endpoints like DBPedia.")
3729 (license license:gpl3+)))
3730
6ede256f
DT
3731(define-public emacs-better-defaults
3732 (package
3733 (name "emacs-better-defaults")
3734 (version "0.1.3")
3735 (source
3736 (origin
3737 (method url-fetch)
3738 (uri (string-append "https://github.com/technomancy/better-defaults"
3739 "/archive/" version ".tar.gz"))
13384842 3740 (file-name (string-append name "-" version ".tar.gz"))
6ede256f
DT
3741 (sha256
3742 (base32
3743 "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
3744 (build-system emacs-build-system)
3745 (home-page "https://github.com/technomancy/better-defaults")
3746 (synopsis "Better defaults for Emacs")
3747 (description
3748 "Better defaults attempts to address the most obvious deficiencies of the
3749Emacs default configuration in uncontroversial ways that nearly everyone can
3750agree upon.")
3751 (license license:gpl3+)))
c5c08f1b 3752
7034791a
RJ
3753(define-public emacs-eprime
3754 (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
3755 (package
3756 (name "emacs-eprime")
3757 (version (string-append "20140513-" (string-take commit 7)))
3758 (source (origin
3759 (method url-fetch)
3760 (uri (string-append "https://raw.githubusercontent.com"
3761 "/AndrewHynes/eprime-mode/"
3762 commit "/eprime-mode.el"))
3763 (file-name (string-append "eprime-" version ".el"))
3764 (sha256
3765 (base32
3766 "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
3767 (build-system emacs-build-system)
3768 (home-page "https://github.com/AndrewHynes/eprime-mode")
3769 (synopsis "E-prime checking mode for Emacs")
3770 (description "This package provides an E-prime checking mode for Emacs
3771that highlights non-conforming text. The subset of the English language called
3772E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
3773 (license license:gpl3+))))
3774
db29e598
KM
3775(define-public emacs-julia-mode
3776 ;; XXX: Upstream version remained stuck at 0.3. See
3777 ;; <https://github.com/JuliaEditorSupport/julia-emacs/issues/46>.
3778 (let ((commit "115d4dc8a07445301772da8376b232fa8c7168f4")
3779 (revision "1"))
3780 (package
3781 (name "emacs-julia-mode")
3782 (version (string-append "0.3-" revision "." (string-take commit 8)))
3783 (source
3784 (origin
3785 (method git-fetch)
3786 (uri (git-reference
3787 (url "https://github.com/JuliaEditorSupport/julia-emacs.git")
3788 (commit commit)))
3789 (file-name (string-append name "-" version "-checkout"))
3790 (sha256
3791 (base32
3792 "1is4dcv6blslpzbjcg8l2jpxi8xj96q4cm0nxjxsyswpm8bw8ki0"))))
3793 (build-system emacs-build-system)
3794 (arguments
3795 `(#:phases
3796 (modify-phases %standard-phases
3797 (add-before 'install 'check
3798 (lambda _
3799 (zero? (system* "emacs" "-batch"
3800 "-l" "julia-mode.el"
3801 "-l" "julia-mode-tests.el"
3802 "-f" "ert-run-tests-batch-and-exit")))))))
3803 (home-page "https://github.com/JuliaEditorSupport/julia-emacs")
3804 (synopsis "Major mode for Julia")
3805 (description "This Emacs package provides a mode for the Julia
3806programming language.")
3807 (license license:expat))))
3808
41184943
RJ
3809(define-public emacs-ess
3810 (package
3811 (name "emacs-ess")
a209907e 3812 (version "16.10")
41184943
RJ
3813 (source (origin
3814 (method url-fetch)
3815 (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
3816 version ".tgz"))
3817 (sha256
3818 (base32
a209907e
KM
3819 "04m8lwp3ylh2vl7k2bjjs7mxbm64j4sdckqpvnm9k0qhaqf02pjk"))
3820 (modules '((guix build utils)))
3821 (snippet
3822 '(begin
3823 ;; Stop ESS from trying to bundle an external julia-mode.el.
3824 (substitute* "lisp/Makefile"
3825 (("^\tjulia-mode.elc\\\\\n") "")
3826 (("^all: \\$\\(ELC\\) ess-custom.el julia-mode.el")
3827 "all: $(ELC) ess-custom.el"))))))
41184943
RJ
3828 (build-system gnu-build-system)
3829 (arguments
eaff063a 3830 (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
a209907e 3831 `(#:make-flags (list (string-append "PREFIX=" %output)
eaff063a
RJ
3832 (string-append "ETCDIR=" %output "/"
3833 ,base-directory "/etc")
3834 (string-append "LISPDIR=" %output "/"
3835 ,base-directory))
3836 #:phases
3837 (modify-phases %standard-phases
3838 (delete 'configure)
3839 (add-before 'build 'more-shebang-patching
3840 (lambda* (#:key inputs #:allow-other-keys)
3841 (substitute* "Makeconf"
3842 (("SHELL = /bin/sh")
3843 (string-append "SHELL = " (which "sh"))))))
3844 ;; FIXME: the texlive-union insists on regenerating fonts. It stores
3845 ;; them in HOME, so it needs to be writeable.
3846 (add-before 'build 'set-HOME
a209907e
KM
3847 (lambda _ (setenv "HOME" "/tmp") #t))
3848 (replace 'check
3849 (lambda _
3850 (zero? (system* "make" "test"))))))))
41184943
RJ
3851 (inputs
3852 `(("emacs" ,emacs-minimal)
2d7c4ae3 3853 ("r-minimal" ,r-minimal)))
41184943
RJ
3854 (native-inputs
3855 `(("perl" ,perl)
3856 ("texinfo" ,texinfo)
63096366
RW
3857 ("texlive" ,(texlive-union (list texlive-latex-natbib
3858 texlive-latex-seminar
3859 texlive-latex-hyperref
3860 texlive-tex-texinfo)))))
d062957a 3861 (home-page "https://ess.r-project.org/")
41184943
RJ
3862 (synopsis "Emacs mode for statistical analysis programs")
3863 (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
3864Emacs. It is designed to support editing of scripts and interaction with
3865various statistical analysis programs such as R and OpenBUGS.")
3866 (license license:gpl2+)))
3867
c5c08f1b
DT
3868(define-public emacs-smex
3869 (package
3870 (name "emacs-smex")
3871 (version "3.0")
3872 (source (origin
3873 (method url-fetch)
3874 (uri (string-append "https://raw.githubusercontent.com"
3875 "/nonsequitur/smex/" version "/smex.el"))
3876 (file-name (string-append "smex-" version ".el"))
3877 (sha256
3878 (base32
3879 "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
3880 (build-system emacs-build-system)
7bf837fd 3881 (home-page "https://github.com/nonsequitur/smex/")
c5c08f1b
DT
3882 (synopsis "M-x interface with Ido-style fuzzy matching")
3883 (description
3884 "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
3885convenient interface to your recently and most frequently used commands. And
3886to all the other commands, too.")
3887 (license license:gpl3+)))
3e5be84b
DT
3888
3889(define-public emacs-js2-mode
3890 (package
3891 (name "emacs-js2-mode")
3892 (version "20150909")
3893 (source (origin
3894 (method url-fetch)
3895 (uri (string-append "https://github.com/mooz/js2-mode/archive/"
3896 version ".tar.gz"))
3897 (file-name (string-append name "-" version ".tar.gz"))
3898 (sha256
3899 (base32
3900 "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
3901 (build-system emacs-build-system)
3902 (home-page "https://github.com/mooz/js2-mode/")
3903 (synopsis "Improved JavaScript editing mode for Emacs")
3904 (description
3905 "Js2-mode provides a JavaScript major mode for Emacs that is more
3906advanced than the built-in javascript-mode. Features include accurate syntax
3907highlighting using a recursive-descent parser, on-the-fly reporting of syntax
3908errors and strict-mode warnings, smart line-wrapping within comments and
3909strings, and code folding.")
3910 (license license:gpl3+)))
b78b6e80
DT
3911
3912(define-public emacs-markdown-mode
3913 (package
3914 (name "emacs-markdown-mode")
2175a427 3915 (version "2.3")
b78b6e80
DT
3916 (source (origin
3917 (method url-fetch)
3918 (uri (string-append "https://raw.githubusercontent.com/jrblevin"
3919 "/markdown-mode/v" version
3920 "/markdown-mode.el"))
3921 (file-name (string-append "markdown-mode-" version ".el"))
3922 (sha256
3923 (base32
2175a427 3924 "152whyrq3dqlqy5wv4mdd94kmal19hs5kwaxjcp2gp2r97lsmdmi"))))
b78b6e80
DT
3925 (build-system emacs-build-system)
3926 (home-page "http://jblevins.org/projects/markdown-mode/")
3927 (synopsis "Emacs Major mode for Markdown files")
3928 (description
3929 "Markdown-mode is a major mode for editing Markdown-formatted text files
3930in Emacs.")
3931 (license license:gpl3+)))
a2670dde 3932
659f790b
OP
3933(define-public emacs-edit-indirect
3934 (package
3935 (name "emacs-edit-indirect")
3936 (version "0.1.4")
3937 (source
3938 (origin
3939 (method url-fetch)
3940 (uri (string-append "https://github.com/Fanael/edit-indirect/archive/"
3941 version ".tar.gz"))
3942 (file-name (string-append name "-" version ".tar.gz"))
3943 (sha256
3944 (base32
3945 "07kr58rd1p5j764wminsssazr73hy51yw8iqcsv5z2dwgj7msv71"))))
3946 (build-system emacs-build-system)
3947 (home-page "https://github.com/Fanael/edit-indirect")
3948 (synopsis "Edit regions in separate buffers")
3949 (description "This package allows you to edit regions in separate buffers,
3950like @code{org-edit-src-code} but for arbitrary regions.")
3951 (license license:gpl3+)))
3952
a2670dde
DT
3953(define-public emacs-projectile
3954 (package
3955 (name "emacs-projectile")
6461c44c 3956 (version "0.14.0")
a2670dde
DT
3957 (source (origin
3958 (method url-fetch)
3959 (uri (string-append "https://raw.githubusercontent.com/bbatsov"
3960 "/projectile/v" version "/projectile.el"))
3961 (file-name (string-append "projectile-" version ".el"))
3962 (sha256
3963 (base32
6461c44c 3964 "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
a2670dde
DT
3965 (build-system emacs-build-system)
3966 (propagated-inputs
3967 `(("emacs-dash" ,emacs-dash)
3968 ("emacs-pkg-info" ,emacs-pkg-info)))
3969 (home-page "https://github.com/bbatsov/projectile")
3970 (synopsis "Manage and navigate projects in Emacs easily")
3971 (description
3972 "This library provides easy project management and navigation. The
3973concept of a project is pretty basic - just a folder containing special file.
3974Currently git, mercurial and bazaar repos are considered projects by default.
3975If you want to mark a folder manually as a project just create an empty
3976.projectile file in it.")
3977 (license license:gpl3+)))
4aea1e01
DT
3978
3979(define-public emacs-elfeed
3980 (package
3981 (name "emacs-elfeed")
4fca8a02 3982 (version "2.3.0")
4aea1e01
DT
3983 (source (origin
3984 (method url-fetch)
3985 (uri (string-append "https://github.com/skeeto/elfeed/archive/"
3986 version ".tar.gz"))
3987 (file-name (string-append name "-" version ".tar.gz"))
3988 (sha256
3989 (base32
4fca8a02 3990 "1fd1mx0q1qb9vgdzls5ppxfriyid48blg8smgjspiazp7kxakzxv"))))
4aea1e01 3991 (build-system emacs-build-system)
568f977f
AI
3992 (arguments
3993 `(#:phases
3994 (modify-phases %standard-phases
3995 (add-before 'install 'check
3996 (lambda _
3997 (zero? (system* "make" "test")))))))
4aea1e01
DT
3998 (home-page "https://github.com/skeeto/elfeed")
3999 (synopsis "Atom/RSS feed reader for Emacs")
4000 (description
4001 "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
4002and RSS, with a user interface inspired by notmuch.")
4003 (license license:gpl3+)))
c86f0207
DT
4004
4005(define-public emacs-rainbow-delimiters
4006 (package
4007 (name "emacs-rainbow-delimiters")
4008 (version "2.1.3")
4009 (source (origin
4010 (method url-fetch)
4011 (uri (string-append "https://raw.githubusercontent.com/Fanael"
4012 "/rainbow-delimiters/" version
4013 "/rainbow-delimiters.el"))
4014 (file-name (string-append "rainbow-delimiters-" version ".el"))
4015 (sha256
4016 (base32
4017 "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
4018 (build-system emacs-build-system)
4019 (home-page "https://github.com/Fanael/rainbow-delimiters")
4020 (synopsis "Highlight brackets according to their depth")
4021 (description
4022 "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
4023highlights parentheses, brackets, and braces according to their depth. Each
4024successive level is highlighted in a different color, making it easy to spot
4025matching delimiters, orient yourself in the code, and tell which statements
4026are at a given level.")
4027 (license license:gpl3+)))
65b49ae7 4028
d95e8e01
RJ
4029(define-public emacs-rainbow-identifiers
4030 (package
4031 (name "emacs-rainbow-identifiers")
4032 (version "0.2.2")
4033 (source (origin
4034 (method url-fetch)
4035 (uri (string-append "https://raw.githubusercontent.com/Fanael"
4036 "/rainbow-identifiers/" version
4037 "/rainbow-identifiers.el"))
4038 (file-name (string-append "rainbow-identifiers-" version ".el"))
4039 (sha256
4040 (base32
4041 "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
4042 (build-system emacs-build-system)
4043 (home-page "https://github.com/Fanael/rainbow-identifiers")
4044 (synopsis "Highlight identifiers in source code")
4045 (description
4046 "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
4047identifiers based on their names. Each identifier gets a color based on a hash
4048of its name.")
4049 (license license:bsd-2)))
4050
9619a95e
RJ
4051(define-public emacs-rainbow-mode
4052 (package
4053 (name "emacs-rainbow-mode")
61b31ac4 4054 (version "0.13")
9619a95e
RJ
4055 (source (origin
4056 (method url-fetch)
4057 (uri (string-append
4058 "http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
4059 (sha256
4060 (base32
61b31ac4 4061 "1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
9619a95e
RJ
4062 (build-system emacs-build-system)
4063 (home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
4064 (synopsis "Colorize color names in buffers")
4065 (description
4066 "This minor mode sets background color to strings that match color
4067names, e.g. #0000ff is displayed in white with a blue background.")
4068 (license license:gpl3+)))
4069
fede3a90
RW
4070(define-public emacs-visual-fill-column
4071 (package
4072 (name "emacs-visual-fill-column")
32e23aba 4073 (version "1.11")
fede3a90
RW
4074 (source (origin
4075 (method url-fetch)
4076 (uri (string-append "https://codeload.github.com/joostkremers/"
4077 "visual-fill-column/tar.gz/" version))
4078 (file-name (string-append name "-" version ".tar.gz"))
4079 (sha256
4080 (base32
32e23aba 4081 "13jnviakp607zcms7f8ams56mr8wffnq1pghlc6fvqs39663pgwh"))))
fede3a90
RW
4082 (build-system emacs-build-system)
4083 (home-page "https://github.com/joostkremers/visual-fill-column")
4084 (synopsis "Fill-column for visual-line-mode")
4085 (description
4086 "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
4087the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
4088wrapping lines at the window edge, which is the standard behaviour of
4089@code{visual-line-mode}, it wraps lines at @code{fill-column}. If
4090@code{fill-column} is too large for the window, the text is wrapped at the
4091window edge.")
4092 (license license:gpl3+)))
4093
0ef1c223
KM
4094(define-public emacs-writeroom
4095 (package
4096 (name "emacs-writeroom")
4097 (version "3.7")
4098 (source (origin
4099 (method url-fetch)
4100 (uri (string-append
4101 "https://github.com/joostkremers/writeroom-mode/archive/"
4102 version ".tar.gz"))
4103 (file-name (string-append name "-" version ".tar.gz"))
4104 (sha256
4105 (base32
4106 "0yqgp5h3kvvpgva4azakb2wnjl7gsyh45glf75crspv3xyq57f2r"))))
4107 (build-system emacs-build-system)
4108 (propagated-inputs
4109 `(("emacs-visual-fill-column" ,emacs-visual-fill-column)))
4110 (home-page "https://github.com/joostkremers/writeroom-mode")
4111 (synopsis "Distraction-free writing for Emacs")
4112 (description
4113 "This package defines a minor mode for distraction-free writing. Some of
4114the default effects include entering fullscreen, deleting other windows of the
4115current frame, disabling the mode line, and adding margins to the buffer that
4116restrict the text width to 80 characters.")
4117 (license license:bsd-3)))
4118
65b49ae7
DT
4119(define-public emacs-ido-completing-read+
4120 (package
4121 (name "emacs-ido-completing-read+")
4122 (version "3.12")
4123 (source (origin
4124 (method url-fetch)
4125 (uri (string-append "https://raw.githubusercontent.com"
4126 "/DarwinAwardWinner/ido-ubiquitous/v"
4127 version "/ido-completing-read+.el"))
4128 (file-name (string-append "ido-completing-read+-" version ".el"))
4129 (sha256
4130 (base32
4131 "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
4132 (build-system emacs-build-system)
4133 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4134 (synopsis "Replacement for completing-read using ido")
4135 (description
4136 "The ido-completing-read+ function is a wrapper for ido-completing-read.
4137Importantly, it detects edge cases that ordinary ido cannot handle and either
4138adjusts them so ido can handle them, or else simply falls back to the standard
4139Emacs completion function instead.")
4140 (license license:gpl3+)))
529fe992
DT
4141
4142(define-public emacs-ido-ubiquitous
4143 (package
4144 (name "emacs-ido-ubiquitous")
4145 (version "3.12")
4146 (source (origin
4147 (method url-fetch)
4148 (uri (string-append "https://raw.githubusercontent.com"
4149 "/DarwinAwardWinner/ido-ubiquitous/v"
4150 version "/ido-ubiquitous.el"))
4151 (file-name (string-append "ido-ubiquitous-" version ".el"))
4152 (sha256
4153 (base32
4154 "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
4155 (build-system emacs-build-system)
4156 (propagated-inputs
4157 `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
4158 (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
4159 (synopsis "Use ido (nearly) everywhere")
4160 (description
4161 "Ido-ubiquitous enables ido-style completion for almost every function
4162that uses the standard completion function completing-read.")
4163 (license license:gpl3+)))
63de1231
DT
4164
4165(define-public emacs-yaml-mode
4166 (package
4167 (name "emacs-yaml-mode")
847284e1 4168 (version "0.0.13")
63de1231
DT
4169 (source (origin
4170 (method url-fetch)
4171 (uri (string-append "https://raw.githubusercontent.com/yoshiki"
4172 "/yaml-mode/v" version "/yaml-mode.el"))
4173 (file-name (string-append "yaml-mode-" version ".el"))
4174 (sha256
4175 (base32
847284e1 4176 "0im88sk9dqw03x6d6zaspgvg9i0pfpgb8f2zygrmbifh2w4pwmvj"))))
63de1231
DT
4177 (build-system emacs-build-system)
4178 (home-page "https://github.com/yoshiki/yaml-mode")
4179 (synopsis "Major mode for editing YAML files")
4180 (description
4181 "Yaml-mode is an Emacs major mode for editing files in the YAML data
4182serialization format. It was initially developed by Yoshiki Kurihara and many
4183features were added by Marshall Vandegrift. As YAML and Python share the fact
4184that indentation determines structure, this mode provides indentation and
4185indentation command behavior very similar to that of python-mode.")
4186 (license license:gpl3+)))
7529c883
DT
4187
4188(define-public emacs-web-mode
4189 (package
4190 (name "emacs-web-mode")
4191 (version "14")
4192 (source (origin
4193 (method url-fetch)
4194 (uri (string-append "https://raw.githubusercontent.com/fxbois"
4195 "/web-mode/v" version "/web-mode.el"))
4196 (file-name (string-append "web-mode-" version ".el"))
4197 (sha256
4198 (base32
4199 "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
4200 (build-system emacs-build-system)
4201 (synopsis "Major mode for editing web templates")
4202 (description "Web-mode is an Emacs major mode for editing web templates
4203aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
4204client/server side engines). Web-mode is compatible with many template
4205engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
4206Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
4207Dust.js, React/JSX, Angularjs, ejs, etc.")
4208 (home-page "http://web-mode.org/")
4209 (license license:gpl3+)))
ae609001 4210
814da59f
CB
4211(define-public emacs-wgrep
4212 (package
4213 (name "emacs-wgrep")
4214 (version "2.1.10")
4215 (source (origin
4216 (method url-fetch)
4217 (uri (string-append
4218 "https://github.com/mhayashi1120/Emacs-wgrep/archive/"
4219 version ".tar.gz"))
4220 (file-name (string-append name "-" version ".tar.gz"))
4221 (sha256
4222 (base32
4223 "1r2bpypar70xg6dsx12x1k74f39ww930rday7rgqpyknzsx1k4l1"))))
4224 (build-system emacs-build-system)
4225 (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
4226 (synopsis "Edit a grep buffer and apply those changes to the files")
4227 (description
4228 "Emacs wgrep allows you to edit a grep buffer and apply those changes to
4229the file buffer.")
4230 (license license:gpl3+)))
4231
ae609001
MJ
4232(define-public emacs-helm
4233 (package
4234 (name "emacs-helm")
e0b0cafd 4235 (version "2.9.0")
ae609001
MJ
4236 (source (origin
4237 (method url-fetch)
4238 (uri (string-append
4239 "https://github.com/" name "/helm/archive/v"
4240 version ".tar.gz"))
4241 (file-name (string-append name "-" version ".tar.gz"))
4242 (sha256
4243 (base32
e0b0cafd 4244 "1798gn0za11cxdbi436javfczv4abniccxcl0jppl463r8lzb8is"))))
ae609001
MJ
4245 (build-system emacs-build-system)
4246 (propagated-inputs
4247 `(("emacs-async" ,emacs-async)
4248 ("emacs-popup" ,emacs-popup)))
4249 (home-page "https://emacs-helm.github.io/helm/")
4250 (synopsis "Incremental completion and selection narrowing
4251framework for Emacs")
4252 (description "Helm is incremental completion and selection narrowing
4253framework for Emacs. It will help steer you in the right direction when
4254you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
4255of @code{anything.el} originally written by Tamas Patrovic and can be
4256considered to be its successor. Helm sets out to clean up the legacy code in
4257@code{anything.el} and provide a cleaner, leaner and more modular tool, that's
4258not tied in the trap of backward compatibility.")
4259 (license license:gpl3+)))
f9be4366 4260
03cc1cf3
KM
4261(define-public emacs-helm-swoop
4262 (package
4263 (name "emacs-helm-swoop")
d3d57661 4264 (version "1.7.4")
03cc1cf3
KM
4265 (source (origin
4266 (method url-fetch)
4267 (uri (string-append
4268 "https://github.com/ShingoFukuyama/helm-swoop/archive/"
4269 version
4270 ".tar.gz"))
4271 (file-name (string-append name "-" version ".tar.gz"))
4272 (sha256
4273 (base32
d3d57661 4274 "1ssivsjzlnkg049cg993l8fp09l5nhpz6asj7w5c91zp5kpc6fh7"))))
03cc1cf3
KM
4275 (build-system emacs-build-system)
4276 (propagated-inputs
4277 `(("emacs-helm" ,emacs-helm)))
4278 (home-page "https://github.com/ShingoFukuyama/helm-swoop")
4279 (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
4280 (description
4281 "This package builds on the Helm interface to provide several commands
4282for search-based navigation of buffers.")
4283 (license license:gpl2+)))
4284
f69c29f7
KM
4285(define-public emacs-helm-projectile
4286 (package
4287 (name "emacs-helm-projectile")
4288 (version "0.14.0")
4289 (source (origin
4290 (method url-fetch)
4291 (uri (string-append
4292 "https://github.com/bbatsov/helm-projectile/archive/v"
4293 version
4294 ".tar.gz"))
4295 (file-name (string-append name "-" version ".tar.gz"))
4296 (sha256
4297 (base32
4298 "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
4299 (build-system emacs-build-system)
4300 (propagated-inputs
4301 `(("emacs-dash" ,emacs-dash)
4302 ("emacs-helm" ,emacs-helm)
4303 ("emacs-projectile" ,emacs-projectile)))
4304 (home-page "https://github.com/bbatsov/helm-projectile")
4305 (synopsis "Helm integration for Projectile")
4306 (description
4307 "This Emacs library provides a Helm interface for Projectile.")
4308 (license license:gpl3+)))
4309
2e4bb8c8 4310(define-public emacs-helm-make
555a7429 4311 (let ((commit "feae8df22bc4b20705ea08ac9adfc2b43bb348d0")
2e4bb8c8
OP
4312 (revision "1"))
4313 (package
4314 (name "emacs-helm-make")
4315 (version (string-append "0.1.0-" revision "." (string-take commit 7)))
4316 (source
4317 (origin
4318 (method git-fetch)
4319 (uri (git-reference
4320 (url "https://github.com/abo-abo/helm-make.git")
4321 (commit commit)))
4322 (file-name (string-append name "-" version "-checkout"))
4323 (sha256
4324 (base32
555a7429 4325 "1y2v77mmd1bfkkz51cnk1l0dg3lvvxc39wlamnm7wjns66dbvlam"))))
2e4bb8c8
OP
4326 (build-system emacs-build-system)
4327 (propagated-inputs
4328 `(("emacs-helm" ,emacs-helm)
4329 ("emacs-projectile" ,emacs-projectile)))
4330 (home-page "https://github.com/abo-abo/helm-make")
4331 (synopsis "Select a Makefile target with helm")
4332 (description "@code{helm-make} or @code{helm-make-projectile} will give
4333you a @code{helm} selection of directory Makefile's targets. Selecting a
4334target will call @code{compile} on it.")
4335 (license license:gpl3+))))
4336
f9be4366
AP
4337(define-public emacs-cider
4338 (package
4339 (name "emacs-cider")
1f143575 4340 (version "0.15.1")
f9be4366
AP
4341 (source (origin
4342 (method url-fetch)
4343 (uri (string-append
4344 "https://github.com/clojure-emacs/cider/archive/v"
4345 version ".tar.gz"))
4346 (file-name (string-append name "-" version ".tar.gz"))
4347 (sha256
4348 (base32
1f143575 4349 "1j5hlmi14ypszv1f9nvq0jjlz7i742flg0ny3055l7i4x089xx6g"))))
f9be4366 4350 (build-system emacs-build-system)
65e4109c
SB
4351 (arguments
4352 '(#:exclude ; Don't exclude 'cider-test.el'.
4353 '("^\\.dir-locals\\.el$" "^test/")))
f9be4366
AP
4354 (propagated-inputs
4355 `(("emacs-clojure-mode" ,emacs-clojure-mode)
4356 ("emacs-spinner" ,emacs-spinner)
4357 ("emacs-pkg-info" ,emacs-pkg-info)
d0a52052 4358 ("emacs-queue" ,emacs-queue)))
f9be4366
AP
4359 (home-page "https://cider.readthedocs.org/")
4360 (synopsis "Clojure development environment for Emacs")
4361 (description
4362 "CIDER (Clojure Interactive Development Environment that Rocks) aims to
4363provide an interactive development experience similar to the one you'd get
4364when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
4365Geiser) and Smalltalk.
4366
4367CIDER is the successor to the now deprecated combination of using SLIME +
4368swank-clojure for Clojure development.
4369
4370There are plenty of differences between CIDER and SLIME, but the core ideas
4371are pretty much the same (and SLIME served as the principle inspiration for
4372CIDER).")
4373 (license license:gpl3+)))
26e08b4d 4374
e982500f
RW
4375;; There hasn't been a tag or release since 2015, so we take the latest
4376;; commit.
4377(define-public emacs-sly
4378 (let ((commit "486bfbe95612bcdc0960c490207970a188e0fbb9")
4379 (revision "1"))
4380 (package
4381 (name "emacs-sly")
4382 (version (string-append "1.0.0-" revision "." (string-take commit 9)))
4383 (source
4384 (origin
4385 (method git-fetch)
4386 (uri (git-reference
4387 (url "https://github.com/joaotavora/sly.git")
4388 (commit commit)))
aeb95f1f 4389 (file-name (git-file-name name version))
e982500f
RW
4390 (sha256
4391 (base32
4392 "0ib4q4k3h3qn88pymyjjmlmnpizdn1mfg5gpk5a715nqsgxlg09l"))))
4393 (build-system emacs-build-system)
4394 (arguments
4395 `(#:include (cons "^lib\\/" %default-include)
4396 #:phases
4397 ;; The package provides autoloads.
4398 (modify-phases %standard-phases
4399 (delete 'make-autoloads))))
4400 (home-page "https://github.com/joaotavora/sly")
4401 (synopsis "Sylvester the Cat's Common Lisp IDE")
4402 (description
4403 "SLY is Sylvester the Cat's Common Lisp IDE. SLY is a fork of SLIME, and
4404contains the following improvements over it:
4405
4406@enumerate
4407@item Completely redesigned REPL based on Emacs's own full-featured
4408 @code{comint.el}
4409@item Live code annotations via a new @code{sly-stickers} contrib
4410@item Consistent interactive button interface. Everything can be copied to
4411 the REPL.
4412@item Multiple inspectors with independent history
4413@item Regexp-capable @code{M-x sly-apropos}
4414@item Contribs are first class SLY citizens and enabled by default
4415@item Use ASDF to loads contribs on demand.
4416@end enumerate
4417
4418SLY tracks SLIME's bugfixes and all its familar features (debugger, inspector,
4419xref, etc...) are still available, but with better integration.")
4420 (license license:gpl3+))))
4421
26e08b4d 4422(define-public emacs-lua-mode
69dcad33
AW
4423 (let ((commit "652e299cb967fccca827dda381d61a9c144d97de")
4424 (revision "1"))
4425 (package
4426 (name "emacs-lua-mode")
4427 (version (string-append "20151025." revision "-" (string-take commit 9)))
4428 (home-page "https://github.com/immerrr/lua-mode/")
4429 (source (origin
4430 (method git-fetch)
4431 (uri (git-reference
4432 (url home-page)
4433 (commit commit)))
4434 (file-name (string-append name "-" version ".checkout"))
4435 (sha256
4436 (base32
4437 "053025k930wh0lak6rc1973ynfrmm8zsyzfqhhd39x7abkl41hc9"))))
4438 (build-system emacs-build-system)
4439 (synopsis "Major mode for lua")
4440 (description
4441 "This Emacs package provides a mode for @uref{https://www.lua.org/,
26e08b4d 4442Lua programing language}.")
69dcad33 4443 (license license:gpl2+))))
0202612d 4444
4445(define-public emacs-ebuild-mode
4446 (package
4447 (name "emacs-ebuild-mode")
4735393a 4448 (version "1.37")
0202612d 4449 (source (origin
4450 (method url-fetch)
4451 (uri (string-append
4452 "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
4453 "-" version ".tar.xz"))
4454 (file-name (string-append name "-" version ".tar.xz"))
4455 (sha256
4456 (base32
4735393a 4457 "07dzrdjjczkxdfdgi60h4jjkvzi4p0k9rij2wpfp8s03ay3qldpp"))))
0202612d 4458 (build-system emacs-build-system)
4459 (home-page "https://devmanual.gentoo.org")
4460 (synopsis "Major modes for Gentoo package files")
4461 (description
4462 "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
4463news items, openrc and runscripts.")
4464 (license license:gpl2+)))
a9fbe94e 4465
2edbfbf5 4466(define-public emacs-evil
4467 (package
4468 (name "emacs-evil")
511d8a02 4469 (version "1.2.13")
2edbfbf5 4470 (source
4471 (origin
4472 (method url-fetch)
511d8a02 4473 (uri (string-append "https://github.com/emacs-evil/evil/archive/"
4474 version ".tar.gz"))
4475 (file-name (string-append name "-" version ".tar.gz"))
2edbfbf5 4476 (sha256
4477 (base32
511d8a02 4478 "1z63zsxmsc6mh74wv6065carwqmgs7b7lz5044s12xvgsjfbwi8h"))))
2edbfbf5 4479 (build-system emacs-build-system)
4480 (propagated-inputs
4481 `(("emacs-undo-tree" ,emacs-undo-tree)
4482 ("emacs-goto-chg" ,emacs-goto-chg)))
511d8a02 4483 (home-page "https://github.com/emacs-evil/evil")
2edbfbf5 4484 (synopsis "Extensible Vi layer for Emacs")
4485 (description
4486 "Evil is an extensible vi layer for Emacs. It emulates the
4487main features of Vim, and provides facilities for writing custom
4488extensions.")
4489 (license license:gpl3+)))
4490
ce74e520 4491(define-public emacs-goto-chg
4492 (package
4493 (name "emacs-goto-chg")
4494 (version "1.6")
4495 (source
4496 (origin
4497 (method url-fetch)
4498 ;; There is no versioned source.
4499 (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
6669a932 4500 (file-name (string-append "goto-chg-" version ".el"))
ce74e520 4501 (sha256
4502 (base32
4503 "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
4504 (build-system emacs-build-system)
4505 ;; There is no other home page.
4506 (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
4507 (synopsis "Go to the last change in the Emacs buffer")
4508 (description
4509 "This package provides @code{M-x goto-last-change} command that goes to
4510the point of the most recent edit in the current Emacs buffer. When repeated,
4511go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
4512used for reverse direction.")
4513 (license license:gpl2+)))
4514
a1eba1be
VD
4515(define-public emacs-monroe
4516 (package
4517 (name "emacs-monroe")
b125649a 4518 (version "0.3.1")
a1eba1be
VD
4519 (source
4520 (origin
4521 (method url-fetch)
b125649a
VD
4522 (uri (string-append "https://github.com/sanel/monroe/archive/"
4523 version ".tar.gz"))
4524 (file-name (string-append name "-" version ".tar.gz"))
a1eba1be
VD
4525 (sha256
4526 (base32
b125649a 4527 "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
a1eba1be 4528 (build-system emacs-build-system)
b125649a 4529 (home-page "https://github.com/sanel/monroe")
a1eba1be
VD
4530 (synopsis "Clojure nREPL client for Emacs")
4531 (description
4532 "Monroe is a nREPL client for Emacs, focused on simplicity and easy
4533distribution, primarily targeting Clojure users")
4534 (license license:gpl3+)))
4535
a9fbe94e
LC
4536(define-public emacs-writegood-mode
4537 (package
4538 (name "emacs-writegood-mode")
4539 (version "2.0.2")
7bf837fd 4540 (home-page "https://github.com/bnbeckwith/writegood-mode")
a9fbe94e
LC
4541 (source (origin
4542 (method git-fetch)
4543 (uri (git-reference
4544 (url home-page)
4545 (commit (string-append "v" version))))
4546 (sha256
4547 (base32
4548 "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
4549 (file-name (string-append name "-checkout"))))
4550 (build-system emacs-build-system)
4551 (synopsis "Polish up poor writing on the fly")
4552 (description
4553 "This minor mode tries to find and highlight problems with your writing
4554in English as you type. It primarily detects \"weasel words\" and abuse of
4555passive voice.")
4556 (license license:gpl3+)))
e08ca4b9 4557
4558(define-public emacs-neotree
4559 (package
4560 (name "emacs-neotree")
95058772 4561 (version "0.5.2")
e08ca4b9 4562 (home-page "https://github.com/jaypei/emacs-neotree")
4563 (source (origin
4564 (method url-fetch)
4565 (uri (string-append
4566 "https://github.com/jaypei/" name
95058772 4567 "/archive/" version ".tar.gz"))
e08ca4b9 4568 (sha256
4569 (base32
95058772 4570 "1zd6dchwyijnf7kgchfcp51gs938l204dk9z6mljrfqf2zy0gp12"))
f409d0aa 4571 (file-name (string-append name "-" version ".tar.gz"))))
e08ca4b9 4572 (build-system emacs-build-system)
4573 (synopsis "Folder tree view for Emacs")
4574 (description "This Emacs package provides a folder tree view.")
4575 (license license:gpl3+)))
59065bb3
NG
4576
4577(define-public emacs-org
4578 (package
4579 (name "emacs-org")
769e7155
CL
4580 ;; emacs-org-contrib inherits from this package. Please update its sha256
4581 ;; checksum as well.
2d19a7e4 4582 (version "9.1.9")
59065bb3
NG
4583 (source (origin
4584 (method url-fetch)
2d19a7e4 4585 (uri (string-append "http://elpa.gnu.org/packages/org-"
59065bb3
NG
4586 version ".tar"))
4587 (sha256
4588 (base32
2d19a7e4 4589 "16yr0srfzsrzv2b1f2wjk8gb2pyhsgj2hxbscixirkxqz674c5cl"))))
59065bb3 4590 (build-system emacs-build-system)
7cbe77d7 4591 (home-page "https://orgmode.org/")
59065bb3
NG
4592 (synopsis "Outline-based notes management and organizer")
4593 (description "Org is an Emacs mode for keeping notes, maintaining TODO
4594lists, and project planning with a fast and effective plain-text system. It
4595also is an authoring system with unique support for literate programming and
4596reproducible research.")
4597 (license license:gpl3+)))
41392b9a 4598
8e2ae7ee
CB
4599(define-public emacs-org-contrib
4600 (package
4601 (inherit emacs-org)
4602 (name "emacs-org-contrib")
5ecd2d28 4603 (version "20180327")
8e2ae7ee
CB
4604 (source (origin
4605 (method url-fetch)
7cbe77d7 4606 (uri (string-append "https://orgmode.org/elpa/org-plus-contrib-"
5ecd2d28 4607 version ".tar"))
8e2ae7ee
CB
4608 (sha256
4609 (base32
5ecd2d28 4610 "1y1nn0bxnh9y4a3zrqng8n639j5da5387q2314sr3a8ggy1nb93s"))))
8e2ae7ee
CB
4611 (arguments
4612 `(#:modules ((guix build emacs-build-system)
4613 (guix build utils)
4614 (guix build emacs-utils)
4615 (ice-9 ftw)
4616 (srfi srfi-1))
4617 #:phases
4618 (modify-phases %standard-phases
4619 (add-after 'install 'delete-org-files
4620 (lambda* (#:key inputs outputs #:allow-other-keys)
4621 (let* ((out (assoc-ref outputs "out"))
4622 (org (assoc-ref inputs "emacs-org"))
4623 (contrib-files
4624 (map basename (find-files out)))
4625 (org+contrib-files
4626 (map basename (find-files org)))
4627 (duplicates (lset-intersection
4628 string=? contrib-files org+contrib-files)))
4629 (with-directory-excursion
4630 (string-append
5ecd2d28 4631 out "/share/emacs/site-lisp/guix.d/org-contrib-" ,version)
8e2ae7ee
CB
4632 (for-each delete-file duplicates))
4633 #t))))))
4634 (propagated-inputs
4635 `(("emacs-org" ,emacs-org)))
35377cfa 4636 (synopsis "Contributed packages to Org mode")
8e2ae7ee
CB
4637 (description "Org is an Emacs mode for keeping notes, maintaining TODO
4638lists, and project planning with a fast and effective plain-text system.
4639
77e3ce3e 4640This package is equivalent to org-plus-contrib, but only includes additional
8e2ae7ee
CB
4641files that you would find in @file{contrib/} from the git repository.")))
4642
41392b9a 4643(define-public emacs-flx
4644 (package
4645 (name "emacs-flx")
4646 (version "0.6.1")
4647 (source
4648 (origin
4649 (method url-fetch)
4650 (uri (string-append "https://github.com/lewang/"
4651 "flx/archive/v" version ".tar.gz"))
4652 (sha256
4653 (base32
4654 "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
4655 (file-name (string-append name "-" version ".tar.gz"))))
4656 (build-system emacs-build-system)
4657 (home-page "https://github.com/lewang/flx")
4658 (synopsis "Fuzzy matching for Emacs")
4659 (description
4660 "Flx provides fuzzy matching for emacs a la sublime text.
4661The sorting algorithm is a balance between word beginnings (abbreviation)
4662and contiguous matches (substring). The longer the substring match,
4663the higher it scores. This maps well to how we think about matching.
4664Flx has support for ido (interactively do things) through flx-ido.")
4665 (license license:gpl3+)))
9657aba4 4666
4667(define-public emacs-cyberpunk-theme
4668 (package
4669 (name "emacs-cyberpunk-theme")
88e6086e 4670 (version "1.19")
9657aba4 4671 (source
4672 (origin
4673 (method url-fetch)
4674 (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
4675 "archive/" version ".tar.gz"))
4676 (sha256
4677 (base32
88e6086e 4678 "05l5fxw1mn5py6mfhxrzyqjq0d8m5m1akfi46vrgh13r414jffvv"))
9657aba4 4679 (file-name (string-append name "-" version ".tar.gz"))))
4680 (build-system emacs-build-system)
4681 (home-page "https://github.com/n3mo/cyberpunk-theme.el")
4682 (synopsis "Cyberpunk theme for emacs built-in color theme support")
4683 (description
4684 "Cyberpunk color theme for the emacs 24+ built-in color theme support
4685known loosely as deftheme. Many mode-specific customizations are included.")
4686 (license license:gpl3+)))
840224aa 4687
8f493950 4688(define-public emacs-danneskjold-theme
4689 (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
4690 (revision "1"))
4691 (package
4692 (name "emacs-danneskjold-theme")
4693 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
4694 (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
4695 (source
4696 (origin
4697 (method git-fetch)
4698 (uri (git-reference
4699 (url home-page)
4700 (commit commit)))
4701 (file-name (string-append name "-" version "-checkout"))
4702 (sha256
4703 (base32
4704 "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
4705 (build-system emacs-build-system)
4706 (arguments
4707 `(#:phases
4708 (modify-phases %standard-phases
4709 (add-after 'unpack 'delete-screenshots
4710 (lambda _
4711 (delete-file-recursively "screenshots") #t)))))
4712 (synopsis "High-contrast Emacs theme")
4713 (description
4714 "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
4715 (license license:gpl3+))))
4716
1ba67b62 4717(define-public emacs-dream-theme
4718 (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
4719 (revision "1"))
4720 (package
4721 (name "emacs-dream-theme")
4722 (version (string-append "0.0.0-" revision "." (string-take commit 7)))
4723 (source
4724 (origin
4725 (method git-fetch)
4726 (uri (git-reference
4727 (url "https://github.com/djcb/dream-theme")
4728 (commit commit)))
4729 (file-name (string-append name "-" version "-checkout"))
4730 (sha256
4731 (base32
4732 "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
4733 (build-system emacs-build-system)
4734 (home-page "https://github.com/djcb/dream-theme")
4735 (synopsis "High-contrast Emacs theme")
4736 (description
4737 "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
4738by zenburn, sinburn and similar themes, but slowly diverging from them.")
4739 (license license:gpl3+))))
4740
840224aa 4741(define-public emacs-auto-complete
4742 (package
4743 (name "emacs-auto-complete")
4744 (version "1.5.1")
4745 (source
4746 (origin
4747 (method url-fetch)
4748 (uri (string-append "https://github.com/auto-complete/"
4749 "auto-complete/archive/v" version ".tar.gz"))
4750 (sha256
4751 (base32
4752 "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
4753 (file-name (string-append name "-" version ".tar.gz"))))
4754 (build-system emacs-build-system)
4755 (propagated-inputs
4756 `(("emacs-popup" ,emacs-popup)))
4757 (home-page "https://github.com/auto-complete/auto-complete")
4758 (synopsis "Intelligent auto-completion extension for Emacs")
4759 (description
4760 "Auto-Complete is an intelligent auto-completion extension for Emacs.
4761It extends the standard Emacs completion interface and provides an environment
4762that allows users to concentrate more on their own work. Its features are:
4763a visual interface, reduce overhead of completion by using statistic method,
4764extensibility.")
4765 (license license:gpl3+)))
154c71e0
AI
4766
4767(define-public m17n-db
4768 (package
4769 (name "m17n-db")
4770 (version "1.7.0")
4771 (source
4772 (origin
4773 (method url-fetch)
4774 (uri (string-append "mirror://savannah/m17n/m17n-db-"
4775 version ".tar.gz"))
4776 (sha256
4777 (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
4778 (build-system gnu-build-system)
4779 (inputs
7c90d0f4 4780 `(("gettext" ,gettext-minimal)))
154c71e0
AI
4781 (arguments
4782 `(#:configure-flags
4783 (list (string-append "--with-charmaps="
4784 (assoc-ref %build-inputs "libc")
4785 "/share/i18n/charmaps"))))
4786 ;; With `guix lint' the home-page URI returns a small page saying
4787 ;; that your browser does not handle frames. This triggers the "URI
4788 ;; returns suspiciously small file" warning.
340978d7 4789 (home-page "https://www.nongnu.org/m17n/")
154c71e0
AI
4790 (synopsis "Multilingual text processing library (database)")
4791 (description "The m17n library realizes multilingualization of
4792many aspects of applications. The m17n library represents
4793multilingual text as an object named M-text. M-text is a string with
4794attributes called text properties, and designed to substitute for
4795string in C. Text properties carry any information required to input,
4796display and edit the text.
4797
4798This package contains the library database.")
4799 (license license:lgpl2.1+)))
a80b60f4
AI
4800
4801(define-public m17n-lib
4802 (package
4803 (name "m17n-lib")
4804 (version "1.7.0")
4805 (source
4806 (origin
4807 (method url-fetch)
966a543b
LC
4808 (uri (string-append "mirror://savannah/m17n/m17n-lib-"
4809 version ".tar.gz"))
a80b60f4
AI
4810 (sha256
4811 (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
4812 (build-system gnu-build-system)
4813 (inputs
4814 `(("fribidi" ,fribidi)
4815 ("gd" ,gd)
4816 ("libotf" ,libotf)
4817 ("libxft" ,libxft)
4818 ("libxml2" ,libxml2)
4819 ("m17n-db" ,m17n-db)))
4820 (arguments
4821 `(#:parallel-build? #f))
4822 ;; With `guix lint' the home-page URI returns a small page saying
4823 ;; that your browser does not handle frames. This triggers the "URI
4824 ;; returns suspiciously small file" warning.
340978d7 4825 (home-page "https://www.nongnu.org/m17n/")
a80b60f4
AI
4826 (synopsis "Multilingual text processing library (runtime)")
4827 (description "The m17n library realizes multilingualization of
4828many aspects of applications. The m17n library represents
4829multilingual text as an object named M-text. M-text is a string with
4830attributes called text properties, and designed to substitute for
4831string in C. Text properties carry any information required to input,
4832display and edit the text.
4833
4834This package contains the library runtime.")
4835 (license license:lgpl2.1+)))
71d3ee1c
AI
4836
4837(define-public emacs-nginx-mode
4838 (package
4839 (name "emacs-nginx-mode")
4840 (version "1.1.4")
4841 (source
4842 (origin
4843 (method url-fetch)
4844 (uri (string-append
4845 "https://github.com/ajc/nginx-mode/archive/v"
4846 version ".tar.gz"))
4847 (file-name (string-append name "-" version ".tar.gz"))
4848 (sha256
4849 (base32
4850 "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
4851 (build-system emacs-build-system)
4852 (home-page "https://github.com/ajc/nginx-mode")
4853 (synopsis "Emacs major mode for editing nginx config files")
4854 (description "This package provides an Emacs major mode for
4855editing nginx config files.")
4856 (license license:gpl2+)))
8f50634b
FB
4857
4858(define-public emacs-stream
4859 (package
4860 (name "emacs-stream")
4861 (version "2.2.0")
4862 (home-page "https://github.com/NicolasPetton/stream")
4863 (source
4864 (origin
4865 (method url-fetch)
4866 (file-name (string-append name "-" version ".tar.gz"))
4867 (uri (string-append home-page "/archive/"version ".tar.gz"))
4868 (sha256
4869 (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
4870 (build-system emacs-build-system)
4871 (synopsis "Implementation of streams for Emacs")
4872 (description "This library provides an implementation of streams for Emacs.
4873Streams are implemented as delayed evaluation of cons cells.")
4874 (license license:gpl3+)))
0fc06f3e
FB
4875
4876(define-public emacs-el-search
4877 (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
4878 (revision "1"))
4879 (package
4880 (name "emacs-el-search")
4881 ;; No ufficial release.
4882 (version (string-append "0.0-" revision "." (string-take commit 7)))
4883 (home-page "https://github.com/emacsmirror/el-search")
4884 (source
4885 (origin
4886 (method git-fetch)
4887 (file-name (string-append name "-" version ".tar.gz"))
4888 (uri (git-reference
4889 (commit commit)
4890 (url (string-append home-page ".git"))))
4891 (sha256
4892 (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
4893 (build-system emacs-build-system)
4894 (inputs `(("emacs-stream" ,emacs-stream)))
4895 (synopsis "Expression based interactive search for emacs-lisp-mode")
4896 (description "This package provides expression based interactive search
4897procedures for emacs-lisp-mode.")
4898 (license license:gpl3+))))
1e523180
MO
4899
4900(define-public emacs-ht
4901 (package
4902 (name "emacs-ht")
4903 (version "2.1")
4904 (source
4905 (origin
4906 (method url-fetch)
4907 (uri (string-append
4908 "https://github.com/Wilfred/ht.el/archive/"
4909 version ".tar.gz"))
4910 (file-name (string-append name "-" version ".tar.gz"))
4911 (sha256
4912 (base32
4913 "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
4914 (build-system emacs-build-system)
4915 (propagated-inputs `(("emacs-dash" ,emacs-dash)))
4916 (home-page "https://github.com/Wilfred/ht.el")
4917 (synopsis "Hash table library for Emacs")
4918 (description
4919 "This package simplifies the use of hash tables in elisp. It also
4920provides functions to convert hash tables from and to alists and plists.")
4921 (license license:gpl3+)))
4922
521f5d96
MO
4923(define-public emacs-log4e
4924 (package
4925 (name "emacs-log4e")
4926 (version "0.3.0")
4927 (source
4928 (origin
4929 (method url-fetch)
4930 (uri (string-append
4931 "https://github.com/aki2o/log4e/archive/v"
4932 version ".tar.gz"))
4933 (file-name (string-append name "-" version ".tar.gz"))
4934 (sha256
4935 (base32
4936 "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
4937 (build-system emacs-build-system)
4938 (arguments
4939 `(#:phases
4940 (modify-phases %standard-phases
4941 (add-after 'unpack 'remove-tests
4942 ;; Guile builder complains about null characters in some
4943 ;; strings of test files. Remove "test" directory (it is not
4944 ;; needed anyway).
4945 (lambda _
4946 (delete-file-recursively "test"))))))
4947 (home-page "https://github.com/aki2o/log4e")
4948 (synopsis "Logging framework for elisp")
4949 (description
4950 "This package provides a logging framework for elisp. It allows
4951you to deal with multiple log levels.")
4952 (license license:gpl3+)))
ba117841
MO
4953
4954(define-public emacs-gntp
4955 (package
4956 (name "emacs-gntp")
4957 (version "0.1")
4958 (source
4959 (origin
4960 (method url-fetch)
4961 (uri (string-append
4962 "https://github.com/tekai/gntp.el/archive/v"
4963 version ".tar.gz"))
4964 (file-name (string-append name "-" version ".tar.gz"))
4965 (sha256
4966 (base32
4967 "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
4968 (build-system emacs-build-system)
4969 (home-page "https://github.com/tekai/gntp.el")
4970 (synopsis "Growl Notification Protocol for Emacs")
4971 (description
4972 "This package implements the Growl Notification Protocol GNTP
4973described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
4974It is incomplete as it only lets you send but not receive
4975notifications.")
4976 (license license:bsd-3)))
2c5e31fa
MO
4977
4978(define-public emacs-alert
4979 (package
4980 (name "emacs-alert")
4981 (version "1.2")
4982 (source
4983 (origin
4984 (method url-fetch)
4985 (uri (string-append
4986 "https://github.com/jwiegley/alert/archive/v"
4987 version ".tar.gz"))
4988 (file-name (string-append name "-" version ".tar.gz"))
4989 (sha256
4990 (base32
4991 "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
4992 (build-system emacs-build-system)
4993 (propagated-inputs
4994 `(("emacs-gntp" ,emacs-gntp)
4995 ("emacs-log4e" ,emacs-log4e)))
4996 (home-page "https://github.com/jwiegley/alert")
4997 (synopsis "Growl-style notification system for Emacs")
4998 (description
4999 "Alert is a Growl-workalike for Emacs which uses a common notification
5000interface and multiple, selectable \"styles\", whose use is fully
5001customizable by the user.")
5002 (license license:gpl2+)))
c695ed3c
MO
5003
5004(define-public emacs-mu4e-alert
5005 (package
5006 (name "emacs-mu4e-alert")
dd69ff6d 5007 (version "1.0")
c695ed3c
MO
5008 (source
5009 (origin
5010 (method url-fetch)
5011 (uri (string-append
5012 "https://github.com/iqbalansari/mu4e-alert/archive/v"
5013 version ".tar.gz"))
5014 (file-name (string-append name "-" version ".tar.gz"))
5015 (sha256
5016 (base32
dd69ff6d 5017 "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
c695ed3c
MO
5018 (build-system emacs-build-system)
5019 (propagated-inputs
5020 `(("emacs-alert" ,emacs-alert)
5021 ("emacs-s" ,emacs-s)
b6efe0e8
MC
5022 ("emacs-ht" ,emacs-ht)
5023 ("mu" ,mu)))
c695ed3c
MO
5024 (home-page "https://github.com/iqbalansari/mu4e-alert")
5025 (synopsis "Desktop notification for mu4e")
5026 (description
5027 "This package provides desktop notifications for mu4e.
5028Additionally it can display the number of unread emails in the
5029mode-line.")
5030 (license license:gpl3+)))
e967dd9c 5031
5032(define-public emacs-pretty-mode
5033 (package
5034 (name "emacs-pretty-mode")
5035 (version "2.0.3")
5036 (source
5037 (origin
5038 (method url-fetch)
5039 (uri (string-append "https://github.com/akatov/pretty-mode/"
5040 "archive/" version ".tar.gz"))
5041 (file-name (string-append name "-" version ".tar.gz"))
5042 (sha256
5043 (base32
5044 "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
5045 (build-system emacs-build-system)
5046 (home-page "https://github.com/akatov/pretty-mode")
5047 (synopsis "Redisplay parts of the buffer as Unicode symbols")
5048 (description
5049 "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
5050 (license license:gpl3+)))
c1029f86
RW
5051
5052(define-public emacs-yasnippet
5053 (package
5054 (name "emacs-yasnippet")
bf1264ab 5055 (version "0.12.2")
c1029f86
RW
5056 (source (origin
5057 (method url-fetch)
5058 (uri (string-append "https://github.com/joaotavora/yasnippet/"
5059 "archive/" version ".tar.gz"))
5060 (file-name (string-append name "-" version ".tar.gz"))
5061 (sha256
5062 (base32
bf1264ab 5063 "01jabaz0g67bsziayrxgv74px55fx4nlrcl0csl8f1by2102pwc5"))
1f0d4705
KM
5064 (modules '((guix build utils)))
5065 (snippet
5066 '(begin
5067 ;; YASnippet expects a "snippets" subdirectory in the same
5068 ;; directory as yasnippet.el, but we don't install it
5069 ;; because it's a git submodule pointing to an external
5070 ;; repository. Adjust `yas-snippet-dirs' to prevent
5071 ;; warnings about a missing directory.
5072 (substitute* "yasnippet.el"
5073 (("^ +'yas-installed-snippets-dir\\)\\)\n")
5074 "))\n"))))))
c1029f86 5075 (build-system emacs-build-system)
7bf837fd 5076 (home-page "https://github.com/joaotavora/yasnippet")
c1029f86
RW
5077 (synopsis "Yet another snippet extension for Emacs")
5078 (description
5079 "YASnippet is a template system for Emacs. It allows you to type an
5080abbreviation and automatically expand it into function templates.")
5081 (license license:gpl3+)))
55fa5349 5082
4bfdf034
KM
5083(define-public emacs-yasnippet-snippets
5084 (let ((commit "885050d34737e2fb36a3e7759d60c09347bd4ce0")
5085 (revision "1"))
5086 (package
5087 (name "emacs-yasnippet-snippets")
5088 (version (string-append "1-" revision "." (string-take commit 8)))
5089 (source
5090 (origin
5091 (method git-fetch)
5092 (uri (git-reference
5093 (url "https://github.com/AndreaCrotti/yasnippet-snippets")
5094 (commit commit)))
5095 (file-name (string-append name "-" version "-checkout"))
5096 (sha256
5097 (base32
5098 "1m935zgglw0iakzrixld5rcjz3wnj84f8wy2mvc3pggjri9l0qr9"))))
5099 (build-system trivial-build-system)
5100 (arguments
5101 `(#:modules ((ice-9 ftw)
5102 (ice-9 regex)
5103 (guix build utils))
5104 #:builder
5105 (begin
5106 (use-modules (ice-9 ftw)
5107 (ice-9 regex)
5108 (guix build utils))
5109 (with-directory-excursion (assoc-ref %build-inputs "source")
5110 (for-each (lambda (dir)
5111 (copy-recursively
5112 dir
5113 (string-append %output
5114 "/share/emacs/yasnippet-snippets/"
5115 dir)))
5116 (scandir "." (lambda (fname)
5117 (and (string-match "-mode$" fname)
5118 (directory-exists? fname)))))))))
5119 (home-page "https://github.com/AndreaCrotti/yasnippet-snippets")
5120 (synopsis "Collection of YASnippet snippets for many languages")
5121 (description
5122 "Provides Andrea Crotti's collection of YASnippet snippets. After installation,
5123the snippets will be in \"~/.guix-profile/share/emacs/yasnippet-snippets/\".
5124To make YASnippet aware of these snippets, add the above directory to
5125@code{yas-snippet-dirs}.")
5126 (license license:expat))))
5127
2ede8c61
OP
5128(define-public emacs-helm-c-yasnippet
5129 (let ((commit "65ca732b510bfc31636708aebcfe4d2d845b59b0")
5130 (revision "1"))
5131 (package
5132 (name "emacs-helm-c-yasnippet")
5133 (version (string-append "0.6.7" "-" revision "."
5134 (string-take commit 7)))
5135 (source (origin
5136 (method git-fetch)
5137 (uri (git-reference
5138 (url "https://github.com/emacs-jp/helm-c-yasnippet")
5139 (commit commit)))
5140 (file-name (string-append name "-" version "-checkout"))
5141 (sha256
5142 (base32
5143 "1cbafjqlzxbg19xfdqsinsh7afq58gkf44rsg1qxfgm8g6zhr7f8"))))
5144 (build-system emacs-build-system)
5145 (propagated-inputs
5146 `(("emacs-helm" ,emacs-helm)
5147 ("emacs-yasnippet" ,emacs-yasnippet)))
5148 (home-page "https://github.com/emacs-jp/helm-c-yasnippet")
5149 (synopsis "Helm integration for Yasnippet")
5150 (description "This Emacs library provides Helm interface for
5151Yasnippet.")
5152 (license license:gpl2+))))
5153
55fa5349
AI
5154(define-public emacs-memoize
5155 (package
5156 (name "emacs-memoize")
5157 (version "20130421.b55eab0")
5158 (source
5159 (origin
5160 (method git-fetch)
5161 (uri (git-reference
5162 (url "https://github.com/skeeto/emacs-memoize")
5163 (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
5164 (file-name (string-append name "-" version ".tar.gz"))
5165 (sha256
5166 (base32
5167 "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
5168 (build-system emacs-build-system)
5169 (arguments
5170 `(#:phases
5171 (modify-phases %standard-phases
5172 (add-before 'install 'check
5173 (lambda _
5174 (zero? (system* "emacs" "-batch" "-l" "memoize.el"
5175 "-l" "memoize-test.el"
5176 "-f" "ert-run-tests-batch-and-exit")))))))
5177 (home-page "https://github.com/skeeto/emacs-memoize")
5178 (synopsis "Emacs lisp memoization library")
5179 (description "@code{emacs-memoize} is an Emacs library for
5180memoizing functions.")
5181 (license license:unlicense)))
6b7e3362 5182
c86c1991
AI
5183(define-public emacs-linum-relative
5184 (package
5185 (name "emacs-linum-relative")
5186 (version "0.5")
5187 (source
5188 (origin
5189 (method url-fetch)
5190 (uri (string-append
5191 "https://github.com/coldnew/linum-relative/archive/"
5192 version ".tar.gz"))
5193 (file-name (string-append name "-" version ".tar.gz"))
5194 (sha256
5195 (base32
5196 "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
5197 (build-system emacs-build-system)
5198 (home-page "https://github.com/coldnew/linum-relative")
5199 (synopsis "Relative line numbering for Emacs")
5200 (description "@code{emacs-linum-relative} displays the relative line
5201number on the left margin in Emacs.")
5202 (license license:gpl2+)))
5203
6b7e3362
VD
5204(define-public emacs-idle-highlight
5205 (package
5206 (name "emacs-idle-highlight")
5207 (version "1.1.3")
5208 (source
5209 (origin
5210 (method url-fetch)
5211 (uri (string-append
5212 "https://github.com/nonsequitur/idle-highlight-mode/archive/"
5213 version ".tar.gz"))
5214 (file-name (string-append name "-" version ".tar.gz"))
5215 (sha256
5216 (base32
5217 "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
5218 (build-system emacs-build-system)
5219 (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
d1e4ad1b 5220 (synopsis "Highlights all occurrences of the word the point is on")
6b7e3362
VD
5221 (description
5222 "This Emacs package provides @code{idle-highlight-mode} that sets
d1e4ad1b 5223 an idle timer to highlight all occurrences in the buffer of the word under
6b7e3362
VD
5224 the point.")
5225 (license license:gpl3+)))
6a91c5f2
VD
5226
5227(define-public emacs-ox-twbs
5228 (package
5229 (name "emacs-ox-twbs")
5230 (version "1.1.1")
5231 (source
5232 (origin
5233 (method url-fetch)
5234 (uri (string-append
5235 "https://github.com/marsmining/ox-twbs/archive/v"
5236 version ".tar.gz"))
5237 (file-name (string-append name "-" version ".tar.gz"))
5238 (sha256
5239 (base32
5240 "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
5241 (build-system emacs-build-system)
5242 (home-page "https://github.com/marsmining/ox-twbs")
5243 (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
5244 (description
5245 "This Emacs package outputs your org-mode docs with a simple, clean and
5246modern look. It implements a new HTML back-end for exporting org-mode docs as
5247HTML compatible with Twitter Bootstrap. By default, HTML is exported with
5248jQuery and Bootstrap resources included via osscdn.")
5249 (license license:gpl3+)))
239cf024
VD
5250
5251(define-public emacs-highlight-sexp
5252 (package
5253 (name "emacs-highlight-sexp")
5254 (version "1.0")
5255 (source
5256 (origin
5257 (method url-fetch)
5258 (uri (string-append
5259 "https://github.com/daimrod/highlight-sexp/archive/v"
5260 version ".tar.gz"))
5261 (file-name (string-append name "-" version ".tar.gz"))
5262 (sha256
5263 (base32
5264 "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
5265 (build-system emacs-build-system)
5266 (home-page "https://github.com/daimrod/highlight-sexp")
5267 (synopsis "Minor mode that highlights the s-exp at the current position")
5268 (description
5269 "This Emacs package highlights the s-exp at the current position.")
5270 (license license:gpl3+)))
350cfccb 5271
7a452689
OP
5272(define-public emacs-highlight-stages
5273 (let ((commit "29cbc5b78261916da042ddb107420083da49b271")
5274 (revision "1"))
5275 (package
5276 (name "emacs-highlight-stages")
5277 (version (string-append "1.1.0" "-" revision "." (string-take commit 7)))
5278 (source
5279 (origin
5280 (method git-fetch)
5281 (uri (git-reference
5282 (url "https://github.com/zk-phi/highlight-stages.git")
5283 (commit commit)))
5284 (file-name (string-append name "-" version "-checkout"))
5285 (sha256
5286 (base32
5287 "0r6nbcrr0dqpgm8dir8ahzjy7rw4nrac48byamzrq96r7ajlxlv0"))
5288 (patches
5289 (search-patches "emacs-highlight-stages-add-gexp.patch"))))
5290 (build-system emacs-build-system)
5291 (home-page "https://github.com/wigust/highlight-stages")
5292 (synopsis "Minor mode that highlights (quasi-quoted) expressions")
5293 (description "@code{highlight-stages} provides an Emacs minor mode that
5294highlights quasi-quoted expressions.")
5295 (license license:gpl3+))))
5296
acf7d4a7
KK
5297(define-public emacspeak
5298 (package
5299 (name "emacspeak")
147d42fc 5300 (version "47.0")
acf7d4a7
KK
5301 (source
5302 (origin
5303 (method url-fetch)
5304 (uri (string-append
5305 "https://github.com/tvraman/emacspeak/releases/download/"
5306 version "/emacspeak-" version ".tar.bz2"))
5307 (sha256
5308 (base32
147d42fc 5309 "0xbcc266x752y68s3g096m161irzvsqym3axzqn8rb276a8x55n7"))))
acf7d4a7
KK
5310 (build-system gnu-build-system)
5311 (arguments
5312 '(#:make-flags (list (string-append "prefix="
5313 (assoc-ref %outputs "out")))
5314 #:phases
5315 (modify-phases %standard-phases
5316 (replace 'configure
231e48d6
KK
5317 (lambda _
5318 ;; Configure Emacspeak according to etc/install.org.
147d42fc 5319 (setenv "SHELL" (which "sh"))
acf7d4a7 5320 (zero? (system* "make" "config"))))
231e48d6
KK
5321 (add-after 'build 'build-espeak
5322 (lambda _
5323 (zero? (system* "make" "espeak"))))
5324 (replace 'install
acf7d4a7 5325 (lambda* (#:key outputs #:allow-other-keys)
231e48d6
KK
5326 (let* ((out (assoc-ref outputs "out"))
5327 (bin (string-append out "/bin"))
5328 (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
5329 (info (string-append out "/share/info")))
5330 ;; According to etc/install.org, the Emacspeak directory should
5331 ;; be copied to its installation destination.
5332 (for-each
5333 (lambda (file)
5334 (copy-recursively file (string-append lisp "/" file)))
5335 '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
5336 "xsl"))
5337 ;; Make sure emacspeak is loaded from the correct directory.
5338 (substitute* "etc/emacspeak.sh"
5339 (("exec emacs.*$")
5340 (string-append "exec emacs -l " lisp
5341 "/lisp/emacspeak-setup.el $CL_ALL")))
5342 ;; Install the convenient startup script.
5343 (mkdir-p bin)
5344 (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
5345 #t))
5346 (add-after 'install 'wrap-program
acf7d4a7
KK
5347 (lambda* (#:key inputs outputs #:allow-other-keys)
5348 (let* ((out (assoc-ref outputs "out"))
5349 (emacspeak (string-append out "/bin/emacspeak"))
5350 (espeak (string-append (assoc-ref inputs "espeak")
5351 "/bin/espeak")))
5352 ;; The environment variable DTK_PROGRAM tells emacspeak what
5353 ;; program to use for speech.
5354 (wrap-program emacspeak
5355 `("DTK_PROGRAM" ":" prefix (,espeak)))
5356 #t))))
5357 #:tests? #f)) ; no check target
5358 (inputs
5359 `(("espeak" ,espeak)
5360 ("tcl" ,tcl)
5361 ("tclx" ,tclx)))
5362 (native-inputs `(("emacs" ,emacs-minimal)))
5363 (home-page "http://emacspeak.sourceforge.net")
5364 (synopsis "Audio desktop interface for Emacs")
5365 (description
5366 "Emacspeak is a speech interface that allows visually impaired users to
5367interact independently and efficiently with the computer. Audio formatting
5368--a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
5369allows Emacspeak to produce rich aural presentations of electronic information.
5370By seamlessly blending all aspects of the Internet such as Web-surfing and
5371messaging, Emacspeak speech-enables local and remote information via a
5372consistent and well-integrated user interface.")
5373 (license license:gpl2+)))
5374
350cfccb
AP
5375(define-public emacs-adaptive-wrap
5376 (package
5377 (name "emacs-adaptive-wrap")
13869ff5 5378 (version "0.5.1")
350cfccb
AP
5379 (source (origin
5380 (method url-fetch)
5381 (uri (string-append
5382 "http://elpa.gnu.org/packages/adaptive-wrap-"
5383 version ".el"))
5384 (sha256
5385 (base32
13869ff5 5386 "0qi7gjprcpywk2daivnlavwsx53hl5wcqvpxbwinvigg42vxh3ll"))))
350cfccb
AP
5387 (build-system emacs-build-system)
5388 (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
5389 (synopsis "Smart line-wrapping with wrap-prefix")
5390 (description
5391 "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
5392minor mode which sets the wrap-prefix property on the fly so that
5393single-long-line paragraphs get word-wrapped in a way similar to what
5394you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
5395actually changing the buffer's text.")
5396 (license license:gpl3+)))
0201c5d4 5397
42e891c2
MC
5398(define-public emacs-diff-hl
5399 (package
5400 (name "emacs-diff-hl")
5401 (version "1.8.4")
5402 (source
5403 (origin
5404 (method url-fetch)
5405 (uri (string-append "http://elpa.gnu.org/packages/diff-hl-"
5406 version ".tar"))
5407 (sha256
5408 (base32
5409 "0axhidc3cym7a2x4rpxf4745qss9s9ajyg4s9h5b4zn7v7fyp71n"))))
5410 (build-system emacs-build-system)
5411 (home-page "https://github.com/dgutov/diff-hl")
5412 (synopsis
5413 "Highlight uncommitted changes using VC")
5414 (description
5415 "@code{diff-hl-mode} highlights uncommitted changes on the side of the
5416window (using the fringe, by default), allows you to jump between
5417the hunks and revert them selectively.")
5418 (license license:gpl3+)))
5419
0201c5d4
AI
5420(define-public emacs-diminish
5421 (package
5422 (name "emacs-diminish")
5423 (version "0.45")
5424 (source
5425 (origin
5426 (method url-fetch)
5427 (uri (string-append
5428 "https://github.com/myrjola/diminish.el/archive/v"
5429 version ".tar.gz"))
5430 (file-name (string-append name "-" version ".tar.gz"))
5431 (sha256
5432 (base32
5433 "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
5434 (build-system emacs-build-system)
5435 (home-page "https://github.com/myrjola/diminish.el")
5436 (synopsis "Diminish minor modes with no modeline display")
5437 (description "@code{emacs-diminish} implements hiding or
5438abbreviation of the mode line displays (lighters) of minor modes.")
5439 (license license:gpl2+)))
b247fb86
AI
5440
5441(define-public emacs-use-package
5442 (package
5443 (name "emacs-use-package")
5444 (version "2.3")
5445 (source
5446 (origin
5447 (method url-fetch)
5448 (uri (string-append
5449 "https://github.com/jwiegley/use-package/archive/"
5450 version ".tar.gz"))
5451 (file-name (string-append name "-" version ".tar.gz"))
5452 (sha256
5453 (base32
5454 "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
5455 (build-system emacs-build-system)
5456 (propagated-inputs
5457 `(("emacs-diminish" ,emacs-diminish)))
5458 (arguments
5459 `(#:phases
5460 (modify-phases %standard-phases
5461 (add-before 'install 'check
5462 (lambda _
5463 (zero? (system* "emacs" "--batch" "-L" "."
5464 "-l" "use-package-tests.el"
5465 "-f" "ert-run-tests-batch-and-exit"))
5466 ;; Tests fail in this release, but have been fixed in
5467 ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
5468 #t)))))
5469 (home-page "https://github.com/jwiegley/use-package")
5470 (synopsis "Declaration for simplifying your .emacs")
5471 (description "The use-package macro allows you to isolate package
5472configuration in your @file{.emacs} file in a way that is both
5473performance-oriented and tidy.")
5474 (license license:gpl2+)))
e2345554 5475
8ad5a20f
MO
5476(define-public emacs-strace-mode
5477 (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
5478 (revision "1"))
5479 (package
5480 (name "emacs-strace-mode")
5481 (version (string-append "0.0.2-" revision "." (string-take commit 7)))
5482 (source (origin
5483 (method git-fetch)
5484 (uri (git-reference
5485 (url "https://github.com/pkmoore/strace-mode")
5486 (commit commit)))
5487 (file-name (string-append name "-" version "-checkout"))
5488 (sha256
5489 (base32
5490 "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
5491 (build-system emacs-build-system)
5492 (home-page "https://github.com/pkmoore/strace-mode")
5493 (synopsis "Emacs major mode to highlight strace outputs")
5494 (description "@code{emacs-strace-mode} provides an Emacs major mode
5495 highlighting strace outputs.")
5496 (license license:gpl3+))))
5497
e2345554
CM
5498(define-public emacs-default-encrypt
5499 (package
5500 (name "emacs-default-encrypt")
5501 (version "4.3")
5502 (source
5503 (origin
5504 (method url-fetch)
5505 (uri (string-append
a97f6da4
CM
5506 "https://www.informationelle-selbstbestimmung-im-internet.de"
5507 "/emacs/jl-encrypt" version "/jl-encrypt.el"))
e2345554
CM
5508 (file-name (string-append "jl-encrypt-" version ".el"))
5509 (sha256
5510 (base32
5511 "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
5512 (build-system emacs-build-system)
5513 (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
5514 (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
5515 (description
5516 "DefaultEncrypt is designed to be used with Gnus in Emacs. It
5517automatically encrypts messages that you send (e.g., email) when public keys
5518for all recipients are available, and it protects you from accidentally
5519sending un-encrypted messages. It can also be configured to automatically
5520sign messages that you send. For details and instructions on how to use
5521DefaultEncrypt, please refer to the home page or read the comments in the
5522source file, @file{jl-encrypt.el}.")
5523 (license license:gpl3+)))
25e810b8
AI
5524
5525(define-public emacs-htmlize
5526 (package
5527 (name "emacs-htmlize")
5528 (version "1.51")
5529 (source
5530 (origin
5531 (method url-fetch)
5532 (uri (string-append
5533 "https://github.com/hniksic/emacs-htmlize/archive/release/"
5534 version ".tar.gz"))
5535 (file-name (string-append name "-" version ".tar.gz"))
5536 (sha256
5537 (base32
5538 "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
5539 (build-system emacs-build-system)
5540 (home-page "https://github.com/hniksic/emacs-htmlize")
5541 (synopsis "Convert buffer text and decorations to HTML")
5542 (description "@code{emacs-htmlize} converts the buffer text and
5543the associated decorations to HTML. Output to CSS, inline CSS and
5544fonts is supported.")
5545 (license license:gpl2+)))
0ee59b81
AI
5546
5547(define-public emacs-xmlgen
5548 (package
5549 (name "emacs-xmlgen")
5550 (version "0.5")
5551 (source
5552 (origin
5553 (method url-fetch)
5554 (uri (string-append
5555 "https://github.com/philjackson/xmlgen/archive/"
5556 version ".tar.gz"))
5557 (file-name (string-append name "-" version ".tar.gz"))
5558 (sha256
5559 (base32
5560 "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
5561 (build-system emacs-build-system)
5562 (arguments
5563 `(#:phases
5564 (modify-phases %standard-phases
5565 (add-before 'install 'check
5566 (lambda _
5567 (zero? (system* "emacs" "--batch" "-L" "."
5568 "-l" "xmlgen-test.el"
5569 "-f" "ert-run-tests-batch-and-exit")))))))
5570 (home-page "https://github.com/philjackson/xmlgen")
5571 (synopsis "S-expression to XML domain specific language (DSL) in
5572Emacs Lisp")
5573 (description "@code{emacs-xmlgen} provides S-expression to XML
5574conversion for Emacs Lisp.")
5575 (license license:gpl2+)))
8d50a990
AI
5576
5577(define-public emacs-cdlatex
5578 (package
5579 (name "emacs-cdlatex")
5580 (version "4.7")
5581 (source
5582 (origin
5583 (method url-fetch)
5584 (uri (string-append
5585 "https://github.com/cdominik/cdlatex/archive/"
5586 version ".tar.gz"))
5587 (file-name (string-append name "-" version ".tar.gz"))
5588 (sha256
5589 (base32
5590 "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
5591 (build-system emacs-build-system)
00bdf501
MC
5592 (propagated-inputs
5593 `(("emacs-auctex" ,emacs-auctex)))
8d50a990
AI
5594 (home-page "https://github.com/cdominik/cdlatex")
5595 (synopsis "Fast Emacs input methods for LaTeX environments and
5596math")
5597 (description "CDLaTeX is an Emacs minor mode supporting fast
5598insertion of environment templates and math in LaTeX. Similar
5599commands are also offered as part of the AUCTeX package, but it is not
5600the same - CDLaTeX focuses on speediness for inserting LaTeX
5601constructs.")
5602 (license license:gpl3+)))
deddeb44 5603
65fff6a3
FS
5604(define-public emacs-cnfonts
5605 (package
5606 (name "emacs-cnfonts")
5607 (version "0.9.1")
5608 (source (origin
5609 (method url-fetch)
5610 (uri (string-append
5611 "https://github.com/tumashu/cnfonts/archive/v"
5612 version ".tar.gz"))
5613 (file-name (string-append name "-" version ".tar.gz"))
5614 (sha256
5615 (base32
5616 "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
5617 (build-system emacs-build-system)
5618 (home-page "https://github.com/tumashu/cnfonts")
5619 (synopsis "Emacs Chinese fonts setup tool")
5620 (description "cnfonts is a Chinese fonts setup tool, allowing for easy
5621configuration of Chinese fonts.")
5622 (license license:gpl2+)))
5623
57fe82c5
RJ
5624(define-public emacs-php-mode
5625 (package
5626 (name "emacs-php-mode")
5627 (version "20171225.342")
5628 (source (origin
5629 (method url-fetch)
5630 (uri (string-append
5631 "https://melpa.org/packages/php-mode-"
5632 version ".tar"))
5633 (sha256
5634 (base32
5635 "1zz682f34v4wsm2dyj1gnrnvsrqdq1cy7j8p6cvc398w2fziyg3q"))))
5636 (build-system emacs-build-system)
5637 (home-page "https://github.com/ejmr/php-mode")
5638 (synopsis "Major mode for editing PHP code")
5639 (description "@code{php-mode} is a major mode for editing PHP source
5640code. It's an extension of C mode; thus it inherits all C mode's navigation
5641functionality. But it colors according to the PHP grammar and indents
5642according to the PEAR coding guidelines. It also includes a couple handy
5643IDE-type features such as documentation search and a source and class
5644browser.")
5645 (license license:gpl3+)))
5646
9f3b27a2
FS
5647(define-public emacs-pos-tip
5648 (package
5649 (name "emacs-pos-tip")
5650 (version "0.4.6")
5651 (source (origin
5652 (method url-fetch)
5653 (uri (string-append
5654 "https://github.com/pitkali/pos-tip/archive/"
5655 version ".tar.gz"))
5656 (file-name (string-append name "-" version ".tar.gz"))
5657 (sha256
5658 (base32
5659 "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
5660 (build-system emacs-build-system)
5661 ;; The following functions and variables needed by emacs-pos-tip are
5662 ;; not included in emacs-minimal:
5663 ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
5664 (arguments `(#:emacs ,emacs))
5665 (home-page "https://github.com/pitkali/pos-tip")
5666 (synopsis "Show tooltip at point")
5667 (description "The standard library tooltip.el provides a function for
5668displaying a tooltip at the mouse position. However, locating a tooltip at an
5669arbitrary buffer position in a window is not easy. Pos-tip provides such a
5670function to be used by other frontend programs.")
5671 (license license:gpl2+)))
5672
0fa8a932
FS
5673(define-public emacs-pyim-basedict
5674 (package
5675 (name "emacs-pyim-basedict")
5676 (version "0.3.1")
5677 (source (origin
5678 (method url-fetch)
5679 (uri (string-append
5680 "https://github.com/tumashu/pyim-basedict/archive/v"
5681 version ".tar.gz"))
5682 (file-name (string-append name "-" version ".tar.gz"))
5683 (sha256
5684 (base32
5685 "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
5686 (build-system emacs-build-system)
5687 (home-page "https://github.com/tumashu/pyim-basedict")
5688 (synopsis "Input method dictionary of pyim")
5689 (description "Pyim-basedict is the default pinyin input method dictionary,
5690containing words from the rime project.")
5691 (license license:gpl2+)))
5692
7493306f
FS
5693(define-public emacs-pyim
5694 (package
5695 (name "emacs-pyim")
5696 (version "1.6.4")
5697 (source (origin
5698 (method url-fetch)
5699 (uri (string-append
5700 "https://github.com/tumashu/pyim/archive/v"
5701 version ".tar.gz"))
5702 (file-name (string-append name "-" version ".tar.gz"))
5703 (sha256
5704 (base32
5705 "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
5706 (build-system emacs-build-system)
5707 (propagated-inputs
5708 `(("emacs-async" ,emacs-async)
6fe2d37c 5709 ("emacs-pyim-basedict" ,emacs-pyim-basedict)
7493306f
FS
5710 ("emacs-popup" ,emacs-popup)
5711 ("emacs-pos-tip" ,emacs-pos-tip)))
5712 (home-page "https://github.com/tumashu/pyim")
5713 (synopsis "Chinese input method")
5714 (description "Chinese input method which supports quanpin, shuangpin, wubi
5715and cangjie.")
5716 (license license:gpl2+)))
5717
2f1524d0
FS
5718(define-public emacs-el2org
5719 (package
5720 (name "emacs-el2org")
5721 (version "0.6.0")
5722 (source (origin
5723 (method url-fetch)
5724 (uri (string-append
5725 "https://github.com/tumashu/el2org/archive/v"
5726 version ".tar.gz"))
5727 (file-name (string-append name "-" version ".tar.gz"))
5728 (sha256
5729 (base32
5730 "0gd3km1swwvg2w0kdi7370f54wgrflxn63gjgssfjc1iyc9sbqwq"))))
5731 (build-system emacs-build-system)
5732 (home-page "https://github.com/tumashu/el2org")
5733 (synopsis "Convert Emacs-lisp file to org file")
5734 (description "El2org is a simple tool, which can convert Emacs-lisp file
5735to org file, you can use this tool to write orgify commentary.")
5736 (license license:gpl2+)))
5737
5b38c3e6
FS
5738(define-public emacs-mustache
5739 (package
5740 (name "emacs-mustache")
5741 (version "0.23")
5742 (source (origin
5743 (method url-fetch)
5744 (uri (string-append
5745 "https://github.com/Wilfred/mustache.el/archive/"
5746 version ".tar.gz"))
5747 (file-name (string-append name "-" version ".tar.gz"))
5748 (sha256
5749 (base32
5750 "0k9lcgil7kykkv1ylrgwy1g13ldjjmgi2cwmysgyb2vlj3jbwpdj"))))
5751 (build-system emacs-build-system)
5752 (propagated-inputs
5753 `(("emacs-dash" ,emacs-dash)
5754 ("emacs-ht" ,emacs-ht)
5755 ("emacs-s" ,emacs-s)))
5756 (home-page "https://github.com/Wilfred/mustache.el")
5757 (synopsis "Mustache templating library for Emacs")
5758 (description "Mustache templating library for Emacs, mustache is
5759a simple web template system, which is described as a logic-less system
5760because it lacks any explicit control flow statements, both looping and
5761conditional evaluation can be achieved using section tags processing lists
5762and lambdas.")
5763 (license license:gpl3+)))
5764
f03e15ec
FS
5765(define-public emacs-org2web
5766 (package
5767 (name "emacs-org2web")
5768 (version "0.9.1")
5769 (source (origin
5770 (method url-fetch)
5771 (uri (string-append
5772 "https://github.com/tumashu/org2web/archive/v"
5773 version ".tar.gz"))
5774 (file-name (string-append name "-" version ".tar.gz"))
5775 (sha256
5776 (base32
5777 "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
5778 (build-system emacs-build-system)
5779 (propagated-inputs
5780 `(("emacs-dash" ,emacs-dash)
5781 ("emacs-el2org" ,emacs-el2org)
5782 ("emacs-ht" ,emacs-ht)
5783 ("emacs-mustache" ,emacs-mustache)
5784 ("emacs-simple-httpd" ,emacs-simple-httpd)))
5785 (home-page "https://github.com/tumashu/org2web")
5786 (synopsis "Static site generator based on org-mode ")
5787 (description "Org2web is a static site generator based on org-mode,
5788which code derived from Kelvin H's org-page.")
5789 (license license:gpl2+)))
5790
deddeb44
FS
5791(define-public emacs-xelb
5792 (package
5793 (name "emacs-xelb")
aaa31d1b 5794 (version "0.14")
deddeb44
FS
5795 (source (origin
5796 (method url-fetch)
5797 (uri (string-append "https://elpa.gnu.org/packages/xelb-"
5798 version ".tar"))
5799 (sha256
5800 (base32
aaa31d1b 5801 "09flnbjy9ck784kprz036rwg9qk45hpv0w5hz3pz3zhwyk57fv74"))))
deddeb44
FS
5802 (build-system emacs-build-system)
5803 ;; The following functions and variables needed by emacs-xelb are
5804 ;; not included in emacs-minimal:
5805 ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
5806 ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
5807 ;; x-display-pixel-width, x-display-pixel-height
5808 (arguments
5809 `(#:emacs ,emacs
5810 #:phases
5811 (modify-phases %standard-phases
5812 (add-after 'unpack 'regenerate-el-files
5813 (lambda* (#:key inputs #:allow-other-keys)
5814 (zero? (system* "make"
5815 (string-append "PROTO_PATH="
5816 (assoc-ref inputs "xcb-proto")
5817 "/share/xcb")
5818 (string-append "EMACS_BIN="
5819 (assoc-ref inputs "emacs")
5820 "/bin/emacs -Q"))))))))
5821 (native-inputs `(("xcb-proto" ,xcb-proto)))
5822 (home-page "https://github.com/ch11ng/xelb")
5823 (synopsis "X protocol Emacs Lisp binding")
5824 (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
5825X11 protocol based on the XML description files from the XCB project. It
5826features an object-oriented API and permits a certain degree of concurrency.
5827It should enable you to implement low-level X11 applications.")
5828 (license license:gpl3+)))
2b3b745c
FS
5829
5830(define-public emacs-exwm
5831 (package
5832 (name "emacs-exwm")
9f2a58a0 5833 (version "0.18")
2b3b745c
FS
5834 (synopsis "Emacs X window manager")
5835 (source (origin
5836 (method url-fetch)
5837 (uri (string-append "https://elpa.gnu.org/packages/exwm-"
5838 version ".tar"))
5839 (sha256
5840 (base32
9f2a58a0 5841 "1shz5bf4v4gg3arjaaldics5qkg3aiiaf3ngys8lb6qyxhcpvh6q"))))
2b3b745c
FS
5842 (build-system emacs-build-system)
5843 (propagated-inputs
5844 `(("emacs-xelb" ,emacs-xelb)))
5845 (inputs
5846 `(("xhost" ,xhost)
5847 ("dbus" ,dbus)))
5848 ;; The following functions and variables needed by emacs-exwm are
5849 ;; not included in emacs-minimal:
5850 ;; scroll-bar-mode, fringe-mode
5851 ;; x-display-pixel-width, x-display-pixel-height
5852 (arguments
5853 `(#:emacs ,emacs
5854 #:phases
5855 (modify-phases %standard-phases
5856 (add-after 'build 'install-xsession
5857 (lambda* (#:key inputs outputs #:allow-other-keys)
5858 (let* ((out (assoc-ref outputs "out"))
5859 (xsessions (string-append out "/share/xsessions"))
5860 (bin (string-append out "/bin"))
5861 (exwm-executable (string-append bin "/exwm")))
5862 ;; Add a .desktop file to xsessions
5863 (mkdir-p xsessions)
5864 (mkdir-p bin)
5865 (with-output-to-file
5866 (string-append xsessions "/exwm.desktop")
5867 (lambda _
5868 (format #t "[Desktop Entry]~@
5869 Name=~a~@
5870 Comment=~a~@
5871 Exec=~a~@
5872 TryExec=~@*~a~@
5873 Type=Application~%" ,name ,synopsis exwm-executable)))
5874 ;; Add a shell wrapper to bin
2b3b745c
FS
5875 (with-output-to-file exwm-executable
5876 (lambda _
5877 (format #t "#!~a ~@
2b3b745c 5878 ~a +SI:localuser:$USER ~@
11f8e028 5879 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
2b3b745c
FS
5880 (string-append (assoc-ref inputs "bash") "/bin/sh")
5881 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
5882 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
5883 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
5884 '(cond
5885 ((file-exists-p "~/.exwm")
5886 (load-file "~/.exwm"))
5887 ((not (featurep 'exwm))
5888 (require 'exwm)
5889 (require 'exwm-config)
5890 (exwm-config-default)
87c95cb2
AI
5891 (message (concat "exwm configuration not found. "
5892 "Falling back to default configuration...")))))))
2b3b745c
FS
5893 (chmod exwm-executable #o555)
5894 #t))))))
5895 (home-page "https://github.com/ch11ng/exwm")
5896 (description "EXWM is a full-featured tiling X window manager for Emacs
5897built on top of XELB.")
5898 (license license:gpl3+)))
21b99aad 5899
58addd2b
FS
5900(define-public emacs-switch-window
5901 (package
5902 (name "emacs-switch-window")
adaebe80 5903 (version "1.5.1")
58addd2b
FS
5904 (source (origin
5905 (method url-fetch)
5906 (uri (string-append
5907 "https://github.com/dimitri/switch-window/archive/v"
5908 version ".tar.gz"))
5909 (file-name (string-append name "-" version ".tar.gz"))
5910 (sha256
5911 (base32
adaebe80 5912 "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
58addd2b
FS
5913 (build-system emacs-build-system)
5914 (home-page "https://github.com/dimitri/switch-window")
5915 (synopsis "Emacs window switch tool")
5916 (description "Switch-window is an emacs window switch tool, which
5917offer a visual way to choose a window to switch to, delete, split or
5918other operations.")
5919 (license license:wtfpl2)))
5920
f4ade9b6
FS
5921(define-public emacs-exwm-x
5922 (package
5923 (name "emacs-exwm-x")
03a34d54 5924 (version "1.8.1")
f4ade9b6
FS
5925 (synopsis "Derivative window manager based on EXWM")
5926 (source (origin
5927 (method url-fetch)
5928 (uri (string-append
5929 "https://github.com/tumashu/exwm-x/archive/v"
5930 version ".tar.gz"))
5931 (file-name (string-append name "-" version ".tar.gz"))
5932 (sha256
5933 (base32
03a34d54 5934 "0ali1100aacq4zbvcck80h51pvw204jlxhn4aikkqq4ngbx03kkr"))))
f4ade9b6
FS
5935 (build-system emacs-build-system)
5936 (propagated-inputs
5937 `(("emacs-exwm" ,emacs-exwm)
5938 ("emacs-switch-window" ,emacs-switch-window)
2a9a2207
FS
5939 ("emacs-ivy" ,emacs-ivy)
5940 ("emacs-use-package" ,emacs-use-package)))
f4ade9b6
FS
5941 (inputs
5942 `(("xhost" ,xhost)
5943 ("dbus" ,dbus)))
5944 ;; Need emacs instead of emacs-minimal,
5945 ;; for emacs's bin path will be inserted into bin/exwm-x file.
5946 (arguments
5947 `(#:emacs ,emacs
5948 #:phases
5949 (modify-phases %standard-phases
5950 (add-after 'build 'install-xsession
5951 (lambda* (#:key inputs outputs #:allow-other-keys)
5952 (let* ((out (assoc-ref outputs "out"))
5953 (xsessions (string-append out "/share/xsessions"))
5954 (bin (string-append out "/bin"))
5955 (exwm-executable (string-append bin "/exwm-x")))
5956 ;; Add a .desktop file to xsessions
5957 (mkdir-p xsessions)
5958 (mkdir-p bin)
5959 (with-output-to-file
5960 (string-append xsessions "/exwm-x.desktop")
5961 (lambda _
5962 (format #t "[Desktop Entry]~@
5963 Name=~a~@
5964 Comment=~a~@
5965 Exec=~a~@
5966 TryExec=~@*~a~@
5967 Type=Application~%" ,name ,synopsis exwm-executable)))
5968 ;; Add a shell wrapper to bin
f4ade9b6
FS
5969 (with-output-to-file exwm-executable
5970 (lambda _
5971 (format #t "#!~a ~@
f4ade9b6
FS
5972 ~a +SI:localuser:$USER ~@
5973 exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
5974 (string-append (assoc-ref inputs "bash") "/bin/sh")
5975 (string-append (assoc-ref inputs "xhost") "/bin/xhost")
5976 (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
5977 (string-append (assoc-ref inputs "emacs") "/bin/emacs")
5978 '(require 'exwmx-loader))))
5979 (chmod exwm-executable #o555)
5980 #t))))))
5981 (home-page "https://github.com/tumashu/exwm-x")
5982 (description "EXWM-X is a derivative window manager based on EXWM, with focus
5983on mouse-control.")
5984 (license license:gpl3+)))
5985
21b99aad
AI
5986(define-public emacs-gnuplot
5987 (package
5988 (name "emacs-gnuplot")
5989 (version "0.7.0")
5990 (source
5991 (origin
5992 (method url-fetch)
5993 (uri (string-append
5994 "https://github.com/bruceravel/gnuplot-mode/archive/"
5995 version ".tar.gz"))
5996 (file-name (string-append name "-" version ".tar.gz"))
5997 (sha256
5998 (base32
5999 "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
6000 (build-system gnu-build-system)
6001 (native-inputs `(("emacs" ,emacs-minimal)))
6002 (arguments
6003 (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
6004 "/gnuplot-" version)))
6005 `(#:modules ((guix build gnu-build-system)
6006 (guix build utils)
6007 (guix build emacs-utils))
6008 #:imported-modules (,@%gnu-build-system-modules
6009 (guix build emacs-utils))
6010 #:configure-flags
6011 (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
6012 "/bin/emacs")
6013 (string-append "--with-lispdir=" %output ,elisp-dir))
6014 #:phases
6015 (modify-phases %standard-phases
6016 (add-after 'install 'generate-autoloads
6017 (lambda* (#:key outputs #:allow-other-keys)
6018 (emacs-generate-autoloads
6019 "gnuplot"
6020 (string-append (assoc-ref outputs "out") ,elisp-dir))
6021 #t))))))
6022 (home-page "https://github.com/bruceravel/gnuplot-mode")
6023 (synopsis "Emacs major mode for interacting with gnuplot")
6024 (description "@code{emacs-gnuplot} is an emacs major mode for interacting
6025with gnuplot.")
6026 (license license:gpl2+)))
860f73c6
AI
6027
6028(define-public emacs-transpose-frame
6029 (package
6030 (name "emacs-transpose-frame")
6031 (version "0.1.0")
6032 (source
6033 (origin
6034 (method url-fetch)
6035 (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
8a421ddb 6036 (file-name (string-append "transpose-frame-" version ".el"))
860f73c6
AI
6037 (sha256
6038 (base32
6039 "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
6040 (build-system emacs-build-system)
6041 (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
6042 (synopsis "Transpose window arrangement in current frame")
6043 (description "@code{emacs-transpose-frame} provides some interactive
6044functions which allows users to transpose windows arrangement in currently
6045selected frame.")
6046 (license license:bsd-2)))
a34242ee
KM
6047
6048(define-public emacs-key-chord
6049 (package
6050 (name "emacs-key-chord")
6051 (version "0.6")
6052 (source
6053 (origin
6054 (method url-fetch)
6055 (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
a742becd 6056 (file-name (string-append "key-chord-" version ".el"))
a34242ee
KM
6057 (sha256
6058 (base32
6059 "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
6060 (build-system emacs-build-system)
6061 (home-page "https://www.emacswiki.org/emacs/key-chord.el")
6062 (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
6063 (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
6064mode for binding key chords to commands. A key chord is defined as two keys
6065pressed simultaneously or a single key quickly pressed twice.")
6066 (license license:gpl2+)))
a993add1
AI
6067
6068(define-public emacs-evil-surround
6069 (package
6070 (name "emacs-evil-surround")
6071 (version "1.0.0")
6072 (source
6073 (origin
6074 (method url-fetch)
6075 (uri (string-append
6076 "https://github.com/timcharper/evil-surround/archive/v"
6077 version ".tar.gz"))
6078 (file-name (string-append name "-" version ".tar.gz"))
6079 (sha256
6080 (base32
6081 "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
6082 (build-system emacs-build-system)
6083 (propagated-inputs
6084 `(("emacs-evil" ,emacs-evil)))
6085 (home-page "https://github.com/timcharper/evil-surround")
6086 (synopsis "Easily modify surrounding parantheses and quotes")
6087 (description "@code{emacs-evil-surround} allows easy deletion, change and
6088addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
6089 (license license:gpl3+)))
2406766e
AI
6090
6091(define-public emacs-evil-commentary
6092 (package
6093 (name "emacs-evil-commentary")
6094 (version "2.1.1")
6095 (source
6096 (origin
6097 (method url-fetch)
6098 (uri (string-append
6099 "https://github.com/linktohack/evil-commentary/archive/v"
6100 version ".tar.gz"))
6101 (file-name (string-append name "-" version ".tar.gz"))
6102 (sha256
6103 (base32
6104 "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
6105 (build-system emacs-build-system)
6106 (propagated-inputs
6107 `(("emacs-evil" ,emacs-evil)))
6108 (home-page "https://github.com/linktohack/evil-commentary")
6109 (synopsis "Comment out code in evil mode")
6110 (description "@code{emacs-evil-commentary} adds keybindings to easily
6111comment out lines of code in evil mode. It provides @code{gcc} to comment out
6112lines, and @code{gc} to comment out the target of a motion.")
6113 (license license:gpl3+)))
99d406c9
AI
6114
6115;; Tests for emacs-ansi have a circular dependency with ert-runner, and
6116;; therefore cannot be run
6117(define-public emacs-ansi
6118 (package
6119 (name "emacs-ansi")
6120 (version "0.4.1")
6121 (source
6122 (origin
6123 (method url-fetch)
6124 (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
6125 version ".tar.gz"))
6126 (file-name (string-append name "-" version ".tar.gz"))
6127 (sha256
6128 (base32
6129 "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
6130 (build-system emacs-build-system)
6131 (propagated-inputs
6132 `(("emacs-dash" ,emacs-dash)
6133 ("emacs-s" ,emacs-s)))
6134 (home-page "https://github.com/rejeep/ansi.el")
6135 (synopsis "Convert strings to ANSI")
6136 (description "@code{emacs-ansi} defines functions that turns simple
6137strings to ANSI strings. Turning a string into an ANSI string can be to add
6138color to a text, add color in the background of a text or adding a style, such
6139as bold, underscore or italic.")
6140 (license license:gpl3+)))
605ecbcb
AI
6141
6142;; Tests for emacs-commander have a circular dependency with ert-runner, and
6143;; therefore cannot be run
6144(define-public emacs-commander
6145 (package
6146 (name "emacs-commander")
6147 (version "0.7.0")
6148 (source
6149 (origin
6150 (method url-fetch)
6151 (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
6152 version ".tar.gz"))
6153 (file-name (string-append name "-" version ".tar.gz"))
6154 (sha256
6155 (base32
6156 "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
6157 (build-system emacs-build-system)
6158 (propagated-inputs
6159 `(("emacs-dash" ,emacs-dash)
6160 ("emacs-f" ,emacs-f)
6161 ("emacs-s" ,emacs-s)))
6162 (home-page "https://github.com/rejeep/commander.el")
6163 (synopsis "Emacs command line parser")
6164 (description "@code{emacs-commander} provides command line parsing for
6165Emacs.")
6166 (license license:gpl3+)))
87449013
AI
6167
6168;; Tests for ert-runner have a circular dependency with ecukes, and therefore
6169;; cannot be run
6170(define-public ert-runner
6171 (let ((dependencies
6172 `(("emacs-ansi" ,emacs-ansi)
6173 ("emacs-commander" ,emacs-commander)
6174 ("emacs-dash" ,emacs-dash)
6175 ("emacs-f" ,emacs-f)
6176 ("emacs-s" ,emacs-s)
6177 ("emacs-shut-up" ,emacs-shut-up))))
6178 (package
6179 (name "ert-runner")
6180 (version "0.7.0")
6181 (source
6182 (origin
6183 (method url-fetch)
6184 (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
6185 version ".tar.gz"))
6186 (file-name (string-append name "-" version ".tar.gz"))
6187 (sha256
6188 (base32
6189 "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
6190 (build-system emacs-build-system)
6191 (inputs dependencies)
6192 (arguments
6193 `(#:phases
6194 (modify-phases %standard-phases
6195 (add-after 'install 'install-executable
6196 (lambda* (#:key inputs outputs #:allow-other-keys)
6197 (let ((out (assoc-ref outputs "out")))
6198 (substitute* "bin/ert-runner"
6199 (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
6200 (string-append "ERT_RUNNER=\"" out
6201 "/share/emacs/site-lisp/guix.d/"
6202 ,name "-" ,version)))
6203 (install-file "bin/ert-runner" (string-append out "/bin"))
6204 (wrap-program (string-append out "/bin/ert-runner")
6205 (list "EMACSLOADPATH" ":" '=
6206 (append
6207 ,(match dependencies
6208 (((labels packages) ...)
6209 `(map (lambda (label package version)
6210 (string-append (assoc-ref inputs label)
6211 "/share/emacs/site-lisp/guix.d/"
6212 (string-drop package 6)
6213 "-" version))
6214 ',labels
6215 ',(map package-name packages)
6216 ',(map package-version packages))))
6217 ;; empty element to include the default load path as
6218 ;; determined by emacs' standard initialization
6219 ;; procedure
6220 (list ""))))
45f523d9
MC
6221 #t))))
6222 #:include (cons* "^reporters/.*\\.el$" %default-include)))
87449013
AI
6223 (home-page "https://github.com/rejeep/ert-runner.el")
6224 (synopsis "Opinionated Ert testing workflow")
6225 (description "@code{ert-runner} is a tool for Emacs projects tested
6226using ERT. It assumes a certain test structure setup and can therefore make
6227running tests easier.")
6228 (license license:gpl3+))))
7a0efa77
JN
6229
6230(define-public emacs-disable-mouse
6231 (package
6232 (name "emacs-disable-mouse")
6233 (version "0.2")
6234 (source
6235 (origin
6236 (method url-fetch)
6237 (uri (string-append
6238 "https://github.com/purcell/disable-mouse/archive/"
6239 version ".tar.gz"))
6240 (file-name (string-append name "-" version ".tar.gz"))
6241 (sha256
6242 (base32
6243 "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
6244 (build-system emacs-build-system)
6245 (home-page "https://github.com/purcell/disable-mouse")
6246 (synopsis "Disable mouse commands globally")
6247 (description
6248 "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
6249pair of minor modes which suppress all mouse events by intercepting them and
6250running a customisable handler command (@code{ignore} by default). ")
6251 (license license:gpl3+)))
ce676015 6252
b0912e9f
OP
6253(define-public emacs-json-reformat
6254 (package
6255 (name "emacs-json-reformat")
6256 (version "0.0.6")
6257 (source
6258 (origin
6259 (method url-fetch)
6260 (uri (string-append "https://github.com/gongo/json-reformat/archive/"
6261 version ".tar.gz"))
6262 (file-name (string-append name "-" version ".tar.gz"))
6263 (sha256
6264 (base32
6265 "11fbq4scrgr7m0iwnzcrn2g7xvqwm2gf82sa7zy1l0nil7265p28"))
6266 (patches (search-patches "emacs-json-reformat-fix-tests.patch"))))
6267 (build-system emacs-build-system)
6268 (propagated-inputs `(("emacs-undercover" ,emacs-undercover)))
6269 (inputs
6270 `(("emacs-dash" ,emacs-dash) ; for tests
6271 ("emacs-shut-up" ,emacs-shut-up))) ; for tests
6272 (arguments
6273 `(#:phases
6274 (modify-phases %standard-phases
6275 (add-before 'install 'check
6276 (lambda* (#:key inputs #:allow-other-keys)
6277 (zero? (system* "emacs" "--batch" "-L" "."
6278 "-L" (string-append
6279 (assoc-ref inputs "emacs-undercover")
6280 "/share/emacs/site-lisp/guix.d/undercover-"
6281 ,(package-version emacs-undercover))
6282 "-L" (string-append
6283 (assoc-ref inputs "emacs-dash")
6284 "/share/emacs/site-lisp/guix.d/dash-"
6285 ,(package-version emacs-dash))
6286 "-L" (string-append
6287 (assoc-ref inputs "emacs-shut-up")
6288 "/share/emacs/site-lisp/guix.d/shut-up-"
6289 ,(package-version emacs-shut-up))
6290 "-l" "test/test-helper.el"
6291 "-l" "test/json-reformat-test.el"
6292 "-f" "ert-run-tests-batch-and-exit"))
6293 #t)))))
6294 (home-page "https://github.com/gongo/json-reformat")
6295 (synopsis "Reformatting tool for JSON")
6296 (description "@code{json-reformat} provides a reformatting tool for
6297@url{http://json.org/, JSON}.")
6298 (license license:gpl3+)))
6299
6df27407
OP
6300(define-public emacs-json-snatcher
6301 (package
6302 (name "emacs-json-snatcher")
6303 (version "1.0.0")
6304 (source
6305 (origin
6306 (method url-fetch)
6307 (uri (string-append "https://github.com/Sterlingg/json-snatcher/archive/"
6308 version ".tar.gz"))
6309 (file-name (string-append name "-" version ".tar.gz"))
6310 (sha256
6311 (base32
6312 "1nfiwsifpdiz0lbrqa77nl0crnfrv5h85ans9b0g5rggnmyshcfb"))))
6313 (build-system emacs-build-system)
6314 (home-page "https://github.com/sterlingg/json-snatcher")
6315 (synopsis "Grabs the path to JSON values in a JSON file")
6316 (description "@code{emacs-json-snatcher} grabs the path to JSON values in
6317a @url{http://json.org/, JSON} file.")
6318 (license license:gpl3+)))
6319
dd72837d
OP
6320(define-public emacs-json-mode
6321 (package
6322 (name "emacs-json-mode")
6323 (version "1.7.0")
6324 (source
6325 (origin
6326 (method url-fetch)
6327 (uri (string-append "https://github.com/joshwnj/json-mode/archive/"
6328 "v" version ".tar.gz"))
6329 (file-name (string-append name "-" version ".tar.gz"))
6330 (sha256
6331 (base32
6332 "06h45p4cn767pk9sqi2zb1c65wy5gyyijqxzpglp80zwxhvajdz5"))))
6333 (build-system emacs-build-system)
6334 (propagated-inputs
6335 `(("emacs-json-reformat" ,emacs-json-reformat)
6336 ("emacs-json-snatcher" ,emacs-json-snatcher)))
6337 (home-page "https://github.com/joshwnj/json-mode")
6338 (synopsis "Major mode for editing JSON files")
6339 (description "@code{json-mode} extends the builtin js-mode syntax
6340highlighting.")
6341 (license license:gpl3+)))
6342
ce676015
JR
6343(define-public emacs-restclient
6344 (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
6345 (revision "1")) ;Guix package revision,
6346 ;upstream doesn't have official releases
6347 (package
6348 (name "emacs-restclient")
6349 (version (string-append revision "."
6350 (string-take commit 7)))
6351 (source (origin
6352 (method git-fetch)
6353 (uri (git-reference
6354 (url "https://github.com/pashky/restclient.el.git")
6355 (commit commit)))
6356 (sha256
6357 (base32
6358 "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))
6359 (file-name (git-file-name name version))))
6360 (build-system emacs-build-system)
6361 (propagated-inputs
6362 `(("emacs-helm" ,emacs-helm)))
6363 (home-page "https://github.com/pashky/restclient.el")
6364 (synopsis "Explore and test HTTP REST webservices")
6365 (description
6366 "This tool allows for testing and exploration of HTTP REST Web services
6367from within Emacs. Restclient runs queries from a plan-text query sheet,
6368displays results pretty-printed in XML or JSON with @code{restclient-mode}")
6369 (license license:public-domain))))
730c0790 6370
de5256d3
MC
6371(define-public emacs-eimp
6372 (let ((version "1.4.0")
6373 (commit "2e7536fe6d8f7faf1bad7a8ae37faba0162c3b4f")
6374 (revision "1"))
6375 (package
6376 (name "emacs-eimp")
6377 (version (git-version version revision commit))
6378 (source
6379 (origin
6380 (method git-fetch)
6381 (uri (git-reference
6382 (url "https://github.com/nicferrier/eimp.git")
6383 (commit commit)))
6384 (file-name (git-file-name name version))
6385 (sha256
6386 (base32
6387 "154d57yafxbcf39r89n5j43c86rp2fki3lw3gwy7ww2g6qkclcra"))))
6388 (build-system emacs-build-system)
6389 (arguments
6390 `(#:phases
6391 (modify-phases %standard-phases
6392 (add-after 'unpack 'configure
6393 (lambda* (#:key inputs #:allow-other-keys)
6394 (let ((imagemagick (assoc-ref inputs "imagemagick")))
6395 ;; eimp.el is read-only in git.
6396 (chmod "eimp.el" #o644)
6397 (emacs-substitute-variables "eimp.el"
6398 ("eimp-mogrify-program"
6399 (string-append imagemagick "/bin/mogrify"))))
6400 #t)))))
6401 (inputs
6402 `(("imagemagick" ,imagemagick)))
6403 (home-page "https://github.com/nicferrier/eimp")
6404 (synopsis "Interactive image manipulation utility for Emacs")
6405 (description "@code{emacs-eimp} allows interactive image manipulation
6406from within Emacs. It uses the code@{mogrify} utility from ImageMagick to do
6407the actual transformations.")
6408 (license license:gpl2+))))
6409
730c0790
OP
6410(define-public emacs-dired-hacks
6411 (let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
6412 (revision "1"))
6413 (package
6414 (name "emacs-dired-hacks")
6415 (version (string-append "0.0.1-" revision "."
6416 (string-take commit 7)))
6417 (source (origin
6418 (method git-fetch)
6419 (uri (git-reference
6420 (url "https://github.com/Fuco1/dired-hacks.git")
6421 (commit commit)))
6422 (file-name (string-append name "-" version "-checkout"))
6423 (sha256
6424 (base32
6425 "1w7ssl9zssn5rcha6apf4h8drkd02k4xgvs203bdbqyqp9wz9brx"))))
6426 (build-system emacs-build-system)
6427 (propagated-inputs
6428 `(("emacs-dash" ,emacs-dash)
fee23c17 6429 ("emacs-eimp" ,emacs-eimp)
730c0790
OP
6430 ("emacs-f" ,emacs-f)
6431 ("emacs-s" ,emacs-s)))
6432 (home-page "https://github.com/Fuco1/dired-hacks")
6433 (synopsis
6434 "Collection of useful dired additions")
6435 (description
6436 "Collection of Emacs dired mode additions:
6437@itemize
6438@item dired-avfs
6439@item dired-columns
6440@item dired-filter
6441@item dired-hacks-utils
6442@item dired-images
6443@item dired-list
6444@item dired-narrow
6445@item dired-open
6446@item dired-rainbow
6447@item dired-ranger
6448@item dired-subtree
6449@item dired-tagsistant
6450@end itemize\n")
6451 (license license:gpl3+))))
1a80e4d7
OP
6452
6453(define-public emacs-which-key
6454 (package
6455 (name "emacs-which-key")
5fa1b417 6456 (version "3.0.2")
1a80e4d7
OP
6457 (source
6458 (origin
6459 (method url-fetch)
6460 (uri (string-append
6461 "https://github.com/justbur/emacs-which-key/archive/v"
6462 version ".tar.gz"))
6463 (sha256
6464 (base32
5fa1b417 6465 "1xvd70cwq9n31f28viyjxmr3nn8l153gsy6scpszvgvjxkiikv24"))
1a80e4d7
OP
6466 (file-name (string-append name "-" version ".tar.gz"))))
6467 (build-system emacs-build-system)
6468 (arguments
6469 `(#:phases
6470 (modify-phases %standard-phases
6471 (add-before 'install 'check
6472 (lambda _
6473 (zero? (system* "emacs" "--batch" "-L" "."
6474 "-l" "which-key-tests.el"
6475 "-f" "ert-run-tests-batch-and-exit")))))))
6476 (home-page "https://github.com/justbur/emacs-which-key")
6477 (synopsis "Display available key bindings in popup")
2482c02f
AI
6478 (description
6479 "@code{emacs-which-key} is a minor mode for Emacs that displays the key
6480bindings following your currently entered incomplete command (a prefix) in a
6481popup. For example, after enabling the minor mode if you enter C-x and wait
6482for the default of 1 second, the minibuffer will expand with all of the
6483available key bindings that follow C-x (or as many as space allows given your
6484settings).")
1a80e4d7 6485 (license license:gpl3+)))
c97979d6 6486
397d7980
MC
6487(define-public emacs-ws-butler
6488 (package
6489 (name "emacs-ws-butler")
6490 (version "0.6")
6491 (source (origin
6492 (method git-fetch)
6493 (uri (git-reference
6494 (url "https://github.com/lewang/ws-butler.git")
6495 (commit "323b651dd70ee40a25accc940b8f80c3a3185205")))
6496 (file-name (string-append name "-" version "-checkout"))
6497 (sha256
6498 (base32
6499 "1a4b0lsmwq84qfx51c5xy4fryhb1ysld4fhgw2vr37izf53379sb"))))
6500 (build-system emacs-build-system)
6501 (native-inputs
6502 `(("ert-runner" ,ert-runner)))
6503 (arguments
6504 `(#:phases
6505 (modify-phases %standard-phases
6506 (add-before 'install 'check
6507 (lambda _
6508 (zero? (system* "ert-runner" "tests")))))))
6509 (home-page "https://github.com/lewang/ws-butler")
6510 (synopsis "Trim spaces from end of lines")
6511 (description
6512 "This Emacs package automatically and unobtrusively trims whitespace
6513characters from end of lines.")
6514 (license license:gpl3+)))
6515
c97979d6
OP
6516(define-public emacs-org-edit-latex
6517 (package
6518 (name "emacs-org-edit-latex")
6519 (version "0.8.0")
6520 (source
6521 (origin
6522 (method url-fetch)
6523 (uri (string-append
6524 "https://github.com/et2010/org-edit-latex/archive/v"
6525 version ".tar.gz"))
6526 (file-name (string-append name "-" version ".tar.gz"))
6527 (sha256
6528 (base32
6529 "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
6530 (build-system emacs-build-system)
6531 (propagated-inputs
6532 `(("emacs-auctex" ,emacs-auctex)
6533 ;; The version of org in Emacs 25.2 is not sufficient, because the
6534 ;; `org-latex-make-preamble' function is required.
6535 ("emacs-org" ,emacs-org)))
6536 (home-page "https://github.com/et2010/org-edit-latex")
6537 (synopsis "Edit a latex fragment just like editing a src block")
6538 (description "@code{emacs-org-edit-latex} is an extension for org-mode.
6539It lets you edit a latex fragment in a dedicated buffer just like editing a
6540src block.")
6541 (license license:gpl3+)))
aadd75ac
OP
6542
6543(define-public emacs-emamux
6544 (package
6545 (name "emacs-emamux")
6546 (version "0.14")
6547 (source (origin
6548 (method url-fetch)
6549 (uri (string-append
6550 "https://github.com/syohex/emacs-emamux/archive/"
6551 version ".tar.gz"))
6552 (file-name (string-append name "-" version ".tar.gz"))
6553 (sha256
6554 (base32
6555 "0wlqg4icy037bj70b0qmhvwvmiwhagpnx6pnxhq6gzy1hvwlilkx"))))
6556 (build-system emacs-build-system)
6557 (home-page "https://github.com/syohex/emacs-emamux")
6558 (synopsis "Manipulate Tmux from Emacs")
6559 (description
6560 "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
6561multiplexer.")
6562 (license license:gpl3+)))
e8d9a878
OP
6563
6564(define-public emacs-rpm-spec-mode
6565 (package
6566 (name "emacs-rpm-spec-mode")
6567 (version "0.16")
6568 (source
6569 (origin
6570 (method url-fetch)
6571 ;; URI has the Fedora release number instead of the version
6572 ;; number. This will have to updated manually every new release.
6573 (uri (string-append
6574 "https://src.fedoraproject.org/cgit/rpms"
6575 "/emacs-rpm-spec-mode.git/snapshot"
6576 "/emacs-rpm-spec-mode-f26.tar.gz"))
6577 (sha256
6578 (base32
6579 "17dz80lhjrc89fj17pysl8slahzrqdkxgcjdk55zls6jizkr6kz3"))))
6580 (build-system emacs-build-system)
6581 (home-page "http://pkgs.fedoraproject.org/cgit/rpms/emacs-rpm-spec-mode.git")
6582 (synopsis "Emacs major mode for editing RPM spec files")
6583 (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
6584editing RPM spec files.")
6585 (license license:gpl2+)))
a88adeb3
OP
6586
6587(define-public emacs-git-messenger
6588 (package
6589 (name "emacs-git-messenger")
6590 (version "0.18")
6591 (source
6592 (origin
6593 (method url-fetch)
6594 (uri (string-append
6595 "https://github.com/syohex/emacs-git-messenger/archive/"
6596 version ".tar.gz"))
6597 (file-name (string-append name "-" version ".tar.gz"))
6598 (sha256
6599 (base32
6600 "17mqki6g0wx46fn7dcbcc2pjxik7vvrcb1j9jzxim8b9psbsbnp9"))))
6601 (build-system emacs-build-system)
6602 (propagated-inputs
6603 `(("emacs-popup" ,emacs-popup)))
6604 (arguments
6605 `(#:phases
6606 (modify-phases %standard-phases
6607 (add-before 'install 'check
6608 (lambda* (#:key inputs #:allow-other-keys)
6609 (zero? (system* "emacs" "--batch" "-L" "."
6610 "-L" (string-append
6611 (assoc-ref inputs "emacs-popup")
6612 "/share/emacs/site-lisp/guix.d/popup-"
6613 ,(package-version emacs-popup))
6614 "-l" "test/test.el"
6615 "-f" "ert-run-tests-batch-and-exit")))))))
6616 (home-page "https://github.com/syohex/emacs-git-messenger")
6617 (synopsis "Popup commit message at current line")
6618 (description "@code{emacs-git-messenger} provides
6619@code{git-messenger:popup-message}, a function that when called, will popup
6620the last git commit message for the current line. This uses git-blame
6621internally.")
6622 (license license:gpl3+)))
1ee879e9
OP
6623
6624(define-public emacs-gitpatch
6625 (package
6626 (name "emacs-gitpatch")
6627 (version "0.5.0")
6628 (source
6629 (origin
6630 (method url-fetch)
6631 (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
6632 "v" version ".tar.gz"))
6633 (file-name (string-append name "-" version ".tar.gz"))
6634 (sha256
6635 (base32
6636 "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
6637 (build-system emacs-build-system)
6638 (home-page "https://github.com/tumashu/gitpatch")
6639 (synopsis "Mail git patch from Emacs")
6640 (description "@code{emacs-gitpatch} lets users easily send git patches,
6641created by @code{git format-patch}, from @code{magit}, @code{dired} and
6642@code{ibuffer} buffers.")
6643 (license license:gpl3+)))
27feda65
OP
6644
6645(define-public emacs-erc-hl-nicks
6646 (package
6647 (name "emacs-erc-hl-nicks")
6648 (version "1.3.2")
6649 (source
6650 (origin
6651 (method url-fetch)
6652 (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
6653 "/archive/" version ".tar.gz"))
6654 (file-name (string-append name "-" version ".tar.gz"))
6655 (sha256
6656 (base32
6657 "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
6658 (build-system emacs-build-system)
6659 (synopsis "Nickname highlighting for Emacs ERC")
6660 (description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
6661client for Emacs. The main features are:
6662@itemize
6663@item Auto-colorizes nicknames without having to specify colors
6664@item Ignores certain characters that IRC clients add to nicknames to avoid
6665duplicates (nickname, nickname’, nickname\", etc.)
6666@item Attempts to produce colors with a sufficient amount of contrast between
6667the nick color and the background color
6668@end itemize\n")
6669 (home-page "https://github.com/leathekd/erc-hl-nicks")
6670 (license license:gpl3+)))
f262f446
OP
6671
6672(define-public emacs-engine-mode
6673 (package
6674 (name "emacs-engine-mode")
6675 (version "2.0.0")
6676 (source
6677 (origin
6678 (method url-fetch)
6679 (uri (string-append "https://github.com/hrs/engine-mode/archive/"
6680 "v" version ".tar.gz"))
6681 (file-name (string-append name "-" version ".tar.gz"))
6682 (sha256
6683 (base32
6684 "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
6685 (build-system emacs-build-system)
6686 (synopsis "Minor mode for defining and querying search engines")
6687 (description "@code{engine-mode} is a global minor mode for Emacs. It
6688enables you to easily define search engines, bind them to keybindings, and
6689query them from the comfort of your editor.")
6690 (home-page "https://github.com/hrs/engine-mode")
6691 (license license:gpl3+)))
b9dcaced
PM
6692
6693(define-public emacs-prop-menu
6694 (package
6695 (name "emacs-prop-menu")
6696 (version "0.1.2")
6697 (source
6698 (origin
6699 (method url-fetch)
6700 (uri (string-append
6701 "http://stable.melpa.org/packages/prop-menu-"
6702 version ".el"))
6703 (sha256
6704 (base32
6705 "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
6706 (build-system emacs-build-system)
6707 (home-page
6708 "https://github.com/david-christiansen/prop-menu-el")
6709 (synopsis
6710 "Create and display a context menu based on text and overlay properties")
6711 (description
6712 "This is a library for computing context menus based on text
6713properties and overlays. The intended use is to have tools that
6714annotate source code and others that use these annotations, without
6715requiring a direct coupling between them, but maintaining
6716discoverability.
6717
6718Major modes that wish to use this library should first define an
6719appropriate value for @code{prop-menu-item-functions}. Then, they should
6720bind @code{prop-menu-by-completing-read} to an appropriate
6721key. Optionally, a mouse pop-up can be added by binding
6722@code{prop-menu-show-menu} to a mouse event.")
6723 (license license:gpl3+)))
5883bb76
PM
6724
6725(define-public emacs-idris-mode
6726 (package
6727 (name "emacs-idris-mode")
6728 (version "0.9.19")
6729 (source
6730 (origin
6731 (method url-fetch)
6732 (uri (string-append
6733 "http://stable.melpa.org/packages/idris-mode-"
6734 version ".tar"))
6735 (sha256
6736 (base32
a05a637c 6737 "02r1qqsxi6qk7q4cj6a6pygbj856dcw9vcmhfh0ib92j41v77q6y"))))
5883bb76
PM
6738 (build-system emacs-build-system)
6739 (propagated-inputs
6740 `(("emacs-prop-menu" ,emacs-prop-menu)))
6741 (home-page
6742 "https://github.com/idris-hackers/idris-mode")
6743 (synopsis "Major mode for editing Idris code")
6744 (description
6745 "This is an Emacs mode for editing Idris code. It requires the latest
6746version of Idris, and some features may rely on the latest Git version of
6747Idris.")
6748 (license license:gpl3+)))
eaf4ba6e
OP
6749
6750(define-public emacs-browse-at-remote
0698633d 6751 (let ((commit "31dcf77d7c89a12f230e2b2332585db2c44530ef")
eaf4ba6e
OP
6752 (revision "1"))
6753 (package
6754 (name "emacs-browse-at-remote")
6755 (version (string-append "0.9.0-" revision "."
6756 (string-take commit 7)))
6757 (source (origin
6758 (method git-fetch)
6759 (uri (git-reference
6760 (url "https://github.com/rmuslimov/browse-at-remote.git")
6761 (commit commit)))
6762 (file-name (string-append name "-" version "-checkout"))
61995dce
OP
6763 (patches
6764 (search-patches "emacs-browse-at-remote-cgit-gnu.patch"))
eaf4ba6e
OP
6765 (sha256
6766 (base32
0698633d 6767 "017cb8lf7zbg0jmr7zxzd7d5kz2jy35cvw5vcpdmq1fdr3wqwkgj"))))
eaf4ba6e
OP
6768 (build-system emacs-build-system)
6769 (propagated-inputs
6770 `(("emacs-f" ,emacs-f)
6771 ("emacs-s" ,emacs-s)))
8505d348
AK
6772 (native-inputs
6773 `(("ert-runner" ,ert-runner)))
eaf4ba6e
OP
6774 (arguments
6775 `(#:phases
6776 (modify-phases %standard-phases
6777 (add-before 'install 'check
8505d348
AK
6778 (lambda _
6779 (zero? (system* "ert-runner")))))))
eaf4ba6e
OP
6780 (home-page "https://github.com/rmuslimov/browse-at-remote")
6781 (synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
6782 (description
6783 "This Emacs package allows you to open a target page on
6784github/gitlab (or bitbucket) by calling @code{browse-at-remote} command.
6785It supports dired buffers and opens them in tree mode at destination.")
6786 (license license:gpl3+))))
63253098
OP
6787
6788(define-public emacs-tiny
6789 (package
6790 (name "emacs-tiny")
d8ec1b71 6791 (version "0.2.1")
63253098
OP
6792 (source
6793 (origin
6794 (method url-fetch)
6795 (uri (string-append "http://elpa.gnu.org/packages/tiny-" version ".tar"))
6796 (sha256
6797 (base32
d8ec1b71 6798 "1cr73a8gba549ja55x0c2s554f3zywf69zbnd7v82jz5q1k9wd2v"))))
63253098
OP
6799 (build-system emacs-build-system)
6800 (home-page "https://github.com/abo-abo/tiny")
6801 (synopsis "Quickly generate linear ranges in Emacs")
6802 (description
6803 "The main command of the @code{tiny} extension for Emacs is @code{tiny-expand}.
a913d9d9 6804It is meant to quickly generate linear ranges, e.g. 5, 6, 7, 8. Some elisp
63253098
OP
6805proficiency is an advantage, since you can transform your numeric range with
6806an elisp expression.")
0b88f536 6807 (license license:gpl3+)))
4aafce22 6808
7081d4e0
RW
6809(define-public emacs-emojify
6810 (package
6811 (name "emacs-emojify")
6812 (version "0.4")
6813 (source
6814 (origin
6815 (method url-fetch)
6816 (uri (string-append "https://github.com/iqbalansari/emacs-emojify/"
6817 "releases/download/v" version "/emojify-"
6818 version ".tar"))
6819 (sha256
6820 (base32
6821 "0k84v2d2bkiwcky9fi1yyprgkj46g7wh6pyl9gzmcd7sqv051d5n"))))
6822 (build-system emacs-build-system)
6823 (arguments
6824 `(#:phases
6825 (modify-phases %standard-phases
6826 (add-after 'install 'install-data
6827 (lambda* (#:key outputs #:allow-other-keys)
6828 (copy-recursively "data"
6829 (string-append (assoc-ref outputs "out")
6830 "/share/emacs/site-lisp/guix.d/"
6831 "emojify-" ,version "/data"))
6832 #t)))))
6833 (propagated-inputs
6834 `(("emacs-ht" ,emacs-ht)))
6835 (home-page "https://github.com/iqbalansari/emacs-emojify")
6836 (synopsis "Display emojis in Emacs")
6837 (description "This package displays emojis in Emacs similar to how Github,
6838Slack, and other websites do. It can display plain ASCII like @code{:)} as
6839well as Github-style emojis like @code{:smile:}. It provides a minor mode
6840@code{emojify-mode} to enable the display of emojis in a buffer.")
6841 (license license:gpl3+)))
6842
9c058ef2
RW
6843(define-public emacs-websocket
6844 (package
6845 (name "emacs-websocket")
6846 (version "1.8")
6847 (source
6848 (origin
6849 (method url-fetch)
6850 (uri (string-append "https://elpa.gnu.org/packages/websocket-"
6851 version ".tar"))
6852 (sha256
6853 (base32
6854 "0dcxmnnm8z7cvsc7nkb822a1g6w03klp7cijjnfq0pz84p3w9cd9"))))
6855 (build-system emacs-build-system)
6856 (home-page "http://elpa.gnu.org/packages/websocket.html")
6857 (synopsis "Emacs WebSocket client and server")
6858 (description "This is an Elisp library for WebSocket clients to talk to
6859WebSocket servers, and for WebSocket servers to accept connections from
6860WebSocket clients. This library is designed to be used by other library
6861writers, to write applications that use WebSockets, and is not useful by
6862itself.")
6863 (license license:gpl3+)))
6864
a204c14c
RW
6865(define-public emacs-oauth2
6866 (package
6867 (name "emacs-oauth2")
6868 (version "0.11")
6869 (source
6870 (origin
6871 (method url-fetch)
6872 (uri (string-append "https://elpa.gnu.org/packages/oauth2-"
6873 version ".el"))
6874 (sha256
6875 (base32
6876 "0ydkc9jazsnbbvfhd47mql52y7k06n3z7r0naqxkwb99j9blqsmp"))))
6877 (build-system emacs-build-system)
6878 (home-page "http://elpa.gnu.org/packages/oauth2.html")
6879 (synopsis "OAuth 2.0 authorization protocol implementation")
6880 (description
6881 "This package provides an Elisp implementation of the OAuth 2.0 draft.
6882The main entry point is @code{oauth2-auth-and-store} which will return a token
6883structure. This token structure can be then used with
6884@code{oauth2-url-retrieve-synchronously} or @code{oauth2-url-retrieve} to
6885retrieve any data that need OAuth authentication to be accessed. If the token
6886needs to be refreshed, the code handles it automatically and stores the new
6887value of the access token.")
6888 (license license:gpl3+)))
6889
26b388ce
RW
6890(define-public emacs-circe
6891 (package
6892 (name "emacs-circe")
6893 (version "2.6")
6894 (source
6895 (origin
6896 (method git-fetch)
6897 (uri (git-reference
6898 (url "https://github.com/jorgenschaefer/circe.git")
6899 (commit (string-append "v" version))))
6900 (file-name (string-append name "-" version "-checkout"))
6901 (sha256
6902 (base32
6903 "19h3983zy3f15cgs86irvbdzz55qyjm48qd7gjlzcxplr7vnnh0j"))))
6904 (build-system emacs-build-system)
6905 ;; In order to securely connect to an IRC server using TLS, Circe requires
6906 ;; the GnuTLS binary.
6907 (propagated-inputs
6908 `(("gnutls" ,gnutls)))
6909 (home-page "https://github.com/jorgenschaefer/circe")
6910 (synopsis "Client for IRC in Emacs")
6911 (description "Circe is a Client for IRC in Emacs. It integrates well with
6912the rest of the editor, using standard Emacs key bindings and indicating
6913activity in channels in the status bar so it stays out of your way unless you
6914want to use it.")
6915 (license license:gpl3+)))
6916
5c8cdd4e 6917(define-public emacs-slack
f43857d6
RW
6918 (let ((commit "92724604879149cf331fa8778d089813a9d4ce1a")
6919 (revision "3"))
5c8cdd4e
RW
6920 (package
6921 (name "emacs-slack")
6922 (version (string-append "0-" revision "." (string-take commit 7)))
6923 (source (origin
6924 (method git-fetch)
6925 (uri (git-reference
6926 (url "https://github.com/yuya373/emacs-slack.git")
6927 (commit commit)))
6928 (file-name (string-append name "-" version "-checkout"))
6929 (sha256
6930 (base32
f43857d6 6931 "1fdf8s3ca356k7m7f5kqzfamfl2nrqjj2pynjv3kkrr0ad15nxmw"))))
5c8cdd4e
RW
6932 (build-system emacs-build-system)
6933 (propagated-inputs
6934 `(("emacs-alert" ,emacs-alert)
6935 ("emacs-emojify" ,emacs-emojify)
6936 ("emacs-request" ,emacs-request)
6937 ("emacs-websocket" ,emacs-websocket)
6938 ("emacs-oauth2" ,emacs-oauth2)
6939 ("emacs-circe" ,emacs-circe)))
6940 (home-page "https://github.com/yuya373/emacs-slack")
6941 (synopsis "Slack client for Emacs")
6942 (description "This package provides an Emacs client for the Slack
6943messaging service.")
6944 (license license:gpl3+))))
6945
4aafce22
JN
6946(define-public emacs-bash-completion
6947 (package
6948 (name "emacs-bash-completion")
6949 (version "2.0.0")
6950 (source
6951 (origin
6952 (method url-fetch)
6953 (uri (string-append
6954 "https://github.com/szermatt/emacs-bash-completion/archive/v"
6955 version ".tar.gz"))
6956 (file-name (string-append name "-" version ".tar.gz"))
6957 (sha256
6958 (base32
6959 "0mkci4a1fy8z4cmry8mx5vsx4f16a8r454slnh7lqzidnhfi63hj"))))
6960 (inputs `(("bash" ,bash)))
6961 (build-system emacs-build-system)
6962 (arguments
6963 `(#:phases
6964 (modify-phases %standard-phases
6965 (add-before 'install 'configure
6966 (lambda* (#:key inputs #:allow-other-keys)
6967 (let ((bash (assoc-ref inputs "bash")))
6968 (emacs-substitute-variables "bash-completion.el"
6969 ("bash-completion-prog" (string-append bash "/bin/bash"))))
6970 #t)))))
6971 (home-page "https://github.com/szermatt/emacs-bash-completion")
6972 (synopsis "BASH completion for the shell buffer")
6973 (description
6974 "@code{bash-completion} defines dynamic completion hooks for shell-mode
6975and shell-command prompts that are based on bash completion.")
6976 (license license:gpl2+)))
d02c2873
KM
6977
6978(define-public emacs-easy-kill
6979 (package
6980 (name "emacs-easy-kill")
6981 (version "0.9.3")
6982 (source (origin
6983 (method url-fetch)
6984 (uri (string-append "https://elpa.gnu.org/packages/easy-kill-"
6985 version ".tar"))
6986 (sha256
6987 (base32
6988 "17nw0mglmg877axwg1d0gs03yc0p04lzmd3pl0nsnqbh3303fnqb"))))
6989 (build-system emacs-build-system)
6990 (home-page "https://github.com/leoliu/easy-kill")
6991 (synopsis "Kill and mark things easily in Emacs")
6992 (description
6993 "This package provides commands @code{easy-kill} and @code{easy-mark} to
6994let users kill or mark things easily.")
6995 (license license:gpl3+)))
9faa46ee
MC
6996
6997(define-public emacs-csv-mode
6998 (package
6999 (name "emacs-csv-mode")
7000 (version "1.7")
7001 (source
7002 (origin
7003 (method url-fetch)
7004 (uri (string-append "http://elpa.gnu.org/packages/csv-mode-"
7005 version ".el"))
7006 (sha256
7007 (base32
7008 "0r4bip0w3h55i8h6sxh06czf294mrhavybz0zypzrjw91m1bi7z6"))))
7009 (build-system emacs-build-system)
7010 (home-page
7011 "http://elpa.gnu.org/packages/csv-mode.html")
7012 (synopsis
7013 "Major mode for editing comma/char separated values")
7014 (description
7015 "This Emacs package implements CSV mode, a major mode for editing records
7016in a generalized CSV (character-separated values) format.")
7017 (license license:gpl3+)))
3fe4c9dc
OP
7018
7019(define-public emacs-transmission
7020 (package
7021 (name "emacs-transmission")
5ad13e6c 7022 (version "0.12.1")
3fe4c9dc
OP
7023 (source (origin
7024 (method url-fetch)
7025 (uri (string-append
7026 "https://github.com/holomorph/transmission/archive/"
7027 version ".tar.gz"))
7028 (file-name (string-append name "-" version ".tar.gz"))
7029 (sha256
7030 (base32
5ad13e6c 7031 "1rrlgn96gi1ljfwbwvlyyxbq75xzamlbdhq1bpyadxxmxcvlmk3n"))))
3fe4c9dc
OP
7032 (build-system emacs-build-system)
7033 (home-page "https://github.com/holomorph/transmission")
7034 (synopsis "Emacs interface to a Transmission session")
7035 (description "This package provides an Emacs interface to interact with a
7036running session of the Transmission Bittorrent client.
7037
7038Features:
7039
7040@itemize
7041@item List, add, start/stop, verify, remove torrents.
7042@item Set speed limits, ratio limits, bandwidth priorities, trackers.
7043@item Navigate to the corresponding file list, torrent info, peer info
7044contexts.
7045@item Toggle downloading and set priorities for individual files.
7046@end itemize\n")
7047 (license license:gpl3+)))
a6d02fc1 7048
c46e654f
RW
7049(define-public emacs-polymode
7050 ;; There hasn't been a proper release.
7051 (let ((commit "0340f5e7e55235832e59673f027cc79a23cbdcd6")
7052 (revision "1"))
7053 (package
7054 (name "emacs-polymode")
7055 (version (string-append "1.0-" revision "." (string-take commit 7)))
7056 (source (origin
7057 (method git-fetch)
7058 (uri (git-reference
7059 (url "https://github.com/vspinu/polymode.git")
7060 (commit commit)))
7061 (file-name (string-append name "-" version "-checkout"))
7062 (sha256
7063 (base32
7064 "057cybkq3cy07n5s332k071sjiky3mziy003lza4rh75mgqkwhmh"))))
7065 (build-system emacs-build-system)
74b4d7a1
MC
7066 (arguments
7067 `(#:include (cons* "^modes/.*\\.el$" %default-include)
7068 #:phases
7069 (modify-phases %standard-phases
7070 (add-after 'set-emacs-load-path 'add-modes-subdir-to-load-path
7071 (lambda _
7072 (setenv "EMACSLOADPATH"
7073 (string-append (getenv "EMACSLOADPATH")
7074 ":" (getcwd) "/modes" ":")))))))
c46e654f
RW
7075 (home-page "https://github.com/vspinu/polymode")
7076 (synopsis "Framework for multiple Emacs modes based on indirect buffers")
7077 (description "Polymode is an Emacs package that offers generic support
7078for multiple major modes inside a single Emacs buffer. It is lightweight,
7079object oriented and highly extensible. Creating a new polymode typically
7080takes only a few lines of code. Polymode also provides extensible facilities
7081for external literate programming tools for exporting, weaving and tangling.")
7082 (license license:gpl3+))))
7083
a6d02fc1
OP
7084(define-public eless
7085 (package
7086 (name "eless")
7087 (version "0.3")
7088 (source (origin
7089 (method url-fetch)
7090 (uri (string-append
7091 "https://github.com/kaushalmodi/eless/archive/"
7092 "v" version ".tar.gz"))
7093 (file-name (string-append name "-" version ".tar.gz"))
7094 (sha256
7095 (base32
7096 "0gjnnhgw5xs1w3qfnkvwa2nv44gnxr8pkhx3c7qig45p8nh1461h"))))
7097 (build-system trivial-build-system)
7098 (inputs
7099 `(("bash" ,bash)))
7100 (native-inputs
7101 `(("tar" ,tar)
7102 ("gzip" ,gzip)))
7103 (arguments
7104 `(#:modules ((guix build utils))
7105 #:builder
7106 (begin
7107 (use-modules (guix build utils))
7108 (setenv "PATH" (string-append
7109 (assoc-ref %build-inputs "tar") "/bin" ":"
7110 (assoc-ref %build-inputs "gzip") "/bin"))
7111 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
7112 (chdir (string-append "eless" "-" ,version))
7113 (substitute* "eless" (("/usr/bin/env bash")
7114 (string-append (assoc-ref %build-inputs "bash")
7115 "/bin/bash")))
7116 (install-file "eless" (string-append %output "/bin"))
7117 (install-file "doc/eless.info" (string-append %output "/share/info"))
7118 #t)))
7119 (home-page "https://github.com/kaushalmodi/eless")
7120 (synopsis "Use Emacs as a paginator")
7121 (description "@code{eless} provides a combination of Bash script
7122and a minimal Emacs view-mode.
7123
7124Feautures:
7125
7126@itemize
7127@item Independent of a user’s Emacs config.
7128@item Customizable via the @code{(locate-user-emacs-file \"elesscfg\")} config.
7129@item Not require an Emacs server to be already running.
7130@item Syntax highlighting.
7131@item Org-mode file rendering.
7132@item @code{man} page viewer.
7133@item Info viewer.
7134@item Dired, wdired, (batch edit symbolic links).
7135@item Colored diffs, git diff, git log, ls with auto ANSI detection.
7136@item Filter log files lines matching a regexp.
7137@item Auto-revert log files similar to @code{tail -f}.
7138@item Quickly change frame and font sizes.
7139@end itemize\n")
7140 (license license:expat)))
491cbd35
MG
7141
7142(define-public emacs-evil-matchit
7143 (package
7144 (name "emacs-evil-matchit")
9a910133 7145 (version "2.2.6")
491cbd35
MG
7146 (source
7147 (origin
7148 (method url-fetch)
7149 (uri (string-append
7150 "https://github.com/redguardtoo/evil-matchit/archive/"
7151 version ".tar.gz"))
7152 (file-name (string-append name "-" version ".tar.gz"))
7153 (sha256
7154 (base32
9a910133 7155 "1yp9sl6542317mn1060ri90zyf6bs6qylagndhqy02p368q31rhi"))))
491cbd35 7156 (build-system emacs-build-system)
80c4aabb
MC
7157 (propagated-inputs
7158 `(("emacs-evil" ,emacs-evil)))
491cbd35
MG
7159 (home-page "https://github.com/redguardtoo/evil-matchit")
7160 (synopsis "Vim matchit ported into Emacs")
7161 (description
7162 "@code{evil-matchit} is a minor mode for jumping between matching tags in
7163evil mode using @kbd{%}. It is a port of @code{matchit} for Vim.")
7164 (license license:gpl3+)))
ab8a4a78
AI
7165
7166(define-public emacs-evil-smartparens
7167 (package
7168 (name "emacs-evil-smartparens")
7169 (version "0.4.0")
7170 (source
7171 (origin
7172 (method url-fetch)
7173 (uri (string-append
7174 "https://github.com/expez/evil-smartparens/archive/"
7175 version ".tar.gz"))
7176 (file-name (string-append name "-" version ".tar.gz"))
7177 (sha256
7178 (base32
7179 "1bwzdd3054d407d5j4m3njsbvmc9r8zzp33m32pj3b3irxrl68q0"))))
7180 (build-system emacs-build-system)
7181 (propagated-inputs
7182 `(("emacs-evil" ,emacs-evil)
7183 ("emacs-smartparens" ,emacs-smartparens)))
7184 (home-page "https://github.com/expez/evil-smartparens")
7185 (synopsis "Emacs Evil integration for Smartparens")
7186 (description "@code{emacs-evil-smartparens} is an Emacs minor mode which
7187makes Evil play nice with Smartparens. Evil is an Emacs minor mode that
7188emulates Vim features and provides Vim-like key bindings.")
7189 (license license:gpl3+)))
2891ea39
AI
7190
7191(define-public emacs-evil-quickscope
7192 (package
7193 (name "emacs-evil-quickscope")
7194 (version "0.1.4")
7195 (source
7196 (origin
7197 (method url-fetch)
7198 (uri (string-append "https://github.com/blorbx/evil-quickscope/archive/v"
7199 version ".tar.gz"))
7200 (file-name (string-append name "-" version ".tar.gz"))
7201 (sha256
7202 (base32
7203 "1r26a412mmar7vbf89zcifswiwpdg30mjzj32xdyqss57aqi83ma"))))
7204 (build-system emacs-build-system)
7205 (propagated-inputs
7206 `(("emacs-evil" ,emacs-evil)))
7207 (arguments
7208 `(#:phases
7209 (modify-phases %standard-phases
7210 (add-before 'install 'check
7211 (lambda* (#:key inputs #:allow-other-keys)
7212 (invoke "emacs" "--batch" "-L"
7213 (string-append (assoc-ref inputs "emacs-evil")
7214 "/share/emacs/site-lisp/guix.d/evil-"
7215 ,(package-version emacs-evil))
7216 "-l" "evil-quickscope-tests.el"
7217 "-f" "ert-run-tests-batch-and-exit"))))))
7218 (home-page "https://github.com/blorbx/evil-quickscope")
7219 (synopsis "Target highlighting for emacs evil-mode f,F,t and T commands")
7220 (description "@code{emacs-evil-quickscope} highlights targets for Evil
7221mode’s f,F,t,T keys, allowing for quick navigation within a line. It is a
7222port of quick-scope for Vim. Evil is an Emacs minor mode that emulates Vim
7223features and provides Vim-like key bindings.")
7224 (license license:gpl3+)))
2a67ff1f
MO
7225
7226(define-public emacs-bongo
7227 (package
7228 (name "emacs-bongo")
7229 (version "1.0")
7230 (source
7231 (origin
7232 (method url-fetch)
7233 (uri (string-append
7234 "https://github.com/dbrock/bongo/archive/"
7235 version ".tar.gz"))
7236 (file-name (string-append name "-" version ".tar.gz"))
7237 (sha256
7238 (base32
7239 "1pcsyyrvj7djjjwpaswd1i782hvqvlvs39cy9ns0k795si6xd64d"))))
7240 (build-system emacs-build-system)
7241 (home-page "https://github.com/dbrock/bongo")
7242 (synopsis "Media player for Emacs")
7243 (description
7244 "This package provides a flexible media player for Emacs. @code{Bongo}
7245supports multiple backends such as @code{vlc}, @code{mpg123},
7246@code{ogg123}, @code{speexdec}, @code{timidity}, @code{mikmod} and
7247@code{afplay}.")
7248 (license license:gpl2+)))
548cc74c
CB
7249
7250(define-public groovy-emacs-modes
7251 (package
7252 (name "groovy-emacs-modes")
7253 (version "2.0")
7254 (source (origin
7255 (method url-fetch)
7256 (uri (string-append
7257 "https://github.com/Groovy-Emacs-Modes/" name
7258 "/archive/" version ".tar.gz"))
7259 (file-name (string-append name "-" version ".tar.gz"))
7260 (sha256
7261 (base32
7262 "15j0hnkx9nppjzda5cqsxxz5f3bq9hc4xfyjcdypzqiypcvmpa39"))))
7263 (build-system emacs-build-system)
7264 (propagated-inputs
7265 `(("emacs-s" ,emacs-s)))
7266 (home-page "https://github.com/Groovy-Emacs-Modes/groovy-emacs-modes")
7267 (synopsis "Groovy related modes for Emacs")
7268 (description
7269 "This package provides @code{groovy-mode} for syntax highlighing in
7270Groovy source files, REPL integration with run-groovy and Grails project
7271navigation with the grails mode.")
7272 (license license:gpl3+)))
02267798
LC
7273
7274(define-public org-tree-slide
7275 (let ((commit "dff8f1a4a64c8dd0a1fde0b0131e2fe186747134")
7276 (revision "0"))
7277 (package
7278 (name "emacs-org-tree-slide")
7279 (version (git-version "0.1" revision commit))
7280 (home-page "https://github.com/takaxp/org-tree-slide")
7281 (source (origin
7282 (method git-fetch)
7283 (uri (git-reference (url home-page) (commit commit)))
7284 (sha256
7285 (base32
7286 "153bg0x7ypla11pq51jmsgzfjklwwnrq56xgpbfhk1j16xwz9hyf"))
7287 (file-name (git-file-name name version))))
7288 (build-system emacs-build-system)
7289 (synopsis "Presentation tool for org-mode")
7290 (description
7291 "Org-tree-slide provides a slideshow mode to view org-mode files. Use
7292@code{org-tree-slide-mode} to enter the slideshow mode, and then @kbd{C->} and
7293@kbd{C-<} to jump to the next and previous slide.")
7294 (license license:gpl3+))))
ac07b94a
OP
7295
7296(define-public emacs-scratch-el
7297 (let ((commit "2cdf2b841ce7a0987093f65b0cc431947549f897")
7298 (revision "1"))
7299 (package
7300 (name "emacs-scratch-el")
7301 (version (git-version "1.2" revision commit))
7302 (source (origin
7303 (method git-fetch)
7304 (uri (git-reference
7305 (url "https://github.com/ieure/scratch-el.git")
7306 (commit commit)))
7307 (file-name (git-file-name name version))
7308 (sha256
7309 (base32
7310 "0wscsndynjmnliajqaz28r1ww81j8wh84zwaaswx51abhwgl0idf"))))
7311 (build-system emacs-build-system)
7312 (native-inputs
7313 `(("texinfo" ,texinfo)))
7314 (arguments
7315 '(#:phases
7316 (modify-phases %standard-phases
7317 (add-after 'install 'install-doc
7318 (lambda* (#:key outputs #:allow-other-keys)
7319 (unless (invoke "makeinfo" "scratch.texi")
7320 (error "makeinfo failed"))
7321 (install-file "scratch.info"
7322 (string-append (assoc-ref outputs "out")
7323 "/share/info"))
7324 #t)))))
7325 (home-page "https://github.com/ieure/scratch-el/")
7326 (synopsis "Create scratch buffers with the same mode as current buffer")
7327 (description "Scratch is an extension to Emacs that enables one to create
7328scratch buffers that are in the same mode as the current buffer. This is
7329notably useful when working on code in some language; you may grab code into a
7330scratch buffer, and, by virtue of this extension, do so using the Emacs
7331formatting rules for that language.")
7332 (license license:bsd-2))))
5b238292 7333
8d899214
RW
7334(define-public emacs-esxml
7335 (package
7336 (name "emacs-esxml")
7337 (version "0.3.4")
7338 (source (origin
7339 (method git-fetch)
7340 (uri (git-reference
7341 (url "https://github.com/tali713/esxml.git")
7342 (commit version)))
7343 (file-name (git-file-name name version))
7344 (sha256
7345 (base32
7346 "00vv8a75wdklygdyr4km9mc2ismxak69c45jmcny41xl44rp9x8m"))))
7347 (build-system emacs-build-system)
7348 (home-page "https://github.com/tali713/esxml/")
7349 (synopsis "SXML for EmacsLisp")
7350 (description "This is XML/XHTML done with S-Expressions in EmacsLisp.
7351Simply, this is the easiest way to write HTML or XML in Lisp. This library
7352uses the native form of XML representation as used by many libraries already
7353included within Emacs. See @code{esxml-to-xml} for a concise description of
7354the format.")
7355 (license license:gpl3+)))
7356
5f78ce49
RW
7357(define-public emacs-nov-el
7358 (package
7359 (name "emacs-nov-el")
7360 (version "0.2.2")
7361 (source (origin
7362 (method git-fetch)
7363 (uri (git-reference
7364 (url "https://github.com/wasamasa/nov.el.git")
7365 (commit version)))
7366 (file-name (git-file-name name version))
7367 (sha256
7368 (base32
7369 "03s0qjvwk1f7y3i4wh2p5y3z4hdv00adgz8za3vphzc0q8i1kjzb"))))
7370 (build-system emacs-build-system)
7371 (arguments
7372 `(#:phases
7373 (modify-phases %standard-phases
7374 (add-after 'unpack 'embed-path-to-unzip
7375 (lambda _
7376 (substitute* "nov.el"
7377 (("\\(executable-find \"unzip\"\\)")
7378 (string-append "\"" (which "unzip") "\"")))
7379 #t)))))
7380 (propagated-inputs
7381 `(("emacs-dash" ,emacs-dash)
7382 ("emacs-esxml" ,emacs-esxml)))
7383 (inputs
7384 `(("unzip" ,unzip)))
7385 (home-page "https://github.com/wasamasa/nov.el/")
7386 (synopsis "Major mode for reading EPUBs in Emacs")
7387 (description "@code{nov.el} provides a major mode for reading EPUB
7388documents.
7389
7390Features:
7391
7392@itemize
7393@item Basic navigation (jump to TOC, previous/next chapter)
7394@item Remembering and restoring the last read position
7395@item Jump to next chapter when scrolling beyond end
7396@item Renders EPUB2 (@code{.ncx}) and EPUB3 (@code{<nav>}) TOCs
7397@item Hyperlinks to internal and external targets
7398@item Supports textual and image documents
7399@item View source of document files
7400@item Metadata display
7401@item Image rescaling
7402@end itemize
7403")
7404 (license license:gpl3+)))
7405
5b238292
OP
7406(define-public epipe
7407 (package
7408 (name "epipe")
7409 (version "0.1.0")
7410 (source
7411 (origin
7412 (method url-fetch)
7413 (uri (string-append "https://github.com/cute-jumper/epipe/archive/"
7414 version ".tar.gz"))
7415 (file-name (string-append name "-" version ".tar.gz"))
7416 (sha256
7417 (base32
7418 "05a036852g4j63k1mhvyfrcsgkl9lczayi7x61570ysw3cli5wp5"))))
7419 (build-system trivial-build-system)
7420 (inputs
7421 `(("bash" ,bash)
7422 ("perl" ,perl)))
7423 (native-inputs
7424 `(("tar" ,tar)
7425 ("gzip" ,gzip)))
7426 (arguments
7427 `(#:modules
7428 ((guix build utils))
7429 #:builder
7430 (begin
7431 (use-modules (guix build utils))
7432 ;; Extract source
7433 (setenv "PATH" (string-append
7434 (assoc-ref %build-inputs "tar") "/bin" ":"
7435 (assoc-ref %build-inputs "gzip") "/bin"))
7436 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
7437 (chdir (string-append ,name "-" ,version))
7438 ;; Patch shebangs
7439 (substitute* "epipe"
7440 (("/usr/bin/env bash")
7441 (string-append (assoc-ref %build-inputs "bash") "/bin/bash")))
7442 (patch-shebang "epipe.pl"
7443 (list (string-append (assoc-ref %build-inputs "perl")
7444 "/bin")))
7445 ;; Installation
7446 (for-each (lambda (file)
7447 (install-file file (string-append %output "/bin")))
7448 '("epipe" "epipe.pl"))
7449 #t)))
7450 (home-page "https://github.com/cute-jumper/epipe")
7451 (synopsis "Pipe to the @code{emacsclient}")
7452 (description "@code{epipe} provides an utility to use your editor in
7453the pipeline, featuring the support for running @code{emacsclient}.")
7454 (license license:gpl3+)))
dc97f7e2
CB
7455
7456(define-public emacs-hcl-mode
7457 (package
7458 (name "emacs-hcl-mode")
7459 (version "0.03")
7460 (source
7461 (origin
7462 (method url-fetch)
7463 (uri (string-append
7464 "https://github.com/syohex/emacs-hcl-mode/archive/"
7465 version ".tar.gz"))
7466 (file-name (string-append name "-" version ".tar.gz"))
7467 (sha256
7468 (base32
7469 "0pvw74qpwh0znqzp6syp4wxjqs7dp1hbn5h7xfk97mff9l5d8k6x"))))
7470 (build-system emacs-build-system)
7471 (home-page "https://github.com/syohex/emacs-hcl-mode")
7472 (synopsis "Major mode for the Hashicorp Configuration Language")
7473 (description
7474 "@code{emacs-hcl-mode} provides an Emacs major mode for working with
7475@acronym{HCL, Hashicorp Configuration Language}. It provides syntax
7476highlighting and indentation support.")
7477 (license license:gpl3+)))
68d70f6a
CB
7478
7479(define-public emacs-terraform-mode
7480 (package
7481 (name "emacs-terraform-mode")
7482 (version "0.06")
7483 (source
7484 (origin
7485 (method url-fetch)
7486 (uri (string-append
7487 "https://github.com/syohex/emacs-terraform-mode/archive/"
7488 version ".tar.gz"))
7489 (file-name (string-append name "-" version ".tar.gz"))
7490 (sha256
7491 (base32
7492 "0h9267ifdjmcin4sj8slxydbacx4bqicbvg8pa1qq2l72h9m5381"))))
7493 (build-system emacs-build-system)
7494 (propagated-inputs
7495 `(("emacs-hcl-mode" ,emacs-hcl-mode)))
7496 (home-page "https://github.com/syohex/emacs-terraform-mode")
7497 (synopsis "Major mode for Terraform")
7498 (description
7499 "@code{emacs-terraform-mode} provides a major mode for working with
7500@uref{https://www.terraform.io/, Terraform} configuration files. Most of the
7501functionality is inherited from @code{hcl-mode}.")
7502 (license license:gpl3+)))
22d62814
KH
7503
7504(define-public emacs-exec-path-from-shell
7505 (package
7506 (name "emacs-exec-path-from-shell")
7507 (version "1.11")
7508 (source
7509 (origin
7510 (method url-fetch)
7511 (uri (string-append
7512 "https://stable.melpa.org/packages/exec-path-from-shell-"
7513 version ".el"))
7514 (sha256
7515 (base32
7516 "03qjgb81cq1l3j54lvlf98r75vmmgd06mj6qh5wa6mz4xzp4w26r"))))
7517 (build-system emacs-build-system)
7518 (home-page "https://github.com/purcell/exec-path-from-shell")
7519 (synopsis "Get environment variables such as @var{PATH} from the shell")
7520 (description
7521 "This library allows the user to set Emacs @var{exec-path} and @var{PATH}
7522from the shell @var{PATH}, so that @code{shell-command}, @code{compile} and
7523the like work as expected on systems on which Emacs is not guaranteed to
7524inherit a login shell's environment variables. It also allows other
7525environment variables to be retrieved from the shell, so that Emacs will see
7526the same values you get in a terminal.")
7527 (license license:gpl3+)))
5d818b35
KH
7528
7529(define-public emacs-deft
7530 (package
7531 (name "emacs-deft")
7532 (version "0.8")
7533 (source
7534 (origin
7535 (method url-fetch)
7536 (uri (string-append "https://stable.melpa.org/packages/deft-"
7537 version ".el"))
7538 (sha256
7539 (base32
7540 "1vb9cjxskc7c0yyf9pvxy1fzypg1vrcgwnjz0m3hslinsgdyig58"))))
7541 (build-system emacs-build-system)
7542 (home-page "https://jblevins.org/projects/deft/")
7543 (synopsis "Quickly browse, filter, and edit plain text notes")
7544 (description
7545 "Deft is an Emacs mode for quickly browsing, filtering, and editing
7546directories of plain text notes, inspired by Notational Velocity.")
7547 (license license:bsd-3)))
62d1105c
SB
7548
7549(define-public emacs-anzu
7550 (package
7551 (name "emacs-anzu")
7552 (version "0.62")
7553 (source
7554 (origin
7555 (method url-fetch)
2d11acb6
SB
7556 (uri (string-append "https://github.com/syohex/emacs-anzu/archive/"
7557 version ".tar.gz"))
7558 (file-name (string-append name "-" version ".tar.gz"))
62d1105c
SB
7559 (sha256
7560 (base32
2d11acb6 7561 "16cg3897x5znbmgk7sdy0qyd0fbic9dmmz0dchq2vz5z29yhg4cz"))))
62d1105c
SB
7562 (build-system emacs-build-system)
7563 (home-page "https://github.com/syohex/emacs-anzu")
7564 (synopsis "Show number of matches in mode-line while searching")
7565 (description
7566 "Anzu provides a minor mode which displays \"current match/total
7567matches\" in the mode line in various search modes. This is an Emacs port of
7568Anzu.zim.")
7569 (license license:gpl3+)))
c3581ef9
ML
7570
7571(define-public emacs-emmet-mode
7572 (package
7573 (name "emacs-emmet-mode")
7574 (version "1.0.8")
7575 (source (origin
7576 (method url-fetch)
7577 (uri (string-append "https://github.com/smihica/emmet-mode"
7578 "/archive/" version ".tar.gz"))
7579 (file-name (string-append name "-" version ".tar.gz"))
7580 (sha256
7581 (base32
7582 "0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
7583 (build-system emacs-build-system)
7584 (home-page "https://github.com/smihica/emmet-mode")
7585 (synopsis "Unofficial Emmet's support for Emacs")
7586 (description
7587 "Unfold CSS-selector-like expressions to markup. It is intended to be
7588used with SGML-like languages: XML, HTML, XHTML, XSL, etc.")
7589 (license license:gpl3+)))
03efe78c 7590
82bead75
RW
7591(define-public emacs-ergoemacs-mode
7592 (let ((commit "3ce23bba3cb50562693860f87f3528c471d603ba")
7593 (revision "1"))
7594 (package
7595 (name "emacs-ergoemacs-mode")
7596 (version (git-version "5.16.10.12" revision commit))
7597 (source
7598 (origin
7599 (method git-fetch)
7600 (uri (git-reference
7601 (url "https://github.com/ergoemacs/ergoemacs-mode.git")
7602 (commit commit)))
7603 (sha256
7604 (base32
7605 "1s3b9bridl78hh1mxmdk9nqlmqhibbaxk0a1cixmsf23s06w8w6l"))))
7606 (build-system emacs-build-system)
7607 (propagated-inputs
7608 `(("emacs-undo-tree" ,emacs-undo-tree)))
7609 (home-page "https://ergoemacs.github.io/")
7610 (synopsis "Emacs mode based on common modern interface and ergonomics")
7611 (description
7612 "This package provides an efficient Emacs keybinding set based on
7613statistics of command frequency, and supports common shortcuts for open,
7614close, copy, cut, paste, undo, redo.")
7615 (license license:gpl3+))))
7616
03efe78c
KH
7617(define-public emacs-password-store
7618 (package
7619 (name "emacs-password-store")
7620 (version "1.7.1")
7621 (source (origin
7622 (method url-fetch)
7623 (uri
7624 (string-append "https://git.zx2c4.com/password-store/snapshot/"
7625 "password-store-" version ".tar.xz"))
7626 (sha256
7627 (base32
7628 "0scqkpll2q8jhzcgcsh9kqz0gwdpvynivqjmmbzax2irjfaiklpn"))))
7629 (build-system emacs-build-system)
7630 (arguments
7631 `(#:phases
7632 (modify-phases %standard-phases
7633 (add-after 'unpack 'extract-el-file
7634 (lambda _
7635 (copy-file "contrib/emacs/password-store.el" "password-store.el")
7636 (delete-file-recursively "contrib")
7637 (delete-file-recursively "man")
7638 (delete-file-recursively "src")
7639 (delete-file-recursively "tests"))))))
7640 (propagated-inputs
7641 `(("emacs-f" ,emacs-f)
7642 ("emacs-s" ,emacs-s)
7643 ("password-store" ,password-store)))
7644 (home-page "https://git.zx2c4.com/password-store/tree/contrib/emacs")
7645 (synopsis "Password store (pass) support for Emacs")
7646 (description
7647 "This package provides functions for working with pass (\"the
7648standard Unix password manager\").")
7649 (license license:gpl2+)))
7650
ab4d1c26
KH
7651(define-public emacs-pass
7652 (package
7653 (name "emacs-pass")
7654 (version "1.7")
7655 (source (origin
7656 (method url-fetch)
7657 (uri (string-append
7658 "https://github.com/NicolasPetton/pass/archive/"
7659 version ".tar.gz"))
7660 (sha256
7661 (base32
7662 "0zlx9v6z0q3w9qhq9bq6vb7sli4c9x7qccm2wq55j0nw7bwy2yvj"))
7663 (file-name (string-append name "-" version ".tar.gz"))))
7664 (build-system emacs-build-system)
7665 (propagated-inputs
7666 `(("emacs-password-store" ,emacs-password-store)
7667 ("emacs-f" ,emacs-f)))
7668 (home-page "https://github.com/NicolasPetton/pass")
7669 (synopsis "Major mode for @file{password-store.el}")
7670 (description "This is a major mode for managing password-store (pass)
7671keychains. The keychain entries are displayed in a directory-like structure
7672and can be consulted and modified.")
7673 (license license:gpl3+)))
7674
d4bb4551
SB
7675(define-public emacs-evil-anzu
7676 (package
7677 (name "emacs-evil-anzu")
7678 (version "0.03")
7679 (source
7680 (origin
7681 (method url-fetch)
7682 (uri (string-append "https://github.com/syohex/emacs-evil-anzu"
7683 "/archive/" version ".tar.gz"))
7684 (file-name (string-append name "-" version ".tar.gz"))
7685 (sha256
7686 (base32 "032hh2946z529cizqsg8pm6cpn5qdj8lfk3qskmx6xv3g2ra56ns"))))
7687 (build-system emacs-build-system)
7688 (propagated-inputs
7689 `(("emacs-evil" ,emacs-evil)
7690 ("emacs-anzu" ,emacs-anzu)))
7691 (home-page "https://github.com/syohex/emacs-evil-anzu")
7692 (synopsis "Anzu for evil-mode")
7693 (description "@code{anzu} provides a minor mode that displays the current
7694match and total match information in the mode-line in various search modes.")
7695 (license license:gpl3+)))
086bfb37
OP
7696
7697(define-public emacs-pg
7698 (let ((commit "4f6516ec3946d95dcef49abb6703cc89ecb5183d"))
7699 (package
7700 (name "emacs-pg")
7701 (version (git-version "0.1" "1" commit))
7702 (source (origin
7703 (method git-fetch)
7704 (uri (git-reference (url "https://github.com/cbbrowne/pg.el")
7705 (commit commit)))
7706 (file-name (git-file-name name version))
7707 (sha256
7708 (base32
7709 "1zh7v4nnpzvbi8yj1ynlqlawk5bmlxi6s80b5f2y7hkdqb5q26k0"))))
7710 (build-system emacs-build-system)
7711 (home-page "https://github.com/cbbrowne/pg.el")
7712 (synopsis "Emacs Lisp interface for PostgreSQL")
7713 (description
7714 "This package provides an Emacs Lisp interface for PostgreSQL.")
7715 (license license:gpl3+))))
5b6d6747
OP
7716
7717(define-public emacs-cl-generic
7718 (package
7719 (name "emacs-cl-generic")
7720 (version "0.3")
7721 (source
7722 (origin
7723 (method url-fetch)
7724 (uri (string-append "https://elpa.gnu.org/packages/cl-generic-"
7725 version ".el"))
7726 (sha256
7727 (base32
7728 "0vb338bhjpsnrf60qgxny4z5rjrnifahnrv9axd4shay89d894zq"))))
7729 (build-system emacs-build-system)
7730 (home-page "https://elpa.gnu.org/packages/seq.html")
7731 (synopsis
7732 "Forward @code{cl-generic} compatibility for Emacs before version 25")
7733 (description "This package provides a subset of the features of the
7734@code{cl-generic} package introduced in Emacs-25, for use on previous
7735@code{emacsen}.")
7736 (license license:gpl3+)))
6c92b440
OP
7737
7738(define-public emacs-finalize
7739 (package
7740 (name "emacs-finalize")
7741 (version "2.0.0")
7742 (source
7743 (origin
7744 (method url-fetch)
7745 (uri (string-append "https://github.com/skeeto/elisp-finalize/archive/"
7746 version ".tar.gz"))
7747 (file-name (string-append name "-" version ".tar.gz"))
7748 (sha256
7749 (base32
7750 "077fycy3i5f0kjw5z3rhf4kld5lbk2idz690nkwhkz04vppk4q4x"))))
7751 (build-system emacs-build-system)
7752 (propagated-inputs
7753 `(("emacs-cl-generic" ,emacs-cl-generic)))
7754 (home-page "https://github.com/skeeto/elisp-finalize")
7755 (synopsis "Finalizers for Emacs Lisp")
7756 (description
7757 "This package will allows to immediately run a callback (a finalizer)
7758after its registered lisp object has been garbage collected. This allows for
7759extra resources, such as buffers and processes, to be cleaned up after the
7760object has been freed.")
7761 (license license:unlicense)))
4d089b5e
OP
7762
7763(define-public emacs-emacsql
7764 (package
7765 (name "emacs-emacsql")
7766 (version "2.0.3")
7767 (source
7768 (origin
7769 (method url-fetch)
7770 (uri (string-append "https://github.com/skeeto/emacsql/archive/"
7771 version ".tar.gz"))
7772 (file-name (string-append name "-" version ".tar.gz"))
7773 (sha256
7774 (base32
7775 "04hfjdgl1zc7jysgjc7d7d3xqpr7q1q9gsmzffjd91ii3hpqjgx6"))))
7776 (build-system emacs-build-system)
7777 (arguments
7778 `(#:modules ((guix build emacs-build-system)
7779 (guix build utils)
7780 (guix build emacs-utils)
7781 (srfi srfi-26))
7782 #:phases
7783 (modify-phases %standard-phases
7784 (delete 'build) ;‘build-emacsql-sqlite’ compiles ‘*.el’ files.
7785 (add-before 'install 'patch-elisp-shell-shebangs
7786 (lambda _
7787 (substitute* (find-files "." "\\.el")
7788 (("/bin/sh") (which "sh")))
7789 #t))
7790 (add-after 'patch-elisp-shell-shebangs 'setenv-shell
7791 (lambda _
7792 (setenv "SHELL" "sh")))
7793 (add-after 'setenv-shell 'build-emacsql-sqlite
7794 (lambda _
7795 (invoke "make" "binary" "CC=gcc")))
7796 (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite
7797 ;; This build phase installs emacs-emacsql binary.
7798 (lambda* (#:key outputs #:allow-other-keys)
7799 (install-file "sqlite/emacsql-sqlite"
7800 (string-append (assoc-ref outputs "out")
7801 "/bin"))
7802 #t))
7803 (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el
7804 ;; This build phase removes interactive prompts
7805 ;; and makes sure Emacs look for binaries in the right places.
7806 (lambda* (#:key outputs #:allow-other-keys)
7807 (let ((file "emacsql-sqlite.el"))
7808 (chmod file #o644)
7809 (emacs-substitute-sexps file
7810 ;; Avoid interactive prompts.
7811 ("(defvar emacsql-sqlite-user-prompted" 't)
7812 ;; Make sure Emacs looks for ‘GCC’ binary in the right place.
7813 ("(executable-find" (which "gcc"))
7814 ;; Make sure Emacs looks for ‘emacsql-sqlite’ binary
7815 ;; in the right place.
7816 ("(defvar emacsql-sqlite-executable"
7817 (string-append (assoc-ref outputs "out")
7818 "/bin/emacsql-sqlite"))))))
7819 (replace 'install
7820 (lambda* (#:key outputs #:allow-other-keys)
7821 (let* ((out (assoc-ref outputs "out")))
7822 (install-file "sqlite/emacsql-sqlite"
7823 (string-append out "/bin"))
7824 (for-each (cut install-file <>
7825 (string-append out "/share/emacs/site-lisp/guix.d/"
7826 "emacsql" "-" ,version))
7827 (find-files "." "\\.elc*$")))
7828 #t)))))
7829 (inputs
7830 `(("emacs-minimal" ,emacs-minimal)
7831 ("mysql" ,mysql)
7832 ("postgresql" ,postgresql)))
7833 (propagated-inputs
7834 `(("emacs-finalize" ,emacs-finalize)
7835 ("emacs-pg" ,emacs-pg)))
7836 (home-page "https://github.com/skeeto/emacsql")
7837 (synopsis "Emacs high-level SQL database front-end")
7838 (description "Any readable Lisp value can be stored as a value in EmacSQL,
7839including numbers, strings, symbols, lists, vectors, and closures. EmacSQL
7840has no concept of @code{TEXT} values; it's all just Lisp objects. The Lisp
7841object @code{nil} corresponds 1:1 with @code{NULL} in the database.")
7842 (license license:gpl3+)))
93aba854
OP
7843
7844(define-public emacs-closql
7845 (package
7846 (name "emacs-closql")
7847 (version "0.5.1")
7848 (source
7849 (origin
7850 (method url-fetch)
7851 (uri (string-append "https://github.com/emacscollective/closql/archive/"
7852 "v" version ".tar.gz"))
7853 (file-name (string-append name "-" version ".tar.gz"))
7854 (sha256
7855 (base32
7856 "0wa6r0kgbb7f19039p5f3di4dvrvxfgpd8bkam94fca7jvzj536c"))))
7857 (build-system emacs-build-system)
7858 (propagated-inputs
7859 `(("emacs-emacsql" ,emacs-emacsql)))
7860 (home-page "https://github.com/emacscollective/closql")
7861 (synopsis "Store EIEIO objects using EmacSQL")
7862 (description
7863 "This package allows to store uniform EIEIO objects in an EmacSQL
7864database. SQLite is used as backend. This library imposes some restrictions
7865on what kind of objects can be stored; it isn't intended to store arbitrary
7866objects. All objects have to share a common superclass and subclasses cannot
7867add any additional instance slots.")
7868 (license license:gpl3)))
452454e3
OP
7869
7870(define-public emacs-epkg
7871 ;; The release version is to old for the current database scheme.
7872 (let ((commit "432312b9583ed7b88ad9644fd1bf2183765a892e"))
7873 (package
7874 (name "emacs-epkg")
7875 (version (git-version "3.0.0" "1" commit))
7876 (source
7877 (origin
7878 (method git-fetch)
7879 (uri (git-reference
7880 (url "https://github.com/emacscollective/epkg.git")
7881 (commit commit)))
7882 (file-name (git-file-name name version))
7883 (sha256
7884 (base32
7885 "0d882kahn7a0vri7a9r15lvmfx1zn2hsga6jfcc6jv0hqbswlb2k"))))
7886 (build-system emacs-build-system)
7887 (propagated-inputs
7888 `(("emacs-closql" ,emacs-closql)
7889 ("emacs-dash" ,emacs-dash)))
7890 (home-page "https://emacsmirror.net")
7891 (synopsis "Browse the Emacsmirror package database")
7892 (description "This package provides access to a local copy of the
7893Emacsmirror package database. It provides low-level functions for querying
7894the database and a @file{package.el} user interface for browsing the database.
7895Epkg itself is not a package manager.
7896
7897Getting a local copy:
7898
7899@example
7900git clone https://github.com/emacsmirror/epkgs.git ~/.emacs.d/epkgs
7901cd ~/.emacs.d/epkgs
7902git submodule init
7903git config --global url.https://github.com/.insteadOf git@@github.com:
7904git submodule update
7905@end example
7906
7907Some submodule may be missing. In this case Git will prompt for a GitHub user
7908name and password. To skip it press a @key{Return} key.
7909
7910You could get a Epkg package list by invoking @code{epkg-list-packages} in
7911Emacs.")
7912 (license license:gpl3+))))