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-07-17 17:50:30 +00:00
version = "8.0.21";
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-07-17 17:50:30 +00:00
sha256 = "08z40419aip26z6ss30g59mvnddb8dfam82l556jyj3gxs0irqbh";
};
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;
};
}