mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: emacs-use-package: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-use-package)[arguments]: Use G-expressions. <#:phases>: Remove trailing #T. Remove unnecessary call to MKDIR-P.
This commit is contained in:
parent
5a375fe48a
commit
22960a79a6
1 changed files with 15 additions and 18 deletions
|
@ -15487,28 +15487,25 @@ (define-public emacs-use-package
|
|||
(base32
|
||||
"1zpf9xv65jg813k90x8g9k4lja896nqfh48pjinicmz1rn0rf51a"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #t
|
||||
#:test-command #~(list "emacs" "--batch"
|
||||
"-l" "use-package-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'install 'install-manual
|
||||
(lambda _
|
||||
(let ((info-dir (string-append #$output "/share/info")))
|
||||
(install-file "use-package.info" info-dir))))
|
||||
(add-before 'install-manual 'build-manual
|
||||
(lambda _
|
||||
(invoke "makeinfo" "use-package.texi"))))))
|
||||
(native-inputs
|
||||
(list texinfo))
|
||||
(propagated-inputs
|
||||
(list emacs-diminish))
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-command '("emacs" "--batch"
|
||||
"-l" "use-package-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'install 'install-manual
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(info-dir (string-append out "/share/info")))
|
||||
(mkdir-p info-dir)
|
||||
(install-file "use-package.info" info-dir)
|
||||
#t)))
|
||||
(add-before 'install-manual 'build-manual
|
||||
(lambda _
|
||||
(invoke "makeinfo" "use-package.texi")
|
||||
#t)))))
|
||||
(home-page "https://github.com/jwiegley/use-package")
|
||||
(synopsis "Declaration for simplifying your .emacs")
|
||||
(description "The use-package macro allows you to isolate package
|
||||
|
|
Loading…
Reference in a new issue