[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/82: gnu: Add DateTime-Format-Strptime.
From: |
Eric Bavier |
Subject: |
37/82: gnu: Add DateTime-Format-Strptime. |
Date: |
Mon, 20 Apr 2015 01:02:37 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 6f170fe5965bca61ec74ee0df5c59e51db277fa5
Author: Eric Bavier <address@hidden>
Date: Mon Apr 6 17:37:23 2015 -0500
gnu: Add DateTime-Format-Strptime.
* gnu/packages/perl.scm (perl-datetime-format-strptime): New variable.
---
gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 100fb28..3947757 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1163,6 +1163,32 @@ combinations. It represents the Gregorian calendar,
extended backwards in
time before its creation (in 1582).")
(license artistic2.0)))
+(define-public perl-datetime-format-strptime
+ (package
+ (name "perl-datetime-format-strptime")
+ (version "1.56")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/D/DR/DROLSKY/"
+ "DateTime-Format-Strptime-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0a4bszmff16rw6fz1yr4v9001q9vxrdxnxkj9sqaln83b87rvxig"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-datetime" ,perl-datetime)
+ ("perl-datetime-locale" ,perl-datetime-locale)
+ ("perl-datetime-timezone" ,perl-datetime-timezone)
+ ("perl-params-validate" ,perl-params-validate)))
+ (home-page "http://search.cpan.org/dist/DateTime-Format-Strptime")
+ (synopsis "Parse and format strp and strf time patterns")
+ (description "This module implements most of `strptime(3)`, the POSIX
+function that is the reverse of `strftime(3)`, for `DateTime`. While
+`strftime` takes a `DateTime` and a pattern and returns a string, `strptime`
+takes a string and a pattern and returns the `DateTime` object associated.")
+ (license artistic2.0)))
+
(define-public perl-datetime-locale
(package
(name "perl-datetime-locale")
- 27/82: gnu: Net-HTTP: Update to 6.07., (continued)
- 27/82: gnu: Net-HTTP: Update to 6.07., Eric Bavier, 2015/04/19
- 28/82: gnu: libwww-perl: Update to 6.13., Eric Bavier, 2015/04/19
- 30/82: gnu: Add Data-Stream-Bulk., Eric Bavier, 2015/04/19
- 29/82: gnu: Add LWP-Protocol-https., Eric Bavier, 2015/04/19
- 31/82: gnu: Add DateTime-Format-HTTP., Eric Bavier, 2015/04/19
- 33/82: gnu: Add Digest-MD5-File., Eric Bavier, 2015/04/19
- 32/82: gnu: Add Digest-HMAC., Eric Bavier, 2015/04/19
- 34/82: gnu: Add LWP-UserAgent-Determined., Eric Bavier, 2015/04/19
- 35/82: gnu: Add MooseX-StrictConstructor., Eric Bavier, 2015/04/19
- 36/82: gnu: Add Class-Factory-Util., Eric Bavier, 2015/04/19
- 37/82: gnu: Add DateTime-Format-Strptime.,
Eric Bavier <=
- 38/82: gnu: Add DateTime-Format-Builder., Eric Bavier, 2015/04/19
- 39/82: gnu: Add DateTime-Format-Flexible., Eric Bavier, 2015/04/19
- 40/82: gnu: Add Set-Infinite., Eric Bavier, 2015/04/19
- 41/82: gnu: Add DateTime-Set., Eric Bavier, 2015/04/19
- 45/82: gnu: Add Perl boolean., Eric Bavier, 2015/04/19
- 44/82: gnu: Add DateTime-Format-ICal., Eric Bavier, 2015/04/19
- 42/82: gnu: Add DateTime-Event-Recurrence., Eric Bavier, 2015/04/19
- 43/82: gnu: Add DateTime-Event-ICal., Eric Bavier, 2015/04/19
- 46/82: gnu: Add Bit-Vector., Eric Bavier, 2015/04/19
- 47/82: gnu: Add Date-Calc., Eric Bavier, 2015/04/19