1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-14 11:00:36 +02:00

gnu: Add perl-dbix-class-dynamicdefault.

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

Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
Antero Mejr 2023-06-04 17:41:59 +00:00 committed by Danny Milosavljevic
parent 3463ab9048
commit 57c38bb103
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -2375,6 +2375,29 @@ a fresh database for every test, you don't have to worry about cleaning up
after your tests, ordering of tests affecting failure, etc.")
(license license:perl-license)))
(define-public perl-dbix-class-dynamicdefault
(package
(name "perl-dbix-class-dynamicdefault")
(version "0.04")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MS/MSTROUT/DBIx-Class-DynamicDefault-"
version ".tar.gz"))
(sha256
(base32
"1yssda00988hn9v96jl95apbzib74vgbcgf69m5mhhj64amm33r2"))))
(build-system perl-build-system)
(native-inputs (list perl-dbicx-testdatabase perl-module-install))
(propagated-inputs (list perl-dbix-class))
(home-page "https://metacpan.org/release/DBIx-Class-DynamicDefault")
(synopsis "Automatically set and update fields")
(description
"Automatically set and update fields with values calculated at runtime.
Ipdate or create actions will set the specified columns to the value returned
by the callback you specified as a method name or code reference.")
(license license:perl-license)))
(define-public perl-dbd-pg
(package
(name "perl-dbd-pg")