[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#46449] [PATCH] gnu: Add python-mistletoe.
From: |
Ron Nazarov |
Subject: |
[bug#46449] [PATCH] gnu: Add python-mistletoe. |
Date: |
Fri, 5 Mar 2021 19:00:12 +0000 |
* gnu/packages/python-xyz.scm (python-mistletoe): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 783812eb03..91d4e343f7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -96,6 +96,7 @@
;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2020 EuAndreh <eu@euandre.org>
+;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23760,3 +23761,24 @@ Application Programming Interface based on the Open
Inventor 2.1 API.")
Crayons automatically wraps a given string in the foreground color and
restores the original state after the string is printed.")
(license license:expat)))
+
+(define-public python-mistletoe
+ (package
+ (name "python-mistletoe")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mistletoe" version))
+ (sha256
+ (base32 "18z6hqfnfjqnrcgfgl5pkj9ggf9yx0yyy94azcn1qf7hqn6g3l14"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/miyuchina/mistletoe")
+ (synopsis "Fast, extensible Markdown parser in pure Python")
+ (description
+ "The @code{mistletoe} Markdown parser is a CommonMark-compliant Markdown
parser
+that supports definitions of custom tokens.
+Parsing Markdown into an abstract syntax tree also allows @code{mistletoe}
+to swap out renderers for different output formats,
+without touching any of the core components.")
+ (license license:expat)))
--
2.30.1
- [bug#46449] [PATCH] gnu: Add python-mistletoe.,
Ron Nazarov <=