Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

treewide: libmysql -> mysql.connector-c

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