unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kkebreau@posteo.net>
To: 31854@debbugs.gnu.org
Cc: Kei Kebreau <kkebreau@posteo.net>
Subject: [bug#31854] [PATCH 5/8] gnu: Add perl-file-finder.
Date: Fri, 15 Jun 2018 22:26:51 -0400	[thread overview]
Message-ID: <20180616022654.686-4-kkebreau@posteo.net> (raw)
In-Reply-To: <20180616022654.686-1-kkebreau@posteo.net>

* gnu/packages/perl.scm (perl-file-finder): New variable.
---
 gnu/packages/perl.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e7b46bdc1..88d55722e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9528,6 +9528,38 @@ File::Find replacement in Perl.")
 interface to File::Find::Object.")
   (license (package-license perl))))
 
+(define-public perl-file-finder
+  (package
+    (name "perl-file-finder")
+    (version "0.53")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/M/ME/MERLYN/File-Finder-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0x3a2xgzrka73lcmmwalq2mmpzxa7s6pm01ahxf677ksqsdc3jrf"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-text-glob" ,perl-text-glob)))
+    (home-page "http://search.cpan.org/dist/File-Finder/")
+    (synopsis "Wrapper for @code{File::Find} ala @code{find(1)}")
+    (description
+     "@code{File::Find} is great, but constructing the wanted routine can
+sometimes be a pain.  @code{File::Finder} provides a wanted-writer, using
+syntax that is directly mappable to the @code{find} command's syntax.
+
+A @code{File::Finder} object contains a hash of @code{File::Find} options, and
+a series of steps that mimic find's predicates.  Initially, a
+@code{File::Finder} object has no steps.  Each step method clones the previous
+object's options and steps, and then adds the new step, returning the new
+object.  In this manner, an object can be grown, step by step, by chaining
+method calls.  Furthermore, a partial sequence can be created and held, and
+used as the head of many different sequences.")
+    (license (package-license perl))))
+
 (define-public perl-font-ttf
   (package
     (name "perl-font-ttf")
-- 
2.17.1

  parent reply	other threads:[~2018-06-16  2:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-16  2:24 [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other Kei Kebreau
2018-06-16  2:26 ` [bug#31854] [PATCH 2/8] gnu: Add perl-cpan-changes Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 3/8] gnu: Add perl-module-manifest Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 4/8] gnu: Add perl-test-distmanifest Kei Kebreau
2018-06-16  2:26   ` Kei Kebreau [this message]
2018-06-16  2:26   ` [bug#31854] [PATCH 6/8] gnu: Add perl-test-perltidy Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 7/8] gnu: perltidy: Update to 20180220 Kei Kebreau
2018-06-16  2:26   ` [bug#31854] [PATCH 8/8] gnu: clusterssh: Update to 4.13.2 Kei Kebreau
2018-06-16 22:13 ` [bug#31854] [PATCH 1/8] gnu: Add perl-x11-protocol-other Ludovic Courtès
2018-06-17  0:54   ` bug#31854: " Kei Kebreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180616022654.686-4-kkebreau@posteo.net \
    --to=kkebreau@posteo.net \
    --cc=31854@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).