From 2072bc08385a2703ef7beb1227bf8faae678072a Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sat, 18 Jan 2020 18:39:41 +0100 Subject: gnu: Add mariadb-connector-c. * gnu/packages/databases.scm (mariadb-connector-c): New variable. --- gnu/packages/databases.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/databases.scm') 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 ;;; Copyright © 2019 Pierre Langlois ;;; Copyright © 2019 Guillaume Le Vaillant +;;; Copyright © 2020 Pierre Neidhardt ;;; ;;; 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 -- cgit 1.4.1