gnu: Add mariadb-connector-c.
* gnu/packages/databases.scm (mariadb-connector-c): New variable.
This commit is contained in:
		
							parent
							
								
									3747ecb1d3
								
							
						
					
					
						commit
						2072bc0838
					
				
					 1 changed files with 26 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue