me
/
guix
Archived
1
0
Fork 0

gnu: emacs-marginalia: Generate info from README.org.

* gnu/packages/emacs-xyz.scm (emacs-marginalia)[native-inputs]: Add texinfo.
[arguments]: Generate info from README.org.
master
Andrew Tropin 2023-02-28 06:33:20 +04:00
parent bc3280190b
commit eed41fbcdd
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 14 additions and 0 deletions

View File

@ -10839,6 +10839,20 @@ expansion and overwriting the marked region with a new snippet completion.")
(sha256
(base32 "0zi3q7dd9dgrhbz6ww270i43kkqs0ddk0vzs89mfvwa5pzw32d2q"))))
(build-system emacs-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'makeinfo
(lambda* (#:key outputs #:allow-other-keys)
(invoke "emacs"
"--batch"
"--eval=(require 'ox-texinfo)"
"--eval=(find-file \"README.org\")"
"--eval=(org-texinfo-export-to-info)")
(install-file "marginalia.info"
(string-append #$output "/share/info")))))))
(native-inputs (list texinfo))
(propagated-inputs
(list emacs-compat))
(home-page "https://github.com/minad/marginalia")