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
(base32 "1c6snnpc9rp6zhhdz411wyh2wn56yq2cdmxxqsp1ibvac8cbb1pq"))))
(build-system emacs-build-system)
(arguments
(list
#:include #~(cons* "\\.txt$" "\\.png$" %default-include)
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-dashboard-widgets
;; This phase fixes compilation error.
(lambda _
(emacs-substitute-variables "dashboard-widgets.el"
("dashboard-init-info"
'(format "Loaded in %s" (emacs-init-time)))))))))
(propagated-inputs
(list emacs-page-break-lines))
(arguments
'(#:include '("\\.el$" "\\.txt$" "\\.png$")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-dashboard-widgets
;; This phase fixes compilation error.
(lambda _
(chmod "dashboard-widgets.el" #o666)
(emacs-substitute-variables "dashboard-widgets.el"
("dashboard-init-info"
'(format "Loaded in %s" (emacs-init-time))))
#t)))))
(home-page "https://github.com/rakanalh/emacs-dashboard")
(synopsis "Startup screen extracted from Spacemacs")
(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+))))
(define-public emacs-slime-company