Subject: bug#39537: closed (Re: [bug#39537] [PATCH v2] Add perl Config::Grammar)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 09 Feb 2020 23:13:02 +0000

Your bug report

#39537: [PATCH] Add perl Config::Grammar

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39537: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39537
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39537] [PATCH v2] Add perl Config::Grammar
From: Nicolas Goaziou <[email-masked]>
To: Vincent Legoll <[email-masked]>
Cc: [email-masked]
Date: Mon, 10 Feb 2020 00:12:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Vincent Legoll <[email-masked]> writes:

> An update, forgot the (C)
>
> -- 
> Vincent Legoll
>
> From 73dde6125142ddb6d4cae180f5d150b76a9dfd7e Mon Sep 17 00:00:00 2001
> From: Vincent Legoll <[email-masked]>
> Date: Sun, 9 Feb 2020 23:01:58 +0100
> Subject: [PATCH] gnu: perl: Add  perl Config::Grammar CPAN module

I fixed the commit message, added two spaces after sentences in the
description, fixed the license, then applied your patch, as
1c8b70c875843b98cd0ddac366f6a9272d335a46.

Thank you!

Regards,

-- 
Nicolas Goaziou

Subject: [PATCH] Add perl Config::Grammar
From: Vincent Legoll <[email-masked]>
To: [email-masked]
Date: Sun, 9 Feb 2020 23:13:17 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

I packaged this on my way to get smokeping in, so
here is the patch.

WDYT ?

-- 
Vincent Legoll
From 6c29dd540a4b6b2dc8c340982d68e3eb26831233 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <[email-masked]>
Date: Sun, 9 Feb 2020 23:01:58 +0100
Subject: [PATCH] gnu: perl: Add  perl Config::Grammar CPAN module

* gnu/packages/perl.scm (perl-config-grammar): New variable.
---
 gnu/packages/perl.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9fc3493a5d..ca24bb4de8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1380,6 +1380,25 @@ parser in your Perl programme and allows sharing configuration files between
 languages.")
     (license bsd-3)))
 
+(define-public perl-config-grammar
+  (package
+    (name "perl-config-grammar")
+    (version "1.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DS/DSCHWEI/"
+                           "Config-Grammar-" version ".tar.gz"))
+       (sha256
+        (base32 "1qynf5bk6mnk90nggm3z8rdz2535kmqg46s0vj93pi68r6ia7cx8"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Config-Grammar")
+    (synopsis "Grammar-based config parser")
+    (description
+     "Config::Grammar is a module to parse configuration files. The configuration
+may consist of multiple-level sections with assignments and tabular data.")
+    (license perl)))
+
 (define-public perl-config-any
   (package
     (name "perl-config-any")
-- 
2.25.0