aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Tildesley <mail@brendan.scot>2021-02-27 14:50:51 +1100
committerLeo Famulari <leo@famulari.name>2021-04-09 16:09:26 -0400
commit9042a304165b3b045ffe8e5f4b7e0bd4f311457d (patch)
tree0b27b081ad9926a89caad4a3b3883a2301925c2e
parent506eb97de7041f6bcb6e841201c01e88bedfc9d9 (diff)
downloadguix-9042a304165b3b045ffe8e5f4b7e0bd4f311457d.tar.gz
guix-9042a304165b3b045ffe8e5f4b7e0bd4f311457d.zip
gnu: Add python-pychm.
* gnu/packages/ebook.scm (python-pychm): New variable.
-rw-r--r--gnu/packages/ebook.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index dfc3d9f2e6..5853ad0652 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -88,6 +88,26 @@
(description "CHMLIB is a library for dealing with ITSS/CHM format files.")
(license license:lgpl2.1+)))
+(define-public python-pychm
+ (package
+ (name "python-pychm")
+ (version "0.8.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pychm" version))
+ (sha256
+ (base32
+ "0wpn9ijlsmrpyiwg3drmgz4dms1i1i347adgqw37bkrh3vn6yq16"))))
+ (build-system python-build-system)
+ (inputs
+ `(("chmlib" ,chmlib)))
+ (home-page "https://github.com/dottedmag/pychm")
+ (synopsis "Handle CHM files")
+ (description "This package provides a Python module for interacting
+with Microsoft Compiled HTML (CHM) files")
+ (license license:gpl2+)))
+
(define-public calibre
(package
(name "calibre")