aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-28 00:41:39 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-28 00:41:39 +0200
commit274da61d515ee60c893d9eea3daab35d4a97f6b5 (patch)
treefca9a93680ed55bbfaaf232216786335d7f8d626 /gnu/packages/databases.scm
parenta0efb39ad4be5528e41288a8b6a8c2c2f41545a5 (diff)
downloadguix-274da61d515ee60c893d9eea3daab35d4a97f6b5.tar
guix-274da61d515ee60c893d9eea3daab35d4a97f6b5.tar.gz
gnu: Add perl-dbi and perl-dbd-sqlite.
* gnu/packages/databases.scm (perl-dbi, perl-dbd-sqlite): New variable.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d04a3320ad..a9ddef6c03 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -40,6 +40,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system perl)
#:use-module (srfi srfi-26)
#:use-module (ice-9 match))
@@ -281,3 +282,44 @@ and BSD's DB except that it allows multiple simultaneous writers and uses
locking internally to keep writers from trampling on each other. TDB is also
extremely small.")
(license lgpl3+)))
+
+(define-public perl-dbi
+ (package
+ (name "perl-dbi")
+ (version "1.631")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/T/TI/TIMB/DBI-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04fmrnchhwi7jx4niaiv93vmi343hdm3xj04w9zr2m9hhqh782np"))))
+ (build-system perl-build-system)
+ (synopsis "Database independent interface for Perl")
+ (description "This package provides an database interface for Perl.")
+ (home-page "http://search.cpan.org/~timb/DBI-1.631/DBI.pm")
+ (license (package-license perl))))
+
+(define-public perl-dbd-sqlite
+ (package
+ (name "perl-dbd-sqlite")
+ (version "1.42")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "14x9cjsc8dz8ad1nad0bqiq9cbk1rjfb8h5y0rpk3pdl38y6afxb"))))
+ (build-system perl-build-system)
+ (inputs `(("sqlite" ,sqlite)))
+ (propagated-inputs `(("perl-dbi" ,perl-dbi)))
+ (synopsis "SQlite interface for Perl")
+ (description "DBD::SQLite is a Perl DBI driver for SQLite, that includes
+the entire thing in the distribution. So in order to get a fast transaction
+capable RDBMS working for your Perl project you simply have to install this
+module, and nothing else.")
+ (license (package-license perl))
+ (home-page "http://search.cpan.org/~ishigaki/DBD-SQLite/lib/DBD/SQLite.pm")))