aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/databases.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-11-12 16:04:49 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-11-29 20:52:10 +0100
commit4b7857a48bbd79830697a111b2c027200020d8c3 (patch)
treedec0873efe0e3b299787f6f539e22e30a5fb7e9c /gnu/packages/databases.scm
parent11d4800aa2e8181d353a0cc3149294062e1ba2c3 (diff)
downloadgnu-guix-4b7857a48bbd79830697a111b2c027200020d8c3.tar
gnu-guix-4b7857a48bbd79830697a111b2c027200020d8c3.tar.gz
gnu: Add perl-dbd-mysql.
* gnu/packages/databases.scm (perl-dbd-mysql): New variable.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r--gnu/packages/databases.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 51e2a3e058..1eccad59fc 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -620,6 +620,30 @@ columns, primary keys, unique constraints and relationships.")
(description "")
(license (package-license perl))))
+(define-public perl-dbd-mysql
+ (package
+ (name "perl-dbd-mysql")
+ (version "4.033")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/C/CA/CAPTTOFU/"
+ "DBD-mysql-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0769xakykps0cx368g4vaips4w3bjk383rianiavq7sq6g6bp66c"))))
+ (build-system perl-build-system)
+ ;; Tests require running MySQL server
+ (arguments `(#:tests? #f))
+ (propagated-inputs
+ `(("perl-dbi" ,perl-dbi)
+ ("mysql" ,mysql)))
+ (home-page "http://search.cpan.org/dist/DBD-mysql")
+ (synopsis "DBI MySQL interface")
+ (description "This package provides a MySQL driver for the Perl5
+@dfn{Database Interface} (DBI).")
+ (license (package-license perl))))
+
(define-public perl-dbd-sqlite
(package
(name "perl-dbd-sqlite")