summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-03-24 18:11:40 +0000
committerChristopher Baines <mail@cbaines.net>2019-04-14 10:45:59 +0100
commit55916fa2268b83c4d03cac8984594aa9979647e0 (patch)
treed374b5e09fe19fcf19d002cfe465d1b853d81954
parent3840c515552207706aca8128066142d52bf64476 (diff)
downloadguix-55916fa2268b83c4d03cac8984594aa9979647e0.tar.gz
gnu: Add perl-mysql-config.
* gnu/packages/databases.scm (perl-mysql-config): New variable.
-rw-r--r--gnu/packages/databases.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1fc6ababe4..7d8c82dc99 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1318,6 +1318,29 @@ module, and nothing else.")
     (license license:perl-license)
     (home-page "https://metacpan.org/release/DBD-SQLite")))
 
+(define-public perl-mysql-config
+  (package
+    (name "perl-mysql-config")
+    (version "1.04")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/D/DA/DARREN/MySQL-Config-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1svn7ccw2gc4cazvc58j84rxhnc9vs01zpird0l8460598j475qr"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/MySQL-Config")
+    (synopsis "Parse and utilize MySQL's /etc/my.cnf and ~/.my.cnf files")
+    (description
+     "@code{MySQL::Config} emulates the @code{load_defaults} function from
+libmysqlclient.  It will fill an aray with long options, ready to be parsed by
+@code{Getopt::Long}.")
+    (license license:perl-license)))
+
 (define-public perl-sql-abstract
   (package
     (name "perl-sql-abstract")