[Top][All Lists]

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

02/20: gnu: Add Time-Local.

From: Eric Bavier
Subject: 02/20: gnu: Add Time-Local.
Date: Wed, 11 Mar 2015 21:08:50 +0000

bavier pushed a commit to branch master
in repository guix.

commit 3deac8c17b3ec6834437596cc3d9655724806651
Author: Eric Bavier <address@hidden>
Date:   Tue Mar 10 14:53:39 2015 -0500

    gnu: Add Time-Local.
    * gnu/packages/perl.scm (perl-time-local): 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 44332fe..bd15f80 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 "";)
+    (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
     (name "perl-try-tiny")

reply via email to

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