aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2022-01-03 01:18:35 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-08 23:27:42 +0100
commit98a7d68eb4a03f94fb2478d1cdf4b477e91d3ed9 (patch)
treebcde10f25b96ceb999eaf016d8805023a4c873c1 /gnu
parentc612b619cc310a013f2a69c36fcaa0aedc38c1df (diff)
downloadguix-98a7d68eb4a03f94fb2478d1cdf4b477e91d3ed9.tar
guix-98a7d68eb4a03f94fb2478d1cdf4b477e91d3ed9.tar.gz
gnu: Add python-markdownify.
* gnu/packages/markup.scm (python-markdownify): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/markup.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index cee3207ee5..5f2f525cd2 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -37,11 +37,13 @@
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages base)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages web))
(define-public hoedown
@@ -237,6 +239,29 @@ implementation.
@end example")
(license license:perl-license)))
+(define-public python-markdownify
+ (package
+ (name "python-markdownify")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "markdownify" version))
+ (sha256
+ (base32
+ "0msvrsgq9jigbgg7r7iq7ql5bgslmbxd8sq0nmpbxrjwqypgs7w2"))))
+ (build-system python-build-system)
+ (native-inputs
+ (list python-pytest))
+ (propagated-inputs
+ (list python-flake8 python-beautifulsoup4 python-six))
+ (home-page
+ "https://github.com/matthewwithanm/python-markdownify")
+ (synopsis "Converts HTML to Markdown")
+ (description "This package provides @code{markdownify} a Python library to
+convert HTML to Markdown.")
+ (license license:expat)))
+
(define-public cmark
(package
(name "cmark")