3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libmysqlconnectorcpp/default.nix

42 lines
833 B
Nix
Raw Normal View History

libmysqlconnectorcpp: 1.1.9 → 8.0.19 This has been seriously outdated: * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html Expression changes: * Format with nixpkgs-fmt. * Move cmake to nativeBuildInputs. * Use OpenSSL from the system as using the bundled version is now optional. * Use MysQL 8.0 since this is supposed to be used with that version. * Explicitly enable the now legacy JDBC library used by mysql-workbench. * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically. * We just need the build script know it is not a static library.
2020-03-11 20:39:12 +00:00
{ stdenv
, fetchurl
, cmake
, boost
, openssl
, mysql80
}:
stdenv.mkDerivation rec {
pname = "libmysqlconnectorcpp";
2020-05-06 03:32:15 +01:00
version = "8.0.20";
src = fetchurl {
libmysqlconnectorcpp: 1.1.9 → 8.0.19 This has been seriously outdated: * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html Expression changes: * Format with nixpkgs-fmt. * Move cmake to nativeBuildInputs. * Use OpenSSL from the system as using the bundled version is now optional. * Use MysQL 8.0 since this is supposed to be used with that version. * Explicitly enable the now legacy JDBC library used by mysql-workbench. * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically. * We just need the build script know it is not a static library.
2020-03-11 20:39:12 +00:00
url = "https://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-${version}-src.tar.gz";
2020-05-06 03:32:15 +01:00
sha256 = "1jrrbfy6sw4pni72c1hgvchx1zzfpnamp34sjnv82mlvsp8ypsjh";
};
libmysqlconnectorcpp: 1.1.9 → 8.0.19 This has been seriously outdated: * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html Expression changes: * Format with nixpkgs-fmt. * Move cmake to nativeBuildInputs. * Use OpenSSL from the system as using the bundled version is now optional. * Use MysQL 8.0 since this is supposed to be used with that version. * Explicitly enable the now legacy JDBC library used by mysql-workbench. * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically. * We just need the build script know it is not a static library.
2020-03-11 20:39:12 +00:00
nativeBuildInputs = [
cmake
];
libmysqlconnectorcpp: 1.1.9 → 8.0.19 This has been seriously outdated: * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html Expression changes: * Format with nixpkgs-fmt. * Move cmake to nativeBuildInputs. * Use OpenSSL from the system as using the bundled version is now optional. * Use MysQL 8.0 since this is supposed to be used with that version. * Explicitly enable the now legacy JDBC library used by mysql-workbench. * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically. * We just need the build script know it is not a static library.
2020-03-11 20:39:12 +00:00
buildInputs = [
boost
openssl
mysql80
];
cmakeFlags = [
# libmysqlclient is shared library
"-DMYSQLCLIENT_STATIC_LINKING=false"
# still needed for mysql-workbench
"-DWITH_JDBC=true"
];
meta = {
libmysqlconnectorcpp: 1.1.9 → 8.0.19 This has been seriously outdated: * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-1-1-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-1.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-2.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-3.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-2-0-4.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-5.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-6.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-7.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-8-through-10.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-11.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-12.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-13.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-14.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-15.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-16.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-17.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-18.html * https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-19.html Expression changes: * Format with nixpkgs-fmt. * Move cmake to nativeBuildInputs. * Use OpenSSL from the system as using the bundled version is now optional. * Use MysQL 8.0 since this is supposed to be used with that version. * Explicitly enable the now legacy JDBC library used by mysql-workbench. * Remove unnecessary MYSQL_LIB_DIR flag. MySQL will be found automatically. * We just need the build script know it is not a static library.
2020-03-11 20:39:12 +00:00
homepage = "https://dev.mysql.com/downloads/connector/cpp/";
description = "C++ library for connecting to mysql servers.";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}