diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-03-23 13:50:06 +0100 |
---|---|---|
committer | Ian Eure <ian@retrospec.tv> | 2025-03-29 09:07:08 -0700 |
commit | 3f3541706eedd620a69ffee2fda9416cc2b2070a (patch) | |
tree | b9d90c91332e803d7b192151cfb6a644b2add95e | |
parent | db0f08afa122ed9b9320142afbf49d43c10e5081 (diff) | |
download | guix-3f3541706eedd620a69ffee2fda9416cc2b2070a.tar.gz guix-3f3541706eedd620a69ffee2fda9416cc2b2070a.zip |
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 <ian@retrospec.tv>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 39 |
1 files 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 |