This is an automated email from the git hooks/post-receive script.

ieure pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3f3541706e gnu: emacs-nov-el: Update to 0.5.0.
3f3541706e is described below

commit 3f3541706eedd620a69ffee2fda9416cc2b2070a
Author: Cayetano Santos <csant...@inventati.org>
AuthorDate: Sun Mar 23 13:50:06 2025 +0100

    gnu: emacs-nov-el: Update to 0.5.0.
    
    * gnu/packages/emacs-xyz.scm (emacs-nov-el): Update to 0.5.0.
    
    Change-Id: I1a0d9638901be694d4da65615af239f4467a3fbe
    Signed-off-by: Ian Eure <i...@retrospec.tv>
---
 gnu/packages/emacs-xyz.scm | 39 ++++++++++-----------------------------
 1 file changed, 10 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 15e21fbb34..3323b594c0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24721,7 +24721,7 @@ the format.")
 (define-public emacs-nov-el
   (package
     (name "emacs-nov-el")
-    (version "0.4.0")
+    (version "0.5.0")
     (source
      (origin
        (method git-fetch)
@@ -24730,42 +24730,23 @@ the format.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "10507fdfx02wb3j7g34w4ii8rgnjbmriq63ir6x1agf38s3i9p52"))))
+        (base32 "1s1ar3c9819mzalybp0pi6pzzwwnihal7pjyin2804h1gbappli8"))))
     (build-system emacs-build-system)
     (arguments
      (list
-      #:emacs emacs                    ;need libxml
+      #:tests? #f ; no actual tests
       #: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
-     (list unzip))
+            (lambda* (#:key inputs #:allow-other-keys)
+              (emacs-substitute-variables "nov.el"
+                ("nov-unzip-program" (search-input-file inputs 
"/bin/unzip"))))))))
+    (propagated-inputs (list emacs-esxml))
+    (inputs (list unzip))
     (home-page "https://depp.brause.cc/nov.el/";)
     (synopsis "Major mode for reading EPUBs in Emacs")
-    (description "@code{nov.el} provides a major mode for reading EPUB
-documents.
-
-Features:
-
-@itemize
-@item Basic navigation (jump to TOC, previous/next chapter)
-@item Remembering and restoring the last read position
-@item Jump to next chapter when scrolling beyond end
-@item Renders EPUB2 (@code{.ncx}) and EPUB3 (@code{<nav>}) TOCs
-@item Hyperlinks to internal and external targets
-@item Supports textual and image documents
-@item View source of document files
-@item Metadata display
-@item Image rescaling
-@end itemize
-")
+    (description
+     "@code{nov.el} provides a major mode for reading EPUB documents.")
     (license license:gpl3+)))
 
 (define-public epipe

Reply via email to