guix-commits
[Top][All Lists]
Advanced

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

11/30: gnu: Add perl-date-simple.


From: Ricardo Wurmus
Subject: 11/30: gnu: Add perl-date-simple.
Date: Sun, 27 Nov 2016 08:50:09 +0000 (UTC)

rekado pushed a commit to branch master
in repository guix.

commit 36dd594316df1b89137735c07018df17ae6310bf
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Nov 23 22:02:12 2016 +0100

    gnu: Add perl-date-simple.
    
    * gnu/packages/perl.scm (perl-date-simple): 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 b87e339..d3df8b2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1619,6 +1619,28 @@ operations, such as comparing two times, determining a 
date a given amount of
 time from another, or parsing international times.")
     (license (package-license perl))))
 
+(define-public perl-date-simple
+  (package
+    (name "perl-date-simple")
+    (version "3.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
+                           "Date-Simple-" version ".tar.gz"))
+       (sha256
+        (base32
+         "016x17r9wi6ffdc4idwirzd1sxqcb4lmq5fn2aiq25nf2iir5899"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Date-Simple";)
+    (synopsis "Simple date handling")
+    (description "Dates are complex enough without times and timezones.  This
+module may be used to create simple date objects.  It handles validation,
+interval arithmetic, and day-of-week calculation.  It does not deal with
+hours, minutes, seconds, and time zones.")
+    ;; Can be used with either license.
+    (license (list (package-license perl) gpl2+))))
+
 (define-public perl-datetime
   (package
     (name "perl-datetime")



reply via email to

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