mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
fc29138074
commit
82ab75b6a2
1 changed files with 12 additions and 13 deletions
|
@ -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)
|
||||||
|
(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
|
(propagated-inputs
|
||||||
(list emacs-page-break-lines))
|
(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")
|
(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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue