gnu: Add python-ebooklib.

* gnu/packages/ebook.scm (python-ebooklib): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
M 2022-09-15 22:38:00 +02:00 committed by Christopher Baines
parent 0ae5ff59ac
commit 39b21d388a
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -10,6 +10,7 @@
;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 la snesne <lasnesne@lagunposprasihopre.org>
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2021 Mathieu Laparie <mlaparie@disr.it>
;;;
;;; This file is part of GNU Guix.
;;;
@ -678,3 +679,21 @@ (define-public libmobi
@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+)))