diff options
author | Antero Mejr <antero@mailbox.org> | 2023-06-04 17:42:31 +0000 |
---|---|---|
committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2024-12-22 13:18:01 +0100 |
commit | 39853d0ef54aef9d19bba82b1622e9df9ccdd6f8 (patch) | |
tree | faf2d1dab114498b2ea884ebe2d51322ef7ff030 | |
parent | fd9599f2b92263337f7821aad5669fd728d34da2 (diff) | |
download | guix-39853d0ef54aef9d19bba82b1622e9df9ccdd6f8.tar.gz guix-39853d0ef54aef9d19bba82b1622e9df9ccdd6f8.zip |
gnu: Add perl-text-recordparser.
* gnu/packages/perl.scm (perl-text-recordparser): New variable.
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
-rw-r--r-- | gnu/packages/perl.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 320c337701..4072279012 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -11790,6 +11790,43 @@ diff (difference) data. Diff data is produced by Text::Diff module or by the standard @code{diff} utility.") (license license:gpl2+))) +(define-public perl-text-recordparser + (package + (name "perl-text-recordparser") + (version "1.6.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/K/KC/KCLARK/" + "Text-RecordParser-" version ".tar.gz")) + (sha256 + (base32 + "0nn33c058bl957v38xhqig4ld34lifl4arqiilhxky339i0q2fys")))) + (build-system perl-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-before 'check 'set-home + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list graphviz + perl-module-install + perl-test-exception)) + (propagated-inputs (list perl-class-accessor + perl-graphviz + perl-io-stringy + perl-list-moreutils + perl-readonly + perl-text-autoformat + perl-text-tabulardisplay)) + (home-page "https://metacpan.org/release/Text-RecordParser") + (synopsis "Parse record-oriented data in a text file") + (description + "This module is for reading record-oriented data in a delimited text +file. The most common example have records separated by newlines and fields +separated by commas or tabs, but this module aims to provide a consistent +interface for handling sequential records in a file however they may be +delimited.") + (license license:gpl2))) + (define-public perl-text-roman (package (name "perl-text-roman") |