Subject: [PATCH 01/22] gnu: Add perl-xs-parse-sublike.

From: Bruno Victal <[email-masked]>
Date: Thu, 6 Jul 2023 07:42:32 +0100

* gnu/packages/perl.scm (perl-xs-parse-sublike): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 15d4f3a9bc..bb9dfa2418 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2023 Mădălin Ionel Patrașcu <[email-masked]>
 ;;; Copyright © 2023 Andreas Enge <[email-masked]>
 ;;; Copyright © 2023 Jake Leporte <[email-masked]>
+;;; Copyright © 2023 Bruno Victal <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11740,6 +11741,27 @@ (define-public perl-xs-parse-keyword
 keyword plugins using the @code{PL_keyword_plugin} hook mechanism.")
     (license (package-license perl))))
 
+(define-public perl-xs-parse-sublike
+  (package
+    (name "perl-xs-parse-sublike")
+    (version "0.18")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/P/PE/PEVANS/XS-Parse-Sublike-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "0m2iv6sfkkj6ckx7nprniqrj5qg2qyir8ns8l2rwmqnvxw2pqq16"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-module-build perl-test2-suite))
+    (home-page "https://metacpan.org/release/XS-Parse-Sublike")
+    (synopsis "XS functions to assist in parsing sub-like syntax")
+    (description "This module provides some XS functions to assist in writing
+parsers for @code{sub}-like syntax, primarily for authors of keyword plugins
+using the @code{PL_keyword_plugin} hook mechanism.")
+    (license (package-license perl))))
+
 (define-public perl-yaml
   (package
     (name "perl-yaml")

base-commit: 2426e51688d479042ea115a634c6be2d8b9f3b99
-- 
2.40.1