diff options
| author | moksh <mysticmoksh@riseup.net> | 2025-08-23 11:00:16 +0530 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2025-11-29 11:44:42 +0100 |
| commit | fe85236941ab3e19ed56a4fc3081b6fbbc267bac (patch) | |
| tree | f2c65a45c9f5969fd23b2667df72c797c05362fc /gnu | |
| parent | 063fc0e2135c09d64aea0381c641ff04e787a3de (diff) | |
gnu: Add emacs-compile-angel.
* gnu/packages/emacs-xyz.scm (emacs-compile-angel): New variable.
Change-Id: Ie87665d1d93b7208654c54f0e317dc3098249b8d
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 49d1f558faf..f420b1d976a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5187,6 +5187,38 @@ Emacs Lisp source files. Together, these modes guarantee that Emacs never loads outdated byte code files.") (license license:gpl3+))) +(define-public emacs-compile-angel + (package + (name "emacs-compile-angel") + (version "1.1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jamescherti/compile-angel.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0c5n6qwjjv3wn2cdmh31zgpwzz3vkdq2jmzyals7h2ag1s7cxq4r")))) + (build-system emacs-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ (setenv "HOME" (getenv "TMPDIR"))))) + #:test-command + #~(list "emacs" "-Q" "-batch" + "-L" "." + "-l" "tests/test-compile-angel.el" + "-f" "ert-run-tests-batch-and-exit"))) + (home-page "https://github.com/jamescherti/compile-angel.el/") + (synopsis "Automatically byte/native-compile all Elisp files") + (description + "This package speeds up Emacs by ensuring that all Elisp libraries are +both byte-compiled and native-compiled.") + (license license:gpl3+))) + (define-public emacs-auto-sudoedit (package (name "emacs-auto-sudoedit") |
