From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WGlWLjSBQmAjJgAA0tVLHw (envelope-from ) for ; Fri, 05 Mar 2021 19:06:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aGohKjSBQmAOLwAAbx9fmQ (envelope-from ) for ; Fri, 05 Mar 2021 19:06:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D537B8D3 for ; Fri, 5 Mar 2021 20:06:28 +0100 (CET) Received: from localhost ([::1]:52836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIFmN-0002O5-5g for larch@yhetil.org; Fri, 05 Mar 2021 14:06:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIFlz-0002C3-3q for guix-patches@gnu.org; Fri, 05 Mar 2021 14:06:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lIFly-0006XY-DV for guix-patches@gnu.org; Fri, 05 Mar 2021 14:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lIFly-0001W5-73 for guix-patches@gnu.org; Fri, 05 Mar 2021 14:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46449] [PATCH] gnu: Add python-mistletoe. References: <20210211213654.117065-1-noisytoot@disroot.org> In-Reply-To: <20210211213654.117065-1-noisytoot@disroot.org> Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Mar 2021 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46449@debbugs.gnu.org Cc: Ron Nazarov Received: via spool by 46449-submit@debbugs.gnu.org id=B46449.16149711475771 (code B ref 46449); Fri, 05 Mar 2021 19:06:02 +0000 Received: (at 46449) by debbugs.gnu.org; 5 Mar 2021 19:05:47 +0000 Received: from localhost ([127.0.0.1]:35441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIFli-0001Uw-6T for submit@debbugs.gnu.org; Fri, 05 Mar 2021 14:05:46 -0500 Received: from knopi.disroot.org ([178.21.23.139]:46538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIFgs-0001Df-U7 for 46449@debbugs.gnu.org; Fri, 05 Mar 2021 14:00:48 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 61E5A50E98; Fri, 5 Mar 2021 20:00:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAiLcW2rKGtV; Fri, 5 Mar 2021 20:00:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1614970842; bh=I2M2I3gCUqAZTsQlarcScwfS40caMsYSUDVoKG1LC8k=; h=From:To:Cc:Subject:Date; b=GK9f5TtNtZQlsI/eKQ7VsM0+oTn0na5g3T85Vp1jUOz9x5/ATzOW40aMa3d/6Sckw jILebDIXorzgdd8e9AbXr+NYWnr5I0yWcYt5n6NyD9YQUDREigPgPGOqn4fhgkg4kp qqfwtHfW1Ya9QyZzDauDmsxtGgwLGgqBxJGc66um1g5zX01u00N11DTZgLdGzVf6oq O9n4c3GnvecfHL/2izDGP/dl7Jt5tidX+PCpomWcHJDiGl2nxqh40Qk2P59NWDd9z8 cif7BuO4NewLSD6RGVlPmGJR/CKHXTgbEXNX2ZFak9cMQpBqR6c/FRAVAtji8/O2ZF i28mTSWiDktfg== Date: Fri, 5 Mar 2021 19:00:12 +0000 Message-Id: <20210305190012.139489-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 05 Mar 2021 14:05:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=GK9f5TtN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6D537B8D3 X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: Vu7wDzmyNfom * 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 ;;; Copyright © 2020 EuAndreh +;;; Copyright © 2021 Noisytoot ;;; ;;; 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