From 3463ab9048da1629c720976d9093bd48b9f94a8f Mon Sep 17 00:00:00 2001 From: Antero Mejr Date: Sun, 4 Jun 2023 17:41:58 +0000 Subject: gnu: Add perl-dbicx-testdatabase. * gnu/packages/databases.scm (perl-dbicx-testdatabase): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/databases.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 9c72943cdd..c9a0c517c7 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2350,6 +2350,31 @@ easy row-by-row and slurping methods.") ;; Use unlicense because it has the least restrictions. (license license:unlicense))) +(define-public perl-dbicx-testdatabase + (package + (name "perl-dbicx-testdatabase") + (version "0.05") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-" + version ".tar.gz")) + (sha256 + (base32 + "1kqaiygxiarrqkgqbq1s3xilx77msbdsqrdaqf4628811d9w4fwf")))) + (build-system perl-build-system) + (native-inputs (list perl-dbix-class perl-module-install)) + (propagated-inputs (list perl-dbd-sqlite + perl-sql-translator)) + (home-page "https://metacpan.org/release/DBICx-TestDatabase") + (synopsis "Create a temporary database from a DBIx::Class::Schema") + (description + "This module creates a temporary SQLite database, deploys a DBIC schema, +and then connects to it. This lets you easily test DBIC schema. Since you have +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-dbd-pg (package (name "perl-dbd-pg") -- cgit v1.2.3 ch'/>
AgeCommit message (Expand)Author
2020-10-23doc: Fix typo in HACKING....* HACKING (Contributing): s/informations/information/. Maxim Cournoyer
2020-01-09doc: Move "Commit Access" section from 'HACKING' to the manual....* HACKING (Commit Access): Remove. (Contributing): Update URL of the manual. * doc/contributing.texi (Commit Access): New section. (Submitting Patches): Add cross reference. Ludovic Courtès
2020-01-09doc: Add "Tracking Bugs and Patches" section....* doc/contributing.texi (Tracking Bugs and Patches): New section. (Submitting Patches): Refer to it. * doc/guix.texi: Update copyright line. * HACKING (Using emacs-debbugs): Remove. Ludovic Courtès
2019-07-13doc: Update keyserver URL....* HACKING (Commit Access): Change keyserver URL to 'keys.openpgp.org'. Leo Famulari