guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63894] [PATCH 03/55] gnu: Add perl-dbix-simple.


From: Antero Mejr
Subject: [bug#63894] [PATCH 03/55] gnu: Add perl-dbix-simple.
Date: Sun, 4 Jun 2023 17:41:57 +0000

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

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 07236b773a..30334b7e4b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2125,6 +2125,32 @@ (define-public perl-dbix-class-deploymenthandler
 and lots of roles.")
     (license license:perl-license)))
 
+(define-public perl-dbix-simple
+  (package
+    (name "perl-dbix-simple")
+    (version "1.37")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://cpan/authors/id/J/JU/JUERD/DBIx-Simple-" version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "1qyaj01zb6xplzcp7pj0b9609fvd89c9c4an3i00g2g05jm13ls6"))))
+    (build-system perl-build-system)
+    (propagated-inputs (list perl-dbi))
+    (home-page "https://metacpan.org/release/DBIx-Simple";)
+    (synopsis "Object-oriented interface to DBI")
+    (description
+     "DBIx::Simple provides a simplified interface to DBI, Perl's powerful
+database module.  This module is aimed at rapid development and easy
+maintenance.  Query preparation and execution are combined in a single method,
+the result object (which is a wrapper around the statement handle) provides
+easy row-by-row and slurping methods.")
+    ;; The POD info says: "Pick your favorite OSI-approved license"
+    ;; Use unlicense because it has the least restrictions.
+    (license license:unlicense)))
+
 (define-public perl-dbd-pg
   (package
     (name "perl-dbd-pg")
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]