gnu: emacs-nov-el: Update to 0.4.0 and use gexps.

* gnu/packages/emacs-xyz.scm (emacs-nov-el): Update to 0.4.0.
[arguments]: Use gexps.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Michael Rohleder 2022-10-01 08:13:41 +02:00 committed by Nicolas Goaziou
parent df5a021f66
commit 7e9534150b
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -18558,7 +18558,7 @@ (define-public emacs-esxml
(define-public emacs-nov-el
(package
(name "emacs-nov-el")
(version "0.3.4")
(version "0.4.0")
(source
(origin
(method git-fetch)
@ -18568,18 +18568,18 @@ (define-public emacs-nov-el
(file-name (git-file-name name version))
(sha256
(base32
"0va9xjrq30cv5kb59a4rq5mcm83ggnv774r8spmskff3hj8012wf"))))
"10507fdfx02wb3j7g34w4ii8rgnjbmriq63ir6x1agf38s3i9p52"))))
(build-system emacs-build-system)
(arguments
`(#:emacs ,emacs ;need libxml
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'embed-path-to-unzip
(lambda _
(substitute* "nov.el"
(("\\(executable-find \"unzip\"\\)")
(string-append "\"" (which "unzip") "\"")))
#t)))))
(list
#:emacs emacs ;need libxml
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'embed-path-to-unzip
(lambda _
(substitute* "nov.el"
(("\\(executable-find \"unzip\"\\)")
(string-append "\"" (which "unzip") "\""))))))))
(propagated-inputs
(list emacs-dash emacs-esxml))
(inputs