From patchwork Mon Oct 17 21:26:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: EuAndreh X-Patchwork-Id: 43488 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3BCC327BBEA; Mon, 17 Oct 2022 22:27:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E972127BBE9 for ; Mon, 17 Oct 2022 22:27:17 +0100 (BST) Received: from localhost ([::1]:55226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okXdl-0005yW-4S for patchwork@mira.cbaines.net; Mon, 17 Oct 2022 17:27:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXdW-0005uo-Ue for guix-patches@gnu.org; Mon, 17 Oct 2022 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXdW-0004rd-0x for guix-patches@gnu.org; Mon, 17 Oct 2022 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okXdV-00013I-Rr for guix-patches@gnu.org; Mon, 17 Oct 2022 17:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58593] [PATCH] gnu: Add perl-regexp-grammars. Resent-From: EuAndreh Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Oct 2022 21:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58593@debbugs.gnu.org Cc: EuAndreh X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16660420044020 (code B ref -1); Mon, 17 Oct 2022 21:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Oct 2022 21:26:44 +0000 Received: from localhost ([127.0.0.1]:50282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXdD-00012l-PR for submit@debbugs.gnu.org; Mon, 17 Oct 2022 17:26:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:37730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okXdC-00012e-5M for submit@debbugs.gnu.org; Mon, 17 Oct 2022 17:26:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXdB-0005Yt-Kr for guix-patches@gnu.org; Mon, 17 Oct 2022 17:26:41 -0400 Received: from box.euandre.org ([46.101.160.115]:45567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXd8-0004oc-Vz for guix-patches@gnu.org; Mon, 17 Oct 2022 17:26:41 -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 74042FC4B2; Mon, 17 Oct 2022 18:26:06 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=euandre.org; s=mail; t=1666041967; bh=dSOoMsNLuMM45TABeC05/q32WrKeVwYsxPmaSfugTQo=; h=From:To:Cc:Subject:Date:From; b=hRukDFgFRSINDmiihI2G2LuQDYYxLljbLkFof9fZ76TUf4O9K85G2qIUaIVmsq7j2 CsD1eSjJ4MVD4Z81tEDURhP1rpigGoVR1fxdC9M1thXHi88EF1pf0xw9HZY0udJJ5X GYTWRpUjL6Nz8PMvlUpybq9aZCXBZGlSoGDA6MNNS5JlHZ6C3qfbakmdTN7MamYhmd s0AaC/vIURmvZUwqOYbKdthLUhtaTz+cpPpY27DISGQd/q1WMvsp1WCyYgc/J0+Yg5 cUSLCwm53Q8/lF/3iI8gdE7qsmp1ymDBiBBnzUGp0Df6OGX5HGOyZrn0t+kDcqHqOs fv2lo4ZdcQFgA== Date: Mon, 17 Oct 2022 18:26:01 -0300 Message-Id: <20221017212601.14227-1-eu@euandre.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: EuAndreh X-ACL-Warn: , EuAndreh via Guix-patches X-Patchwork-Original-From: EuAndreh via Guix-patches via From: EuAndreh X-getmail-retrieved-from-mailbox: Patches * gnu/packages/perl.scm (perl-regexp-grammars): New variable. --- Formatted with './pre-inst-env guix style'. gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 022ca73429..e111fcd943 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8843,6 +8843,30 @@ (define-public perl-regexp-common ;; Quad-licensed: Perl Artistic, Perl Artistic 2.0, X11, and BSD. (license (list (package-license perl) license:x11 license:bsd-3)))) +(define-public perl-regexp-grammars + (package + (name "perl-regexp-grammars") + (version "1.058") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DC/DCONWAY/Regexp-Grammars-" + version ".tar.gz")) + (sha256 + (base32 + "14hwskrmy6ma0k9nr1amrf7wpb1f6jsx7x29kgizlx0n4n7db27a")))) + (build-system perl-build-system) + (native-inputs (list perl-module-build perl-test-pod perl-moose)) + (home-page "https://metacpan.org/release/Regexp-Grammars") + (synopsis "Complete recursive descent parser on Perl's regex engine") + (description + "The @code{Regexp::Grammars} module adds a small number of new +regex constructs that can be used within Perl 5.10 patterns to implement +complete recursive-descent parsing. It allows you to go beyond matching +complex, nested and recursive structures, and allows you to parse and extract +hierarchical data from it.") + (license license:perl-license))) + (define-public perl-regexp-util (package (name "perl-regexp-util")