mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
91c162e66a
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.1.9 with grep in /nix/store/vj6fm6qlsf14jlmlhwdyla240jqa6i4h-libmysqlconnectorcpp-1.1.9 - found 1.1.9 in filename of file in /nix/store/vj6fm6qlsf14jlmlhwdyla240jqa6i4h-libmysqlconnectorcpp-1.1.9
23 lines
648 B
Nix
23 lines
648 B
Nix
{ stdenv, fetchurl, cmake, boost, mysql }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmysqlconnectorcpp-${version}";
|
|
version = "1.1.9";
|
|
|
|
src = fetchurl {
|
|
url = "http://cdn.mysql.com/Downloads/Connector-C++/mysql-connector-c++-${version}.tar.gz";
|
|
sha256 = "1r6j17sy5816a2ld759iis2k6igc2w9p70y4nw9w3rd4d5x88c9y";
|
|
};
|
|
|
|
buildInputs = [ cmake boost mysql ];
|
|
|
|
cmakeFlags = [ "-DMYSQL_LIB_DIR=${mysql}/lib" ];
|
|
|
|
meta = {
|
|
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;
|
|
};
|
|
}
|