GNU bug report logs - #67963
[PATCH 0/4] Add Perl modules for debbugs.gnu.org

Previous Next

Package: guix-patches;

Reported by: Felix Lechner <felix.lechner <at> lease-up.com>

Date: Fri, 22 Dec 2023 04:15:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 67963 <at> debbugs.gnu.org (full text, mbox):

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: 67963 <at> debbugs.gnu.org
Cc: Felix Lechner <felix.lechner <at> lease-up.com>
Subject: [PATCH v2 11/37] gnu: Add perl-datetime-format-sqlite.
Date: Tue, 16 Jan 2024 14:12:49 -0800
* gnu/packages/perl.scm (perl-datetime-format-sqlite): New variable.

Change-Id: I9623da196b9d008647ea3d4722f27042eab6f504
---
 gnu/packages/perl.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f4fb49d9b2..7307e7b0cc 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3601,6 +3601,29 @@ (define-public perl-datetime-format-pg
 produce a string representing it in a format accepted by PostgreSQL.")
     (license license:perl-license)))
 
+(define-public perl-datetime-format-sqlite
+  (package
+    (name "perl-datetime-format-sqlite")
+    (version "0.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/C/CF/CFAERBER/DateTime-Format-SQLite-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1d4ln8x5bjpqmgnbbi2h16knfz674dsgvk6x7m60v6ykw454w7yc"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-datetime
+                             perl-datetime-format-builder))
+    (home-page "https://metacpan.org/release/DateTime-Format-SQLite")
+    (synopsis "Parse and format SQLite dates and times")
+    (description "This module understands the formats used by SQLite for
+its date, datetime and time functions.  It can be used to parse these
+formats in order to create DateTime objects.  It can also take a DateTime
+object and produce a timestring accepted by SQLite.")
+    (license license:perl-license)))
+
 (define-public perl-datetime-format-strptime
   (package
     (name "perl-datetime-format-strptime")
-- 
2.41.0





This bug report was last modified 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.