cbaines pushed a commit to branch master
in repository guix.

commit 39b21d388aaf8e1dfa5e9763fe63d5d14aa12cd7
Author: M <[email protected]>
AuthorDate: Thu Sep 15 22:38:00 2022 +0200

    gnu: Add python-ebooklib.
    
    * gnu/packages/ebook.scm (python-ebooklib): New variable.
    
    Signed-off-by: Christopher Baines <[email protected]>
---
 gnu/packages/ebook.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index c3a27cb113..8b0d669587 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2020 Zheng Junjie <[email protected]>
 ;;; Copyright © 2021 la snesne <[email protected]>
 ;;; Copyright © 2021 Petr Hodina <[email protected]>
+;;; Copyright © 2021 Mathieu Laparie <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -678,3 +679,21 @@ format documents, with the following features:
 @item handling encrypted documents
 @end itemize\n")
     (license license:lgpl3+)))
+
+(define-public python-ebooklib
+  (package
+    (name "python-ebooklib")
+    (version "0.17.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "EbookLib" version))
+              (sha256
+               (base32
+                "1w972g0kmh9cdxf3kjr7v4k99wvv4lxv3rxkip39c08550nf48zy"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-lxml python-six))
+    (home-page "https://github.com/aerkalov/ebooklib";)
+    (synopsis "Ebook library which can handle EPUB2/EPUB3 and Kindle format")
+    (description
+     "Ebook library which can handle EPUB2/EPUB3 and Kindle format.")
+    (license license:agpl3+)))

Reply via email to