* [bug#52216] [PATCH] gnu: Add python-mrkd.
@ 2021-12-01 5:50 ZmnSCPxj via Guix-patches via
2021-12-01 15:42 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: ZmnSCPxj via Guix-patches via @ 2021-12-01 5:50 UTC (permalink / raw)
To: 52216
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 <ZmnSCPxj@protonmail.com>
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 <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
+;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com>
;;;
;;; 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#52216] [PATCH] gnu: Add python-mrkd.
2021-12-01 5:50 [bug#52216] [PATCH] gnu: Add python-mrkd ZmnSCPxj via Guix-patches via
@ 2021-12-01 15:42 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-12-01 15:42 UTC (permalink / raw)
To: 52216; +Cc: ZmnSCPxj, 52216-done
Hello,
ZmnSCPxj via Guix-patches via <guix-patches@gnu.org> writes:
> Subject: [PATCH] gnu: Add python-mrkd.
>
> * gnu/packages/python-xyz.scm (python-mrkd): New variable.
Thank you. I applied your patch with two changes:
- I moved the package definition out of the end of the file, as this
location is likely to introduce merge conflicts;
- I turned the description into a full sentence.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-01 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-01 5:50 [bug#52216] [PATCH] gnu: Add python-mrkd ZmnSCPxj via Guix-patches via
2021-12-01 15:42 ` Nicolas Goaziou
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).