guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: emacs-doom-themes: Update package style.


From: guix-commits
Subject: 02/02: gnu: emacs-doom-themes: Update package style.
Date: Mon, 11 Jul 2022 05:20:50 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 77504dddae496bb11cdf240b3ed10ee9964391e5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jul 11 11:19:37 2022 +0200

    gnu: emacs-doom-themes: Update package style.
    
    * gnu/packages/emacs-xyz.scm (emacs-doom-themes)[arguments]: Use
    G-expressions. Remove trailing #T at the end of a phase.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2dab2f40c6..9f79136bb6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28027,24 +28027,23 @@ contrast and few colors.")
     (native-inputs
      (list emacs-ert-runner))
     (arguments
-     `(#:tests? #t
-       #:test-command '("ert-runner")
-       #:modules ((guix build emacs-build-system)
-                  (guix build utils)
-                  (guix build emacs-utils)
-                  (srfi srfi-1))
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'move-themes
-           (lambda _
-             ;; Move the source files to the top level, which is in the
-             ;; EMACSLOADPATH.
-             (for-each (lambda (f)
-                         (rename-file f (basename f)))
-                       (append
-                           (find-files "./themes" ".*\\.el$")
-                           (find-files "./extensions" ".*\\.el$")))
-             #t)))))
+     (list #:tests? #t
+           #:test-command #~(list "ert-runner")
+           #:modules '((guix build emacs-build-system)
+                       (guix build utils)
+                       (guix build emacs-utils)
+                       (srfi srfi-1))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'move-themes
+                 (lambda _
+                   ;; Move the source files to the top level, which is in the
+                   ;; EMACSLOADPATH.
+                   (for-each (lambda (f)
+                               (rename-file f (basename f)))
+                             (append
+                                 (find-files "./themes" ".*\\.el$")
+                                 (find-files "./extensions" ".*\\.el$"))))))))
     (synopsis "Wide collection of color themes for Emacs")
     (description "Emacs-doom-themes contains numerous popular color themes for
 Emacs that integrate with major modes like Org-mode.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]