aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-06 12:28:57 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:48 -0500
commit38973df7469f62f9242c69b0cd99b689eb7dd619 (patch)
treeb53f0351e641f14bcc6d0c8583a1445ba8d69d82
parenta24c54201daf566c1ca8326b036a1567f490158f (diff)
downloadguix-38973df7469f62f9242c69b0cd99b689eb7dd619.tar
guix-38973df7469f62f9242c69b0cd99b689eb7dd619.tar.gz
gnu: Add File-Slurp.
* gnu/packages/perl.scm (perl-file-slurp): New variable.
-rw-r--r--gnu/packages/perl.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index eb2a0c0e08..e6b1041c8b 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")