Subject: [PATCH 06/55] gnu: Add perl-dbix-class-timestamp.

From: Antero Mejr <[email-masked]>
Date: Sun, 4 Jun 2023 17:42:00 +0000

* gnu/packages/databases.scm (perl-dbix-class-timestamp): New variable.
---
 gnu/packages/databases.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a37932e7f4..99b0fc87bd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2199,6 +2199,37 @@ (define-public perl-dbix-class-dynamicdefault
 by the callback you specified as a method name or code reference.")
     (license license:perl-license)))
 
+(define-public perl-dbix-class-timestamp
+  (package
+    (name "perl-dbix-class-timestamp")
+    (version "0.14")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/R/RI/RIBASUSHI/DBIx-Class-TimeStamp-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1zhr4r5ffihqsh2imap7zmps2y0h71piqqhg2nqhcwkjhvlxb958"))))
+    (build-system perl-build-system)
+    (native-inputs (list perl-class-accessor-grouped
+                         perl-datetime-format-mysql
+                         perl-datetime-format-sqlite
+                         perl-dbd-sqlite
+                         perl-module-install
+                         perl-test-pod
+                         perl-time-warp))
+    (propagated-inputs (list perl-datetime
+                             perl-dbix-class
+                             perl-dbix-class-dynamicdefault))
+    (home-page "https://metacpan.org/release/DBIx-Class-TimeStamp")
+    (synopsis
+     "DBIx::Class extension to update and create date and time based fields")
+    (description
+     "This package works in conjunction with @code{InflateColumn::DateTime} to
+automatically set update and create date and time based fields in a table.")
+    (license license:perl-license)))
+
 (define-public perl-dbd-pg
   (package
     (name "perl-dbd-pg")
-- 
2.39.2