unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#52970] [PATCH] gnu: Add python-markdownify.
@ 2022-01-03  0:18 Giacomo Leidi via Guix-patches via
  2022-01-08 22:07 ` bug#52970: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2022-01-03  0:18 UTC (permalink / raw)
  To: 52970; +Cc: Giacomo Leidi

* gnu/packages/markup.scm (python-markdownify): New variable.
---
 gnu/packages/markup.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 @@ (define-module (gnu packages markup)
   #: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 @@ (define-public perl-text-markdown-discount
 @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")

base-commit: 01ec5efff7cf95cae69493bd4ccfdd21a38770ae
-- 
2.34.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#52970: [PATCH] gnu: Add python-markdownify.
  2022-01-03  0:18 [bug#52970] [PATCH] gnu: Add python-markdownify Giacomo Leidi via Guix-patches via
@ 2022-01-08 22:07 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-01-08 22:07 UTC (permalink / raw)
  To: Giacomo Leidi; +Cc: 52970-done

Hi,

Giacomo Leidi <goodoldpaul@autistici.org> skribis:

> * gnu/packages/markup.scm (python-markdownify): New variable.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03  0:18 [bug#52970] [PATCH] gnu: Add python-markdownify Giacomo Leidi via Guix-patches via
2022-01-08 22:07 ` bug#52970: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).