nixpkgs/pkgs/development/libraries/libmysqlconnectorcpp/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

22 lines
649 B
Nix

{ stdenv, fetchurl, cmake, boost, mysql }:
stdenv.mkDerivation rec {
name = "libmysqlconnectorcpp-${version}";
version = "1.1.9";
src = fetchurl {
url = "https://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;
};
}