diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2016-07-12 15:47:53 +1000 |
---|---|---|
committer | Ben Woodcroft <donttrustben@gmail.com> | 2016-08-08 22:08:17 +1000 |
commit | b33fdcc488ab4f22c9e9911538bf1412ef71ea5c (patch) | |
tree | 9f9de4e50bfed13d486e7f6c13d07c2c082789ae /gnu | |
parent | b1ed9cf191b069d47f99b5bee53ffd9863834568 (diff) | |
download | guix-b33fdcc488ab4f22c9e9911538bf1412ef71ea5c.tar.gz |
gnu: Add perl-file-grep.
* gnu/packages/perl.scm (perl-file-grep): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/perl.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 9d3e954ce6..8d4cd1b50b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2281,6 +2281,29 @@ types Perl-related files, or replicating search queries run on a distribution in various parts of the CPAN ecosystem.") (license (package-license perl)))) +(define-public perl-file-grep + (package + (name "perl-file-grep") + (version "0.02") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MN/MNEYLON/File-Grep-" + version + ".tar.gz")) + (sha256 + (base32 + "0cjnz3ak7s3x3y3q48xb9ka2q9d7xvch58vy80hqa9xn9qkiabj6")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/File-Grep") + (synopsis "Matches patterns in a series of files") + (description "@code{File::Grep} provides similar functionality as perl's +builtin @code{grep}, @code{map}, and @code{foreach} commands, but iterating +over a passed filelist instead of arrays. While trivial, this module can +provide a quick dropin when such functionality is needed.") + (license (package-license perl)))) + (define-public perl-file-homedir (package (name "perl-file-homedir") |