From 0a9d6536e4ce413d656d4c925abeeb80491a23a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens@zete.tk>
Date: Thu, 18 Jul 2019 19:52:11 +1200
Subject: [PATCH 3/6] gnu: Add emacs-ox-epub.
* gnu/packages/emacs-xyz.scm (emacs-ox-epub): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
@@ -16642,3 +16642,26 @@ message.
@item Act on a forwarded message as if it were a message being replied to.
@item Start a new message with a given Identity pre-selected.")
(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+)))
--
2.22.0