[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add perl-dbd-mysql.
From: |
Ricardo Wurmus |
Subject: |
01/01: gnu: Add perl-dbd-mysql. |
Date: |
Sun, 29 Nov 2015 19:52:21 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 4b7857a48bbd79830697a111b2c027200020d8c3
Author: Ricardo Wurmus <address@hidden>
Date: Thu Nov 12 16:04:49 2015 +0100
gnu: Add perl-dbd-mysql.
* gnu/packages/databases.scm (perl-dbd-mysql): New variable.
---
gnu/packages/databases.scm | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 51e2a3e..1eccad5 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
address@hidden Interface} (DBI).")
+ (license (package-license perl))))
+
(define-public perl-dbd-sqlite
(package
(name "perl-dbd-sqlite")