gnu: emacs-marginalia: Update to 2.2.

* gnu/packages/emacs-xyz.scm (emacs-marginalia): Update to 2.2.
[arguments]: Set #:tests? to #f.
<#:phases>: Run makeinfo phase after unpack; remove install-file.

Change-Id: I2248f35ed2840f6fac5a81dd10ed3f6bedf54270
Signed-off-by: jgart <jgart@dismail.de>
This commit is contained in:
Cayetano Santos 2025-08-04 13:53:06 +02:00 committed by jgart
parent b2011d18b7
commit 87c0996274
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -14590,7 +14590,7 @@ expansion and overwriting the marked region with a new snippet completion.")
(define-public emacs-marginalia
(package
(name "emacs-marginalia")
(version "2.0")
(version "2.2")
(source
(origin
(method git-fetch)
@ -14599,21 +14599,20 @@ expansion and overwriting the marked region with a new snippet completion.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "00dzckksfzvwjdy3v1g71nvkxnnpw2bmh8bmhf56qn3nzfj2yr89"))))
(base32 "1grn94v5pidb9wk2vgxx5n3fmhcgx9i14lrwm5clvsvncysy7zhg"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'makeinfo
(add-before 'install 'makeinfo
(lambda _
(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")))))))
"--eval=(org-texinfo-export-to-info)"))))))
(native-inputs (list texinfo))
(propagated-inputs
(list emacs-compat))