treewide: libmysql -> mysql.connector-c
This commit is contained in:
parent
445e3d7390
commit
6903ea6050
|
@ -4,7 +4,7 @@
|
|||
breeze-icons, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
|
||||
kcrash, kguiaddons, ki18n, kiconthemes, kitemviews, kio, ktexteditor, ktextwidgets,
|
||||
kwidgetsaddons, kxmlgui,
|
||||
kdb, kproperty, kreport, lcms2, libmysql, marble, postgresql
|
||||
kdb, kproperty, kreport, lcms2, mysql, marble, postgresql
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -24,7 +24,7 @@ mkDerivation rec {
|
|||
breeze-icons karchive kcodecs kcompletion kconfig kconfigwidgets kcoreaddons
|
||||
kcrash kguiaddons ki18n kiconthemes kitemviews kio ktexteditor ktextwidgets
|
||||
kwidgetsaddons kxmlgui
|
||||
kdb kproperty kreport lcms2 libmysql marble postgresql
|
||||
kdb kproperty kreport lcms2 mysql.connector-c marble postgresql
|
||||
];
|
||||
|
||||
propagatedUserEnvPkgs = [ kproperty ];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, fetchgit, gambit,
|
||||
coreutils, rsync, bash,
|
||||
openssl, zlib, sqlite, libxml2, libyaml, libmysql, lmdb, leveldb }:
|
||||
openssl, zlib, sqlite, libxml2, libyaml, mysql, lmdb, leveldb }:
|
||||
|
||||
# TODO: distinct packages for gerbil-release and gerbil-devel
|
||||
|
||||
|
@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
gambit
|
||||
coreutils rsync bash
|
||||
openssl zlib sqlite libxml2 libyaml libmysql lmdb leveldb
|
||||
openssl zlib sqlite libxml2 libyaml mysql.connector-c lmdb leveldb
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ];
|
||||
|
||||
postPatch = ''
|
||||
echo '(define (gerbil-version-string) "v${version}")' > src/gerbil/runtime/gx-version.scm
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, boehmgc, zlib, sqlite, pcre, cmake, pkgconfig
|
||||
, git, apacheHttpd, apr, aprutil, mariadb, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
|
||||
, git, apacheHttpd, apr, aprutil, mysql, mbedtls, openssl, pkgs, gtk2, libpthreadstubs
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake pkgconfig git ];
|
||||
buildInputs =
|
||||
[ boehmgc zlib sqlite pcre apacheHttpd apr aprutil
|
||||
mariadb.client mbedtls openssl libpthreadstubs ]
|
||||
mysql.connector-c mbedtls openssl libpthreadstubs ]
|
||||
++ stdenv.lib.optional stdenv.isLinux gtk2
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
||||
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, cmake, sqlite, libmysql, postgresql, unixODBC }:
|
||||
{ stdenv, fetchurl, cmake, sqlite, mysql, postgresql, unixODBC }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cppdb";
|
||||
|
@ -11,9 +11,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ cmake sqlite libmysql postgresql unixODBC ];
|
||||
buildInputs = [ cmake sqlite mysql.connector-c postgresql unixODBC ];
|
||||
|
||||
cmakeFlags = [ "--no-warn-unused-cli" ];
|
||||
NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://cppcms.com/sql/cppdb/;
|
||||
|
@ -23,4 +24,3 @@ stdenv.mkDerivation rec {
|
|||
maintainers = [ maintainers.juliendehos ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
mkDerivation, lib, fetchurl,
|
||||
extra-cmake-modules,
|
||||
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, libmysql
|
||||
qtbase, qttranslations, kcoreaddons, python2, sqlite, postgresql, mysql
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -16,7 +16,7 @@ mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
|
||||
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql libmysql ];
|
||||
buildInputs = [ qttranslations kcoreaddons python2 sqlite postgresql mysql.connector-c ];
|
||||
|
||||
propagatedBuildInputs = [ qtbase ];
|
||||
|
||||
|
|
|
@ -43,13 +43,6 @@
|
|||
"-DMARIADB_INCLUDE_DIR=${mariadb.connector-c}/include/mariadb"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i \
|
||||
-e 's,mariadb_config,mysql_config,g' \
|
||||
-e 's,libmariadbclient,libmysqlclient,g' \
|
||||
cmake/FindMariaDB.cmake
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
fancyName = "MariaDB";
|
||||
driver = "lib/libmyodbc3-3.51.12.so";
|
||||
|
@ -60,7 +53,6 @@
|
|||
homepage = https://downloads.mariadb.org/connector-odbc/;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
|
||||
, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl
|
||||
, pango, fcgi, firebird, mysql, postgresql, graphicsmagick, glew, openssl
|
||||
, pcre
|
||||
}:
|
||||
|
||||
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
cmake boost doxygen qt48Full libharu
|
||||
pango fcgi firebird libmysql postgresql graphicsmagick glew
|
||||
pango fcgi firebird mysql.connector-c postgresql graphicsmagick glew
|
||||
openssl pcre
|
||||
];
|
||||
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
||||
"-DWT_CPP_11_MODE=-std=c++11"
|
||||
"-DGM_PREFIX=${graphicsmagick}"
|
||||
"-DMYSQL_PREFIX=${libmysql}"
|
||||
"-DMYSQL_PREFIX=${mysql.connector-c}"
|
||||
"--no-warn-unused-cli"
|
||||
];
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, libmysql,
|
||||
libaio }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, vim, mysql
|
||||
, libaio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sysbench-1.0.6";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ vim libmysql libaio ];
|
||||
buildInputs = [ vim mysql.connector-c libaio ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "akopytov";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ fetchurl, stdenv, unrar, unzip, SDL, SDL_image, SDL_ttf, SDL_mixer
|
||||
, libmysql, makeWrapper }:
|
||||
, mysql, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "zod-engine-2011-03-18";
|
||||
|
@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
|
|||
sourceRoot=`pwd`/src
|
||||
'';
|
||||
|
||||
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer libmysql makeWrapper ];
|
||||
buildInputs = [ unrar unzip SDL SDL_image SDL_ttf SDL_mixer mysql.connector-c makeWrapper ];
|
||||
|
||||
NIX_LDFLAGS = "-L${stdenv.lib.getLib libmysql}/lib/mysql";
|
||||
NIX_LDFLAGS = "-L${mysql.connector-c}/lib/mysql";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/zod
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{ stdenv, fetchFromGitHub, cmake, libtool, boost, double-conversion, gperftools, icu, libmysql, lz4, openssl, poco, re2, rdkafka, readline, sparsehash, unixODBC, zookeeper_mt, zstd }:
|
||||
{ stdenv, fetchFromGitHub, cmake, libtool, boost, double-conversion, gperftools
|
||||
, icu, mysql, lz4, openssl, poco, re2, rdkafka, readline, sparsehash, unixODBC
|
||||
, zookeeper_mt, zstd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "clickhouse-${version}";
|
||||
|
@ -16,7 +18,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake libtool ];
|
||||
|
||||
buildInputs = [ boost double-conversion gperftools icu libmysql lz4 openssl poco re2 rdkafka readline sparsehash unixODBC zookeeper_mt zstd ];
|
||||
buildInputs = [
|
||||
boost double-conversion gperftools icu mysql.connector-c lz4 openssl poco
|
||||
re2 rdkafka readline sparsehash unixODBC zookeeper_mt zstd
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DENABLE_TESTS=OFF" "-DUNBUNDLED=ON" "-DUSE_STATIC_LIBRARIES=OFF" ];
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
, withMemcached ? false
|
||||
, hiredis
|
||||
, withRedis ? false
|
||||
, libmysql
|
||||
, mysql
|
||||
, withMysql ? false
|
||||
, json_c
|
||||
, withJson ? false
|
||||
|
@ -29,7 +29,7 @@ assert withPcap -> libpcap != null;
|
|||
assert withCap -> libcap != null;
|
||||
assert withMemcached -> libmemcached != null;
|
||||
assert withRedis -> hiredis != null;
|
||||
assert withMysql -> libmysql != null;
|
||||
assert withMysql -> mysql != null;
|
||||
assert withYubikey -> libyubikey != null;
|
||||
assert withCollectd -> collectd != null;
|
||||
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional withCap libcap
|
||||
++ optional withMemcached libmemcached
|
||||
++ optional withRedis hiredis
|
||||
++ optional withMysql libmysql
|
||||
++ optional withMysql mysql.connector-c
|
||||
++ optional withJson json_c
|
||||
++ optional withYubikey libyubikey
|
||||
++ optional withCollectd collectd;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
, bzip2, zlib, inotify-tools, pam, libcap
|
||||
, clucene_core_2, icu, openldap
|
||||
# Auth modules
|
||||
, withMySQL ? false, libmysql
|
||||
, withMySQL ? false, mysql
|
||||
, withPgSQL ? false, postgresql
|
||||
, withSQLite ? true, sqlite
|
||||
}:
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
buildInputs = [ openssl bzip2 zlib clucene_core_2 icu openldap ]
|
||||
++ lib.optionals (stdenv.isLinux) [ systemd pam libcap inotify-tools ]
|
||||
++ lib.optional withMySQL libmysql
|
||||
++ lib.optional withMySQL mysql.connector-c
|
||||
++ lib.optional withPgSQL postgresql
|
||||
++ lib.optional withSQLite sqlite;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, fetchurl, openssl, libevent, libasr,
|
||||
python2, pkgconfig, lua5, perl, mariadb, postgresql, sqlite, hiredis }:
|
||||
python2, pkgconfig, lua5, perl, mysql, postgresql, sqlite, hiredis }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opensmtpd-extras-${version}";
|
||||
version = "5.7.1";
|
||||
|
@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ openssl libevent
|
||||
libasr python2 lua5 perl mariadb.client postgresql sqlite hiredis ];
|
||||
libasr python2 lua5 perl mysql.connector-c postgresql sqlite hiredis ];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
|
@ -54,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||
"--with-perl=${perl}"
|
||||
"--with-filter-perl"
|
||||
|
||||
] ++ stdenv.lib.optional (mariadb != null) [
|
||||
] ++ stdenv.lib.optional (mysql != null) [
|
||||
"--with-table-mysql"
|
||||
|
||||
] ++ stdenv.lib.optional (postgresql != null) [
|
||||
|
@ -67,7 +68,8 @@ stdenv.mkDerivation rec {
|
|||
"--with-table-redis"
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional (hiredis != null) [ "-I${hiredis}/include/hiredis" ];
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional (hiredis != null) "-I${hiredis}/include/hiredis" ++
|
||||
stdenv.lib.optional (mysql != null) "-L${mysql.connector-c}/lib/mysql";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.opensmtpd.org/;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool, flex
|
||||
, readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb
|
||||
, sqlite ? null, postgresql ? null, libmysql ? null, zlib ? null, lzo ? null
|
||||
, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
|
||||
, jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
|
||||
}:
|
||||
|
||||
assert sqlite != null || postgresql != null || libmysql != null;
|
||||
assert sqlite != null || postgresql != null || mysql != null;
|
||||
|
||||
with stdenv.lib;
|
||||
let
|
||||
|
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional (openssl != null) "--with-openssl=${openssl.dev}"
|
||||
++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}"
|
||||
++ optional (postgresql != null) "--with-postgresql=${postgresql}"
|
||||
++ optional (libmysql != null) "--with-mysql=${libmysql}"
|
||||
++ optional (mysql != null) "--with-mysql=${mysql.connector-c}"
|
||||
++ optional (zlib != null) "--with-zlib=${zlib.dev}"
|
||||
++ optional (lzo != null) "--with-lzo=${lzo}"
|
||||
++ optional (jansson != null) "--with-jansson=${jansson}"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchurl, zlib, openssl, ncurses, libidn, pcre, libssh, libmysql, postgresql
|
||||
{ stdenv, lib, fetchurl, zlib, openssl, ncurses, libidn, pcre, libssh, mysql, postgresql
|
||||
, withGUI ? false, makeWrapper, pkgconfig, gtk2 }:
|
||||
|
||||
let
|
||||
|
@ -23,7 +23,7 @@ in stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = lib.optionals withGUI [ pkgconfig makeWrapper ];
|
||||
buildInputs = [ zlib openssl ncurses libidn pcre libssh libmysql postgresql ]
|
||||
buildInputs = [ zlib openssl ncurses libidn pcre libssh mysql.connector-c postgresql ]
|
||||
++ lib.optional withGUI gtk2;
|
||||
|
||||
postInstall = lib.optionalString withGUI ''
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
, libtool ? null
|
||||
, lm_sensors ? null
|
||||
, lvm2 ? null
|
||||
, libmysql ? null
|
||||
, mysql ? null
|
||||
, postgresql ? null
|
||||
, protobufc ? null
|
||||
, python ? null
|
||||
|
@ -50,9 +50,10 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
curl libdbi libgcrypt libmemcached
|
||||
cyrus_sasl libnotify gdk_pixbuf liboping libpcap libvirt
|
||||
libxml2 libmysql postgresql protobufc rrdtool
|
||||
libxml2 postgresql protobufc rrdtool
|
||||
varnish yajl jdk libtool python hiredis libmicrohttpd
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||
] ++ stdenv.lib.optional (mysql != null) mysql.connector-c
|
||||
++ stdenv.lib.optionals stdenv.isLinux [
|
||||
iptables libatasmart libcredis libmodbus libsigrok
|
||||
lm_sensors lvm2 rabbitmq-c udev net_snmp libmnl
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, autoreconfHook, libestr, json_c, zlib, pythonPackages, fastJson
|
||||
, libkrb5 ? null, systemd ? null, jemalloc ? null, libmysql ? null, postgresql ? null
|
||||
, libkrb5 ? null, systemd ? null, jemalloc ? null, mysql ? null, postgresql ? null
|
||||
, libdbi ? null, net_snmp ? null, libuuid ? null, curl ? null, gnutls ? null
|
||||
, libgcrypt ? null, liblognorm ? null, openssl ? null, librelp ? null, libksi ? null
|
||||
, libgt ? null, liblogging ? null, libnet ? null, hadoop ? null, rdkafka ? null
|
||||
|
@ -22,11 +22,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
buildInputs = [
|
||||
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc libmysql
|
||||
fastJson libestr json_c zlib pythonPackages.docutils libkrb5 jemalloc
|
||||
postgresql libdbi net_snmp libuuid curl gnutls libgcrypt liblognorm openssl
|
||||
librelp libgt libksi liblogging libnet hadoop rdkafka libmongo-client czmq
|
||||
rabbitmq-c hiredis
|
||||
] ++ stdenv.lib.optional stdenv.isLinux systemd;
|
||||
] ++ stdenv.lib.optional (mysql != null) mysql.connector-c
|
||||
++ stdenv.lib.optional stdenv.isLinux systemd;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
(mkFlag false "valgrind")
|
||||
(mkFlag false "diagtools")
|
||||
(mkFlag true "usertools")
|
||||
(mkFlag (libmysql != null) "mysql")
|
||||
(mkFlag (mysql != null) "mysql")
|
||||
(mkFlag (postgresql != null) "pgsql")
|
||||
(mkFlag (libdbi != null) "libdbi")
|
||||
(mkFlag (net_snmp != null) "snmp")
|
||||
|
|
|
@ -1254,7 +1254,7 @@ with pkgs;
|
|||
libkrb5 = null;
|
||||
systemd = null;
|
||||
jemalloc = null;
|
||||
libmysql = null;
|
||||
mysql = null;
|
||||
postgresql = null;
|
||||
libdbi = null;
|
||||
net_snmp = null;
|
||||
|
@ -1508,7 +1508,6 @@ with pkgs;
|
|||
convertlit = callPackage ../tools/text/convertlit { };
|
||||
|
||||
collectd = callPackage ../tools/system/collectd {
|
||||
libmysql = mysql.connector-c;
|
||||
libsigrok = libsigrok-0-3-0; # not compatible with >= 0.4.0 yet
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue