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