aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-20 13:42:02 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-20 14:22:37 -0500
commit4a402425e4827aafc79242db81c382d5f34ffc5c (patch)
treef2f931b7b40dd1b91a702757769634d165c31350 /gnu
parentd4b5a5fcfc9f63df377545d1d15ba55f878662ea (diff)
downloadpatches-4a402425e4827aafc79242db81c382d5f34ffc5c.tar
patches-4a402425e4827aafc79242db81c382d5f34ffc5c.tar.gz
gnu: Add File-Remove.
* gnu/packages/perl.scm (perl-file-remove): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index de3b0d1da0..e684abb46f 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1547,6 +1547,27 @@ provided base directory and can return files (and/or directories if desired)
matching a regular expression.")
(home-page "http://search.cpan.org/~dopacki/File-List/")))
+(define-public perl-file-remove
+ (package
+ (name "perl-file-remove")
+ (version "1.52")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
+ "File-Remove-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1p8bal9qhwkjbghivxn1d5m3qdj2qwm1agrjbmakm6la9dbxqm21"))))
+ (build-system perl-build-system)
+ (home-page "http://search.cpan.org/dist/File-Remove")
+ (synopsis "Remove files and directories in Perl")
+ (description "File::Remove::remove removes files and directories. It acts
+like /bin/rm, for the most part. Although \"unlink\" can be given a list of
+files, it will not remove directories; this module remedies that. It also
+accepts wildcards, * and ?, as arguments for filenames.")
+ (license (package-license perl))))
+
(define-public perl-file-sharedir
(package
(name "perl-file-sharedir")