aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:52:18 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:29 -0600
commit29b6ca73e17099a7172a6e8048a9fd7174dd1d09 (patch)
treeeb6f21fef10f2cfae18069ee9b508f8421dbd058 /gnu
parentec77a714c5642ac35366fd6c31aee29847b77cb7 (diff)
downloadpatches-29b6ca73e17099a7172a6e8048a9fd7174dd1d09.tar
patches-29b6ca73e17099a7172a6e8048a9fd7174dd1d09.tar.gz
gnu: Add File-Temp.
* gnu/packages/perl.scm (perl-file-temp): 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 f87606eadf..24ecad503d 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -760,6 +760,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-temp
+ (package
+ (name "perl-file-temp")
+ (version "0.2304")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DA/DAGOLDEN/"
+ "File-Temp-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1b11scbw77924awwdf5yw8sk8z0s2hskvpyyxws9yz4gwhim6h8k"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-parent" ,perl-parent)))
+ (home-page "http://search.cpan.org/dist/File-Temp")
+ (synopsis "Return name and handle of a temporary file safely")
+ (description "File::Temp can be used to create and open temporary files in
+a safe way.")
+ (license (package-license perl))))
+
(define-public perl-file-which
(package
(name "perl-file-which")