guix-commits
[Top][All Lists]
Advanced

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

22/82: gnu: Add File-Slurp.


From: Eric Bavier
Subject: 22/82: gnu: Add File-Slurp.
Date: Mon, 20 Apr 2015 01:02:32 +0000

bavier pushed a commit to branch master
in repository guix.

commit 38973df7469f62f9242c69b0cd99b689eb7dd619
Author: Eric Bavier <address@hidden>
Date:   Mon Apr 6 12:28:57 2015 -0500

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index eb2a0c0..e6b1041 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1783,6 +1783,26 @@ files from a distribution.  It is a companion module to 
File::ShareDir, which
 allows you to locate these files after installation.")
     (license (package-license perl))))
 
+(define-public perl-file-slurp
+  (package
+    (name "perl-file-slurp")
+    (version "9999.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/U/UR/URI/"
+                           "File-Slurp-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0hrn4nipwx40d6ji8ssgr5nw986z9iqq8cn0kdpbszh9jplynaff"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/File-Slurp";)
+    (synopsis "Reading/Writing/Modifying of complete files")
+    (description "File::Slurp provides subroutines to read or write entire
+files with a simple call.  It also has a subroutine for reading the list of
+filenames in a directory.")
+    (license (package-license perl))))
+
 (define-public perl-file-temp
   (package
     (name "perl-file-temp")



reply via email to

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