mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: emacs-use-package: Install texinfo manual.
* gnu/packages/emacs-xyz.scm (emacs-use-package). [native-inputs]: Add texinfo. [arguments]: Add phase for installation of the texinfo manual. Signed-off-by: Brett Gilio <brettg@gnu.org>
This commit is contained in:
parent
982a6e79a2
commit
30aa5dd7e7
1 changed files with 16 additions and 1 deletions
|
@ -10464,13 +10464,28 @@ (define-public emacs-use-package
|
|||
(base32
|
||||
"1b7mjjh0d6fmkkd9vyj64vca27xqhga0nvyrrcqxpqjn62zq046y"))))
|
||||
(build-system emacs-build-system)
|
||||
(native-inputs
|
||||
`(("texinfo" ,texinfo)))
|
||||
(propagated-inputs
|
||||
`(("emacs-diminish" ,emacs-diminish)))
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-command '("emacs" "--batch"
|
||||
"-l" "use-package-tests.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")))
|
||||
"-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