guix-commits
[Top][All Lists]
Advanced

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

60/72: gnu: Add File-Temp.


From: Eric Bavier
Subject: 60/72: gnu: Add File-Temp.
Date: Fri, 06 Mar 2015 14:13:11 +0000

bavier pushed a commit to branch master
in repository guix.

commit 29b6ca73e17099a7172a6e8048a9fd7174dd1d09
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 16:52:18 2015 -0600

    gnu: Add File-Temp.
    
    * gnu/packages/perl.scm (perl-file-temp): 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 f87606e..24ecad5 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")



reply via email to

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