guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/24: gnu: Add File-Remove.


From: Eric Bavier
Subject: 14/24: gnu: Add File-Remove.
Date: Fri, 20 Mar 2015 19:23:40 +0000

bavier pushed a commit to branch master
in repository guix.

commit 4a402425e4827aafc79242db81c382d5f34ffc5c
Author: Eric Bavier <address@hidden>
Date:   Fri Mar 20 13:42:02 2015 -0500

    gnu: Add File-Remove.
    
    * gnu/packages/perl.scm (perl-file-remove): New variable.
---
 gnu/packages/perl.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index de3b0d1..e684abb 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]