aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:58:18 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:27 -0600
commite91d4accd102803457d320ccf6b8b6193a51f85e (patch)
tree19befc2456ca3321004974011a14637fecf03c61
parentf57c76863912d97af4102b2a8249aaf71446cb5f (diff)
downloadpatches-e91d4accd102803457d320ccf6b8b6193a51f85e.tar
patches-e91d4accd102803457d320ccf6b8b6193a51f85e.tar.gz
gnu: Add File-Find-Rule.
* gnu/packages/perl.scm (perl-file-find-rule): New variable.
-rw-r--r--gnu/packages/perl.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index c8480d8d49..a65804ba34 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -300,6 +300,29 @@ import(), @EXPORT and @EXPORT_OK and not a whole lot else.")
"Exporter-Lite-" version))
(license (package-license perl))))
+(define-public perl-file-find-rule
+ (package
+ (name "perl-file-find-rule")
+ (version "0.33")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/R/RC/RCLAMP/"
+ "File-Find-Rule-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0w73b4jr2fcrd74a1w3b2jryq3mqzc8z5mk7ia9p85xn3qmpa5r4"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-text-glob" ,perl-text-glob)
+ ("perl-number-compare" ,perl-number-compare)))
+ (home-page "http://search.cpan.org/dist/File-Find-Rule")
+ (synopsis "Alternative interface to File::Find")
+ (description "File::Find::Rule is a friendlier interface to File::Find.
+It allows you to build rules which specify the desired files and
+directories.")
+ (license (package-license perl))))
+
(define-public perl-file-list
(package
(name "perl-file-list")