diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-02-12 22:08:03 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2018-09-12 22:16:23 -0400 |
commit | aaf10fa7d8e74a81a891fcc02f1719ab4968c9a3 (patch) | |
tree | e82d000ac9a5bdf5468780c7099ff91321a5eb84 /gnu | |
parent | 8795ce86731157577278d1510a79dec64e36d3ca (diff) | |
download | patches-aaf10fa7d8e74a81a891fcc02f1719ab4968c9a3.tar patches-aaf10fa7d8e74a81a891fcc02f1719ab4968c9a3.tar.gz |
gnu: Add emacs-el-x.
* gnu/packages/emacs.scm (emacs-el-x): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 9898767085..65056d3445 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4467,6 +4467,39 @@ If you want to mark a folder manually as a project just create an empty and RSS, with a user interface inspired by notmuch.") (license license:gpl3+))) +(define-public emacs-el-x + (package + (name "emacs-el-x") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sigma/el-x.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1i6j44ssxm1xdg0mf91nh1lnprwsaxsx8vsrf720nan7mfr283h5")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Move the source files to the top level, which is included in + ;; the EMACSLOADPATH. + (add-after 'unpack 'move-source-files + (lambda _ + (let ((el-files (find-files "./lisp" ".*\\.el$"))) + (for-each (lambda (f) + (rename-file f (basename f))) + el-files)) + #t))))) + (home-page "https://github.com/sigma/el-x") + (synopsis "Emacs Lisp extensions") + (description "command@{emacs-el-x} defines the @code{dflet} macro to +provide the historic behavior of @code{flet}, as well as +@code{declare-function} stub for older Emacs.") + (license license:gpl2+))) + (define-public emacs-rainbow-delimiters (package (name "emacs-rainbow-delimiters") |