summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-12-19 01:42:40 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-12-19 01:42:40 +0100
commit32cd878be0bb7e153fcaa6f3bfa2632867390ff9 (patch)
treefc1ff93949817c9d172c84d0410ac9225cad57ae /gnu/packages/perl.scm
parent753425610274ccb59cce13490c096027c61621d0 (diff)
parent98bd11cfe7b931e9c6d6bf002a8a225fb7a1025b (diff)
downloadguix-32cd878be0bb7e153fcaa6f3bfa2632867390ff9.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 14dab3a65c..5fe393e17d 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")