guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/27: gnu: Add Config-General.


From: Eric Bavier
Subject: 01/27: gnu: Add Config-General.
Date: Tue, 17 Mar 2015 18:15:15 +0000

bavier pushed a commit to branch master
in repository guix.

commit 1846b423e29571a20733999b14b59511ab367469
Author: Eric Bavier <address@hidden>
Date:   Mon Mar 16 22:09:56 2015 -0500

    gnu: Add Config-General.
    
    * gnu/packages/perl.scm (perl-config-general): New variable.
---
 gnu/packages/perl.scm |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index fdb1c82..e1eb088 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -682,6 +682,30 @@ supports XML, YAML, JSON, Apache-style configuration, and 
Perl code.")
 opportunities to Perl developers as GNU Autoconf does for Shell developers.")
     (license (package-license perl))))
 
+(define-public perl-config-general
+  (package
+    (name "perl-config-general")
+    (version "2.56")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/T/TL/TLINDEN/"
+                           "Config-General-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0szxxaihz71pr0r2jp9wvbrfc3hrsxi9xrd9vnyrxlrax8sci5h9"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Config-General";)
+    (synopsis "Generic Config Module")
+    (description "This module opens a config file and parses its contents for
+you.  The format of config files supported by Config::General is inspired by
+the well known Apache config format and is 100% compatible with Apache
+configs, but you can also just use simple name/value pairs in your config
+files.  In addition to the capabilities of an Apache config file it supports
+some enhancements such as here-documents, C-style comments, and multiline
+options.")
+    (license (package-license perl))))
+
 (define-public perl-context-preserve
   (package
     (name "perl-context-preserve")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]