From 3deac8c17b3ec6834437596cc3d9655724806651 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Tue, 10 Mar 2015 14:53:39 -0500 Subject: gnu: Add Time-Local. * gnu/packages/perl.scm (perl-time-local): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 44332fe519..bd15f80aa1 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -2085,6 +2085,27 @@ used to match against text, rather than fetching names from a filesystem. If you want to do full file globbing use the File::Glob module instead.") (license (package-license perl)))) +(define-public perl-time-local + (package + (name "perl-time-local") + (version "1.2300") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/" + "Time-Local-" version ".tar.gz")) + (sha256 + (base32 + "0jgvd6v93hlrcmy56yxbm4yrhzi8yvrq8c3xffpgh28af01wmb5j")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Time-Local") + (synopsis "Efficiently compute time from local and GMT time") + (description "This module provides functions that are the inverse of +built-in perl functions localtime() and gmtime(). They accept a date as a +six-element array, and return the corresponding time(2) value in seconds since +the system epoch") + (license (package-license perl)))) + (define-public perl-try-tiny (package (name "perl-try-tiny") -- cgit 1.4.1