unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/4] gnu: Add perl-time-piece.
@ 2016-12-03 10:38 Ben Woodcroft
  2016-12-03 10:38 ` [PATCH 2/4] gnu: Add ncbi-tools Ben Woodcroft
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Ben Woodcroft @ 2016-12-03 10:38 UTC (permalink / raw)
  To: guix-devel

* 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
+@code{gmtime} Perl functions with implementations that return objects.  It does
+so in a backwards compatible manner, so that using
+@code{localtime}/@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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-12-04 16:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-03 10:38 [PATCH 1/4] gnu: Add perl-time-piece Ben Woodcroft
2016-12-03 10:38 ` [PATCH 2/4] gnu: Add ncbi-tools Ben Woodcroft
2016-12-03 19:19   ` Ricardo Wurmus
2016-12-03 19:30   ` Marius Bakke
2016-12-03 10:39 ` [PATCH 3/4] gnu: Add barrnap Ben Woodcroft
2016-12-03 19:20   ` Ricardo Wurmus
2016-12-03 19:36   ` Marius Bakke
2016-12-04 15:51     ` Ricardo Wurmus
2016-12-03 10:39 ` [PATCH 4/4] gnu: Add prokka Ben Woodcroft
2016-12-03 19:47   ` Marius Bakke
2016-12-03 18:55 ` [PATCH 1/4] gnu: Add perl-time-piece Marius Bakke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).