3
0
Fork 0
forked from mirrors/nixpkgs

mariadb-connector-c: 3.1.4 -> 3.1.5

This commit is contained in:
Izorkin 2019-11-11 22:29:01 +03:00 committed by Frederik Rietdijk
parent 8bff104114
commit 571c59fa42
2 changed files with 3 additions and 10 deletions

View file

@ -1,6 +1,6 @@
{ callPackage, ... } @ args:
callPackage ./. (args // {
version = "3.1.4";
sha256 = "05jkaq151a45rqpyh0vrn6xcpawayfxyzhwn1w32hk0fw3z746ks";
version = "3.1.5";
sha256 = "1mfrm595kfnpjladaq6m184npa3rxff9pr1vwa35r057s7nmzpm9";
})

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, fetchpatch
{ stdenv, fetchurl, cmake
, curl, openssl, zlib
, libiconv
, version, sha256, ...
@ -18,13 +18,6 @@ stdenv.mkDerivation {
inherit sha256;
};
patches = stdenv.lib.optionals stdenv.isDarwin [
(fetchpatch {
url = "https://github.com/MariaDB/mariadb-connector-c/commit/ee91b2c98a63acb787114dee4f2694e154630928.patch";
sha256 = "05mlyv20kzn9bax4byv2ph1cf42541fcl1zcqzbfwqmynnisvdah";
})
];
cmakeFlags = [
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-DWITH_CURL=ON"