civodul pushed a commit to branch master
in repository guix.
commit 9f0ae848e274248e235c200a0981aed663cb16bc
Author: Jens Mølgaard <[email protected]>
Date: Thu Jul 18 19:52:11 2019 +1200
gnu: Add emacs-ox-epub.
* gnu/packages/emacs-xyz.scm (emacs-ox-epub): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 10b630e..df2c902 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16805,3 +16805,26 @@ message.
@item Start a new message with a given Identity pre-selected.
@end itemize")
(license license:gpl2+)))
+
+(define-public emacs-ox-epub
+ (package
+ (name "emacs-ox-epub")
+ (version "0.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ofosos/ox-epub.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "057sqmvm8hwkhcg3yd4i8zz2xlqsqrpyiklyiw750s3i5mxdn0k7"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/ofosos/ox-epub")
+ (synopsis "Export org mode projects to EPUB")
+ (description "@code{ox-epub} extends the (X)HTML exporter to generate
+@code{.epub} files directly from OrgMode. This will export EPUB version 2,
+which should give broad compatibility. It should also be relatiely easy to
+convert the resulting @code{.epub} to a @code{.mobi} file. Needs a working
+zip utility (default is @code{zip}).")
+ (license license:gpl3+)))