[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67963] [PATCH v2 10/37] gnu: Add perl-datetime-format-pg.
From: |
Felix Lechner |
Subject: |
[bug#67963] [PATCH v2 10/37] gnu: Add perl-datetime-format-pg. |
Date: |
Tue, 16 Jan 2024 14:12:48 -0800 |
* gnu/packages/perl.scm (perl-datetime-format-pg): New variable.
Change-Id: I595271d5aecb6915f750ee1dd71144595359cb58
---
gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e04903280a..f4fb49d9b2 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3575,6 +3575,32 @@ (define-public perl-datetime-format-natural
parsing logic.")
(license (package-license perl))))
+(define-public perl-datetime-format-pg
+ (package
+ (name "perl-datetime-format-pg")
+ (version "0.16014")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DM/DMAKI/DateTime-Format-Pg-" version
+ ".tar.gz"))
+ (sha256
+ (base32 "1f8fpv655x8w9zaa65lp1yn0pianjv5l4qvg6v1q9hsda9k9dfrq"))))
+ (build-system perl-build-system)
+ (native-inputs (list perl-module-build-tiny))
+ (propagated-inputs (list perl-datetime
+ perl-datetime-format-builder
+ perl-datetime-timezone))
+ (home-page "https://metacpan.org/release/DateTime-Format-Pg")
+ (synopsis "Parse and format PostgreSQL dates and times")
+ (description "This module understands the formats used by PostgreSQL
+for its DATE, TIME, TIMESTAMP, and INTERVAL data types. It can be used
+to parse these formats in order to create DateTime or DateTime::Duration
+objects, and it can take a DateTime or DateTime::Duration object and
+produce a string representing it in a format accepted by PostgreSQL.")
+ (license license:perl-license)))
+
(define-public perl-datetime-format-strptime
(package
(name "perl-datetime-format-strptime")
--
2.41.0
- [bug#67963] [PATCH v2 18/37] gnu: Add perl-spreadsheet-parseexcel., (continued)
- [bug#67963] [PATCH v2 18/37] gnu: Add perl-spreadsheet-parseexcel., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 22/37] gnu: Add perl-time-warp., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 09/37] gnu: Add perl-datetime-format-mysql., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 07/37] gnu: Add perl-class-hash., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 13/37] gnu: Add perl-fcgi-client., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 14/37] gnu: Add perl-fcgi., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 16/37] gnu: Add perl-hash-ordered., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 27/37] gnu: Add perl-text-iconv., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 24/37] gnu: Add perl-text-tabulardisplay., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 30/37] gnu: Add perl-mail-message., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 10/37] gnu: Add perl-datetime-format-pg.,
Felix Lechner <=
- [bug#67963] [PATCH v2 15/37] gnu: Add perl-graphviz., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 20/37] gnu: Add perl-xml-semanticdiff., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 33/37] gnu: Add perl-dbix-class-dynamicdefault., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 17/37] gnu: Add perl-package-variant., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 37/37] gnu: Add perl-search-estraier., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 31/37] gnu: Add perl-sql-translator., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 34/37] gnu: Add perl-dbix-class-timestamp., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 23/37] gnu: Add perl-user-identity., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 29/37] gnu: Add perl-text-recordparser., Felix Lechner, 2024/01/16
- [bug#67963] [PATCH v2 26/37] gnu: Add perl-text-reform., Felix Lechner, 2024/01/16