3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add File-Temp.

* gnu/packages/perl.scm (perl-file-temp): New variable.
This commit is contained in:
Eric Bavier 2015-03-05 16:52:18 -06:00
parent ec77a714c5
commit 29b6ca73e1

View file

@ -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")