summary refs log tree commit diff
diff options
context:
space:
mode:
authorGabriel Wicki <gabriel@erlikon.ch>2022-07-08 18:32:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-07-08 18:41:35 +0200
commitdbb40b883ec20ea170039c0238dfdd442f9c7894 (patch)
treed49b72ebfc80ff696de1958602869bc8659b3d55
parentbafa7a00a152b201ab8edbdbc7cda7bdc1959125 (diff)
downloadguix-dbb40b883ec20ea170039c0238dfdd442f9c7894.tar.gz
gnu: Add perl-file-next.
* gnu/packages/perl.scm (perl-file-next): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7232921b13..c4e9367a73 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4781,6 +4781,25 @@ provided base directory and can return files (and/or directories if desired)
 matching a regular expression.")
     (home-page "https://metacpan.org/release/File-List")))
 
+(define-public perl-file-next
+  (package
+    (name "perl-file-next")
+    (version "1.18")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/petdance/file-next")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0zdrxk409qxkbbv4fl4wi285kfzyrpaja9wfl00vrxc078rs4afm"))))
+    (build-system perl-build-system)
+    (synopsis "Lightweight, taint-safe file-finding Perl module")
+    (description "File::Next is a Perl CPAN module for finding files.")
+    (home-page "https://metacpan.org/pod/File::Next")
+    (license license:artistic2.0)))
+
 (define-public perl-file-readbackwards
   (package
     (name "perl-file-readbackwards")