[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/4] gnu: Add perl-time-piece.
From: |
Ben Woodcroft |
Subject: |
[PATCH 1/4] gnu: Add perl-time-piece. |
Date: |
Sat, 3 Dec 2016 20:38:58 +1000 |
* gnu/packages/perl.scm (perl-time-piece): New variable.
---
gnu/packages/perl.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 6b4370d..55982ab 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -7162,6 +7162,28 @@ time values and formatting dates into ASCII strings.")
and time() calls.")
(license (package-license perl))))
+(define-public perl-time-piece
+ (package
+ (name "perl-time-piece")
+ (version "1.31")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ES/ESAYM/Time-Piece-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1fb7s5y9f3j80h2dfsgplmdcrhp96ccqs0qqabmckkkgvhj40205"))))
+ (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
address@hidden Perl functions with implementations that return objects. It does
+so in a backwards compatible manner, so that using
address@hidden/@code{gmtime} in the way documented in perlfunc will still
+return what you expect.")
+ (license (package-license perl))))
+
(define-public perl-tree-simple
(package
(name "perl-tree-simple")
--
2.10.2
- [PATCH 1/4] gnu: Add perl-time-piece.,
Ben Woodcroft <=