treewide: generalise for both mysql & mariadb

This commit is contained in:
Robin Gloster
2017-12-29 02:18:35 +01:00
parent 6903ea6050
commit 572b2bda4e
13 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
nettools gettext readline openssl python2 flex ncurses sqlite postgresql
libmysql zlib lzo jansson acl glusterfs libceph libcap rocksdb
mysql.connector-c zlib lzo jansson acl glusterfs libceph libcap rocksdb
];
postPatch = ''
+2 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, glib, zlib, pcre, mariadb, libressl, }:
, glib, zlib, pcre, mysql, libressl }:
stdenv.mkDerivation rec {
version = "0.9.3";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ glib zlib pcre mariadb.client.dev libressl ];
buildInputs = [ glib zlib pcre mysql.connector-c libressl ];
meta = with stdenv.lib; {
description = ''High-perfomance MySQL backup tool'';