* [bug#30592] [PATCH 0/2] Add emacs-nov.
@ 2018-02-24 10:55 Roel Janssen
2018-02-24 10:58 ` [bug#30592] [PATCH 1/2] gnu: Add emacs-esxml Roel Janssen
2018-02-24 10:59 ` [bug#30592] [PATCH 2/2] gnu: Add emacs-nov Roel Janssen
0 siblings, 2 replies; 6+ messages in thread
From: Roel Janssen @ 2018-02-24 10:55 UTC (permalink / raw)
To: 30592
Dear guix,
I'd like to add emacs-nov, and a dependency for it: emacs-esxml.
Kind regards,
Roel Janssen
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#30592] [PATCH 1/2] gnu: Add emacs-esxml.
2018-02-24 10:55 [bug#30592] [PATCH 0/2] Add emacs-nov Roel Janssen
@ 2018-02-24 10:58 ` Roel Janssen
2018-02-26 17:53 ` Ludovic Courtès
2018-02-24 10:59 ` [bug#30592] [PATCH 2/2] gnu: Add emacs-nov Roel Janssen
1 sibling, 1 reply; 6+ messages in thread
From: Roel Janssen @ 2018-02-24 10:58 UTC (permalink / raw)
To: 30592
* gnu/packages/emacs.scm (emacs-esxml): New variable.
---
gnu/packages/emacs.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 81e6885f6..ce83c26a2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3559,6 +3559,28 @@ The purpose of this library is to wrap all the quirks and hassle of
@code{package.el} into a sane API.")
(license license:gpl3+)))
+(define-public emacs-esxml
+ (package
+ (name "emacs-esxml")
+ (version "0.3.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/tali713/esxml/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "01yk4ibbln3ykrin2124hfdi53fsp9gv7j49qw93s2ls52c9zb2f"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/tali713/esxml")
+ (synopsis "Elisp library for working with XML, ESXML and SXML")
+ (description
+ "This library provides two formats for XML code generation. The primary
+form is esxml. This is the form that is returned by such functions as
+@code{libxml-parse-xml-region} and it is used internally by emacs in many
+xml-related libraries.")
+ (license license:gpl3+)))
+
(define-public emacs-queue
(package
(name "emacs-queue")
--
2.16.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#30592] [PATCH 2/2] gnu: Add emacs-nov.
2018-02-24 10:55 [bug#30592] [PATCH 0/2] Add emacs-nov Roel Janssen
2018-02-24 10:58 ` [bug#30592] [PATCH 1/2] gnu: Add emacs-esxml Roel Janssen
@ 2018-02-24 10:59 ` Roel Janssen
2018-02-26 17:53 ` Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: Roel Janssen @ 2018-02-24 10:59 UTC (permalink / raw)
To: 30592
* 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 (<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\n")
+ (license license:gpl3+)))
+
(define-public emacs-queue
(package
(name "emacs-queue")
--
2.16.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-02-26 21:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 10:55 [bug#30592] [PATCH 0/2] Add emacs-nov Roel Janssen
2018-02-24 10:58 ` [bug#30592] [PATCH 1/2] gnu: Add emacs-esxml Roel Janssen
2018-02-26 17:53 ` Ludovic Courtès
2018-02-24 10:59 ` [bug#30592] [PATCH 2/2] gnu: Add emacs-nov Roel Janssen
2018-02-26 17:53 ` Ludovic Courtès
2018-02-26 21:30 ` bug#30592: " Roel Janssen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).