From 5f30ce031493d9ae9d4488ffc7e64c004cb8be6b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 17 Oct 2022 22:38:11 -0300 Subject: [PATCH] gnu: Add perl-config-tiny. * gnu/packages/perl.scm (perl-config-tiny): New variable. Signed-off-by: Christopher Baines --- gnu/packages/perl.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index e111fcd943..4624b5ab6d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2076,6 +2076,33 @@ of the style used by the Git version control system.") and writing of @code{.ini}-style configuration files.") (license (package-license perl)))) +(define-public perl-config-tiny + (package + (name "perl-config-tiny") + (version "2.28") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/R/RS/RSAVAGE/Config-Tiny-" + version ".tgz")) + (sha256 + (base32 + "000mw17nb7aj341s0afqimxd53w5y0c4yk61pihqzm191lx89pqj")))) + (build-system perl-build-system) + (native-inputs (list perl-test-pod)) + (home-page "https://metacpan.org/release/Config-Tiny") + (synopsis "Read/Write .ini style files with as little code as possible") + (description + "@code{Config::Tiny} is a Perl class to read and write .ini +style configuration files with as little code as possible, reducing load time +and memory overhead. + +This module is primarily for reading human written files, and anything we write +shouldn't need to have documentation/comments. If you need something with more +power move up to @code{Config::Simple}, @code{Config::General} or one of the +many other @code{Config::*} modules.") + (license license:perl-license))) + (define-public perl-const-fast (package (name "perl-const-fast")