aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2020-01-18 18:39:41 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2020-01-18 18:40:08 +0100
commit2072bc08385a2703ef7beb1227bf8faae678072a (patch)
treeb58e066fe3bc08e2e126b10a157c0315e621623c /gnu
parent3747ecb1d3e9ddcc87e4e4e64f6f27b7c7dff884 (diff)
downloadguix-2072bc08385a2703ef7beb1227bf8faae678072a.tar.gz
guix-2072bc08385a2703ef7beb1227bf8faae678072a.zip
gnu: Add mariadb-connector-c.
* gnu/packages/databases.scm (mariadb-connector-c): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/databases.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index be9611a7b2..e90fdfef7c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -38,6 +38,7 @@
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -940,6 +941,31 @@ as a drop-in replacement of MySQL.")
"/share/mysql")))
#t)))))))
+(define-public mariadb-connector-c
+ (package
+ (name "mariadb-connector-c")
+ (version "3.1.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://downloads.mariadb.org/f/connector-c-"
+ version "/mariadb-connector-c-"
+ version "-src.tar.gz"))
+ (sha256
+ (base32
+ "083724f5daaqyzdcx508caz6fk2hs89jff85zg28ih43vxkvnrnj"))))
+ (inputs
+ `(("openssl" ,openssl)))
+ (build-system cmake-build-system)
+ (arguments
+ ;; No tests.
+ '(#:tests? #f))
+ (home-page "https://mariadb.com/kb/en/mariadb-connector-c/")
+ (synopsis "Client library to connect to MySQL or MariaDB")
+ (description "The MariaDB Connector/C is used to connect applications
+developed in C/C++ to MariaDB and MySQL databases.")
+ (license license:lgpl2.1+)))
+
;; Don't forget to update the other postgresql packages when upgrading this one.
(define-public postgresql
(package