Subject: [PATCH] gnu: Add python-mrkd.

From: ZmnSCPxj <[email-masked]>
Date: Wed, 01 Dec 2021 05:50:24 +0000

Good morning,

Recent C-lightning releases now require this.

Tested by `./pre-inst-env guix build python-mrkd`, then, used resulting binary on one of the C-lightning manpage sources and checked result is as expected.

Regards,
ZmnSCPxj

>From 0d6e4d3c553aad67cdd95a674a0aa4a3f095e61d Mon Sep 17 00:00:00 2001
From: ZmnSCPxj <[email-masked]>
Date: Wed, 1 Dec 2021 04:55:04 +0000
Subject: [PATCH] gnu: Add python-mrkd.

* gnu/packages/python-xyz.scm (python-mrkd): New variable.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9d202bf65e..501fdc7162 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -111,6 +111,7 @@
 ;;; Copyright © 2021 Felix Gruber <[email-masked]>
 ;;; Copyright © 2021 Sébastien Lerique <[email-masked]>
 ;;; Copyright © 2021 Raphaël Mélotte <[email-masked]>
+;;; Copyright © 2021 ZmnSCPxj <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -28129,3 +28130,23 @@ (define-public python-iwlib
     (description
      "This package provides a Python interface to iw wireless tools.")
     (license license:gpl2)))
+
+(define-public python-mrkd
+  (package
+    (name "python-mrkd")
+    (version "0.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "mrkd" version))
+        (sha256
+          (base32 "1bvaqbna1ihb4y2mv9pmvqcq3r9j6lwbbii99dani8lxx4dqqvs5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-jinja2" ,python-jinja2)
+       ("python-mistune" ,python-mistune)
+       ("python-pygments" ,python-pygments)))
+    (home-page "https://pypi.org/project/mrkd/")
+    (synopsis "Python Markdown implementation")
+    (description "Write man pages using Markdown, and convert them to Roff or HTML")
+    (license license:bsd-3)))
--
2.34.0