From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +KmmB7q9TWMMjgAAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 22:40:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eBDKB7q9TWMzIQAAauVa8A (envelope-from ) for ; Mon, 17 Oct 2022 22:40:26 +0200 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 DC4D72B7BD for ; Mon, 17 Oct 2022 22:40:25 +0200 (CEST) Received: from localhost ([::1]:36032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okWuO-0000UJ-W5 for larch@yhetil.org; Mon, 17 Oct 2022 16:40:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWu2-0000Rj-O2 for guix-patches@gnu.org; Mon, 17 Oct 2022 16:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okWu2-00062n-Fa for guix-patches@gnu.org; Mon, 17 Oct 2022 16:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okWu1-0008AM-Va for guix-patches@gnu.org; Mon, 17 Oct 2022 16:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58588] [PATCH] gnu: Add perl-commonmark. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 20:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58588 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58588@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166603918131342 (code B ref -1); Mon, 17 Oct 2022 20:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 20:39:41 +0000 Received: from localhost ([127.0.0.1]:50214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWth-00089S-Hy for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:39:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:41954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okWtf-00089K-Ab for submit@debbugs.gnu.org; Mon, 17 Oct 2022 16:39:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okWtf-0000Fa-4g for guix-patches@gnu.org; Mon, 17 Oct 2022 16:39:39 -0400 Received: from box.euandre.org ([46.101.160.115]:60053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okWtc-00060Q-Pb for guix-patches@gnu.org; Mon, 17 Oct 2022 16:39:38 -0400 Received: from authenticated-user (box.euandre.org [46.101.160.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.euandre.org (Postfix) with ESMTPSA id 26EC6FC4B2; Mon, 17 Oct 2022 17:38:59 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1666039140; bh=QdO88tYYRqDDcbweKaDOXkjYf4Z4a+xqk0pjQePoq1E=; h=From:To:Cc:Subject:Date:From; b=dvUU8FwXl0/hcrZital4LiovQ66QZfsz6kGs1cpEiGR4vaCjpZz4ajYHVeTEPMr/y Ux31uLHMyNQNKCtLM7JOTyBE2yo3W/VaoAUpxxBfMRNNVo4yStjfz8rzvAWSBN+/c/ PSd14M1IMjOACYp0gQUzbJlm6rUDeIvTkHVATjP74T7oVXPt1qtznxMYcXymp/GPjW vG9dgOste1g49Eh+H/GAP+Fy+tjuXHy31kuxVivJIF8xcFs8zmByCwrc6+FGN4j0N1 yvMXfqrVghyPlzTp8fUlBoV3gGLJYm5euGN8t3UGyOp4CKMwIT6cC1v06onojCi6jW QGAR62lJV++8w== Date: Mon, 17 Oct 2022 17:38:43 -0300 Message-Id: <20221017203843.7160-1-eu@euandre.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=46.101.160.115; envelope-from=eu@euandre.org; helo=box.euandre.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches From: EuAndreh via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666039225; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=v2wJv41ctiCQXMQBWjyIRvvYVHqAABIZ+Q9BWX/FRPw=; b=OD7ATz6HVNw1JVmrPPeWAr+ECpK3aAl+KUO4cefsLdODZFp0Y8B1FHB3eH3RElxIDokRSy hBoA68S4FGM6RZ+SlEZRFrG5j36zJkvlxC/An8Cs6/c4rJ93e0ooHjIBQgE46Bng1aFoUn wR87EMgq1BDxCdjLB0OzOAea2171kjDQ6R8/ABkRmUPBFgBBkDOK9E3qjiUU4G3qgLxavq oS1Bpuci2+ny+xgqVfnwd7fHY/1o99S1XscLaIYPIFeMt8BNDYZSkH/ETHMrnlGWWNuwSI 7yhNdTiBNXb5p3KBQRNpK85FKfw4e1nxDZYHL1XFrj8TpBpTatcnHW9y6tEQug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666039225; a=rsa-sha256; cv=none; b=I3yl0PwO1UNmTAr9ap/3YgYoWKhDnZ9syOjVnAI4+23fnEa9Bg+qWex9p3pUX2qSJ4dYfe UTctoZDHEEBtSw+m3xRKgynQi0yEMJLkoTLj8zQjfvbuyPrdeQuJCpWRVSFHJoawJprNlg 2PentvIp9huCWcyDiLtj4gZQm9Gsrj3TQYj3DNDhDi4VubCkmp94N4nUG3hDWmpCD5jKYq RmwES+TCgtxDReThS1Qvlk1H1jEhAtJxilD1rozJ0PvMQ1iGAL0K3+M3Q9qFA5YvyvunwR bL/drPYT/j6ee99HBNjUicgtuVXO+wZA5So21cQcmRU6pGT02ken1Bq0uX0lmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=dvUU8FwX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=euandre.org header.s=mail header.b=dvUU8FwX; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DC4D72B7BD X-Spam-Score: -2.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: EitPZ9ocSewm * gnu/packages/markup.scm (perl-commonmark): New variable. --- Formatted with './pre-inst-env guix style'. gnu/packages/markup.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 791035deb3..35dd6d257b 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -46,6 +46,7 @@ (define-module (gnu packages markup) #:use-module (gnu packages compression) #:use-module (gnu packages libffi) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -360,6 +361,33 @@ (define-public cmark ;; licensed. See 'COPYING' in the source distribution for more information. (license (list license:bsd-2 license:expat license:cc-by-sa4.0)))) +(define-public perl-commonmark + (package + (name "perl-commonmark") + (version "0.290000") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/N/NW/NWELLNHOF/CommonMark-" + version ".tar.gz")) + (sha256 + (base32 + "1pgaqa4f00i9r5z7l9xiya0q51ysq0nhpvgr0f3rza3cxz1v80d5")))) + (build-system perl-build-system) + (arguments + `(#:make-maker-flags + ;; MakeMaker ignores LIBRARY_PATH. + (list (format #f "LIBS=-L~a/lib -lcmark" + (assoc-ref %build-inputs "cmark"))))) + (inputs (list cmark perl-test-leaktrace perl-devel-checklib + perl-module-build)) + (home-page "https://metacpan.org/release/CommonMark") + (synopsis "Interface to the CommonMark C library") + (description + "This module is an XS wrapper around the official +CommonMark C library libcmark. It closely follows the original API.") + (license license:perl-license))) + (define-public cmark-gfm (package (inherit cmark) -- 2.38.0