From 1846b423e29571a20733999b14b59511ab367469 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Mon, 16 Mar 2015 22:09:56 -0500 Subject: gnu: Add Config-General. * gnu/packages/perl.scm (perl-config-general): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index fdb1c823f2..e1eb0887bc 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") -- cgit v1.2.3