Subject: [bug#67963] [PATCH v2 34/37] gnu: Add perl-dbix-class-timestamp.

From: Felix Lechner <[email-masked]>
Date: Tue, 16 Jan 2024 14:13:12 -0800

* gnu/packages/databases.scm (perl-dbix-class-timestamp): New variable.

Change-Id: Ia048989da04282448247c8544a82e292417abfe2
---
 gnu/packages/databases.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index f30c0f38f4..6151abb705 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2168,6 +2168,35 @@ (define-public perl-dbix-class-schema-loader
 columns, primary keys, unique constraints and relationships.")
     (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 ; for test
+                         perl-module-install
+                         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 "Works in conjunction with 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.41.0