* [bug#39537] [PATCH] Add perl Config::Grammar
@ 2020-02-09 22:13 Vincent Legoll
2020-02-09 22:23 ` [bug#39537] [PATCH v2] " Vincent Legoll
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2020-02-09 22:13 UTC (permalink / raw)
To: 39537
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
Hello,
I packaged this on my way to get smokeping in, so
here is the patch.
WDYT ?
--
Vincent Legoll
[-- Attachment #2: 0001-gnu-perl-Add-perl-Config-Grammar-CPAN-module.patch --]
[-- Type: text/x-patch, Size: 1481 bytes --]
From 6c29dd540a4b6b2dc8c340982d68e3eb26831233 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#39537] [PATCH v2] Add perl Config::Grammar
2020-02-09 22:13 [bug#39537] [PATCH] Add perl Config::Grammar Vincent Legoll
@ 2020-02-09 22:23 ` Vincent Legoll
2020-02-09 23:12 ` bug#39537: " Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2020-02-09 22:23 UTC (permalink / raw)
To: 39537
[-- Attachment #1: Type: text/plain, Size: 46 bytes --]
An update, forgot the (C)
--
Vincent Legoll
[-- Attachment #2: 0001-gnu-perl-Add-perl-Config-Grammar-CPAN-module.patch --]
[-- Type: text/x-patch, Size: 1778 bytes --]
From 73dde6125142ddb6d4cae180f5d150b76a9dfd7e Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
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 | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 9fc3493a5d..654c0858ae 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -23,6 +23,7 @@
;;; Copyright © 2018 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019 Stephen J. Scheck <sscheck@cpan.org>
+;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1380,6 +1381,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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#39537: [PATCH v2] Add perl Config::Grammar
2020-02-09 22:23 ` [bug#39537] [PATCH v2] " Vincent Legoll
@ 2020-02-09 23:12 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-02-09 23:12 UTC (permalink / raw)
To: Vincent Legoll; +Cc: 39537-done
Hello,
Vincent Legoll <vincent.legoll@gmail.com> writes:
> An update, forgot the (C)
>
> --
> Vincent Legoll
>
> From 73dde6125142ddb6d4cae180f5d150b76a9dfd7e Mon Sep 17 00:00:00 2001
> From: Vincent Legoll <vincent.legoll@gmail.com>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-09 23:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09 22:13 [bug#39537] [PATCH] Add perl Config::Grammar Vincent Legoll
2020-02-09 22:23 ` [bug#39537] [PATCH v2] " Vincent Legoll
2020-02-09 23:12 ` bug#39537: " Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).