From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epXYn-0008Oa-1C for guix-patches@gnu.org; Sat, 24 Feb 2018 06:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epXYh-0002Mg-6m for guix-patches@gnu.org; Sat, 24 Feb 2018 06:00:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50321) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epXYh-0002MS-3r for guix-patches@gnu.org; Sat, 24 Feb 2018 06:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epXYg-0003C3-On for guix-patches@gnu.org; Sat, 24 Feb 2018 06:00:02 -0500 Subject: [bug#30592] [PATCH 2/2] gnu: Add emacs-nov. Resent-Message-ID: References: <87d10umzca.fsf@gnu.org> From: Roel Janssen In-reply-to: <87d10umzca.fsf@gnu.org> Date: Sat, 24 Feb 2018 11:59:28 +0100 Message-ID: <878tbimz5b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30592@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-nov): New variable. --- gnu/packages/emacs.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index ce83c26a2..e78b59a39 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3581,6 +3581,41 @@ form is esxml. This is the form that is returned by such functions as xml-related libraries.") (license license:gpl3+))) +(define-public emacs-nov + (package + (name "emacs-nov") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/wasamasa/nov.el/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0pc07cr2qfa66pxyxhvgrxiwssykisj25yjxvx3qr4v7bp5qmms7")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-esxml" ,emacs-esxml))) + (home-page "https://github.com/wasamasa/nov.el") + (synopsis "Major mode for reading EPUB files in Emacs") + (description + "This package provides a major mode for reading EPUB documents. +Features: +@itemize +@item Basic navigation (jump to table of contents (TOC), previous/next chapter) +@item Remembering and restoring the last read position +@item Jump to next chapter when scrolling beyond end +@item Renders EPUB2 (.ncx) and EPUB3 (