gnu: emacs-dashboard: Improve package style.

* gnu/packages/emacs-xyz.scm (emacs-dashboard)[arguments]: Use G-expressions.
<#:include>: Use %default-include.
<#:phases>: Remove trailing #T, and unnecessary call to CHMOD.
[description]: Properly capitalize it.
This commit is contained in:
Nicolas Goaziou 2022-12-22 23:21:49 +01:00
parent fc29138074
commit 82ab75b6a2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23192,24 +23192,23 @@ Emacs minor mode to escape sequences in code.")
(sha256 (sha256
(base32 "1c6snnpc9rp6zhhdz411wyh2wn56yq2cdmxxqsp1ibvac8cbb1pq")))) (base32 "1c6snnpc9rp6zhhdz411wyh2wn56yq2cdmxxqsp1ibvac8cbb1pq"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(propagated-inputs
(list emacs-page-break-lines))
(arguments (arguments
'(#:include '("\\.el$" "\\.txt$" "\\.png$") (list
#:include #~(cons* "\\.txt$" "\\.png$" %default-include)
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-dashboard-widgets (add-after 'unpack 'patch-dashboard-widgets
;; This phase fixes compilation error. ;; This phase fixes compilation error.
(lambda _ (lambda _
(chmod "dashboard-widgets.el" #o666)
(emacs-substitute-variables "dashboard-widgets.el" (emacs-substitute-variables "dashboard-widgets.el"
("dashboard-init-info" ("dashboard-init-info"
'(format "Loaded in %s" (emacs-init-time)))) '(format "Loaded in %s" (emacs-init-time)))))))))
#t))))) (propagated-inputs
(list emacs-page-break-lines))
(home-page "https://github.com/rakanalh/emacs-dashboard") (home-page "https://github.com/rakanalh/emacs-dashboard")
(synopsis "Startup screen extracted from Spacemacs") (synopsis "Startup screen extracted from Spacemacs")
(description "This package provides an extensible Emacs dashboard, with (description "This package provides an extensible Emacs dashboard, with
sections for bookmarks, projectil projects, org-agenda and more.") sections for bookmarks, Projectile projects, Org Agenda and more.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-slime-company (define-public emacs-slime-company