all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ron Nazarov via Guix-patches via <guix-patches@gnu.org>
To: 46449@debbugs.gnu.org
Cc: Ron Nazarov <noisytoot@disroot.org>
Subject: [bug#46449] [PATCH] gnu: Add python-mistletoe.
Date: Thu, 11 Feb 2021 21:36:54 +0000	[thread overview]
Message-ID: <20210211213654.117065-1-noisytoot@disroot.org> (raw)

* gnu/packages/python-xyz.scm (python-mistletoe): New variable.
---
 gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++-------
 1 file changed, 32 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 783812eb03..69a2f29fcb 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.
 ;;;
@@ -23745,18 +23746,42 @@ Application Programming Interface based on the Open Inventor 2.1 API.")
     (name "python-crayons")
     (version "0.4.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "crayons" version))
-        (sha256
-         (base32
-          "0gw106k4b6y8mw7pp52awxyplj2bwvwk315k4sywzwh0g1abfcxx"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "crayons" version))
+       (sha256
+        (base32
+         "0gw106k4b6y8mw7pp52awxyplj2bwvwk315k4sywzwh0g1abfcxx"))))
     (build-system python-build-system)
     (propagated-inputs
-      `(("python-colorama" ,python-colorama)))
+     `(("python-colorama" ,python-colorama)))
     (home-page "https://github.com/MasterOdin/crayons")
     (synopsis "TextUI colors for Python")
     (description "This package gives you colored strings for the terminal.
 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
+     "A CommonMark-compliant Markdown parser
+that supports easy definitions of custom tokens.
+Parsing Markdown into an abstract syntax tree also allows mistletoe
+to swap out renderers for different output formats,
+without touching any of the core components.")
+    (license license:expat)))
-- 
2.30.0





             reply	other threads:[~2021-02-11 22:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11 21:36 Ron Nazarov via Guix-patches via [this message]
2021-03-05 19:00 ` [bug#46449] [PATCH] gnu: Add python-mistletoe Ron Nazarov via Guix-patches via
2021-03-07 21:21 ` Ron Nazarov via Guix-patches via
2021-03-08 19:01   ` Tobias Geerinckx-Rice via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210211213654.117065-1-noisytoot@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=46449@debbugs.gnu.org \
    --cc=noisytoot@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.