guix-commits
[Top][All Lists]
Advanced

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

01/08: gnu: Add perl-time-piece.


From: Tobias Geerinckx-Rice
Subject: 01/08: gnu: Add perl-time-piece.
Date: Wed, 13 Dec 2017 18:21:27 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit da43edbe0f54ea1cf0c71bd8e30572d0e8ac336a
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Dec 13 19:20:47 2017 +0100

    gnu: Add perl-time-piece.
    
    * gnu/packages/perl.scm (perl-time-piece): New public variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 73bab96..7ff5554 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7890,6 +7890,28 @@ six-element array, and return the corresponding time(2) 
value in seconds since
 the system epoch.")
     (license (package-license perl))))
 
+(define-public perl-time-piece
+  (package
+    (name "perl-time-piece")
+    (version "1.3203")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/E/ES/ESAYM/Time-Piece-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "0hbg99v8xqy3nx6nrjpwh1w6xwqpfflz0djkbdd72kvf8zvglwb9"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Time-Piece/";)
+    (synopsis "Object-Oriented time objects")
+    (description
+     "This module replaces the standard @code{localtime} and @code{gmtime}
+functions with implementations that return objects.  It does so in a
+backwards-compatible manner, so that using these functions as documented will
+still work as expected.")
+    (license perl-license)))
+
 (define-public perl-timedate
   (package
     (name "perl-timedate")



reply via email to

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