diff options
author | Will Dietz <w@wdtz.org> | 2018-10-31 14:32:30 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-10-31 14:33:53 -0500 |
commit | 5ace2703096f16fa924072f3743d6eaac35bec32 (patch) | |
tree | 5afb4191bbd266ce844da746027d0c49863ebdfa /pkgs/development/libraries | |
parent | e4bfc708e5967d2050c08d3ade580b8bd0c0e4ce (diff) | |
download | nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar.gz nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar.bz2 nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar.lz nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar.xz nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.tar.zst nixlib-5ace2703096f16fa924072f3743d6eaac35bec32.zip |
c-ares: 1.14.0 -> 1.15.0
https://c-ares.haxx.se/changelog.html#1_15_0
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/c-ares/default.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/pkgs/development/libraries/c-ares/default.nix b/pkgs/development/libraries/c-ares/default.nix index 099d02c82639..efe7a5820b53 100644 --- a/pkgs/development/libraries/c-ares/default.nix +++ b/pkgs/development/libraries/c-ares/default.nix @@ -2,23 +2,14 @@ let self = stdenv.mkDerivation rec { - name = "c-ares-1.14.0"; + name = "c-ares-1.15.0"; src = fetchurl { url = "https://c-ares.haxx.se/download/${name}.tar.gz"; - sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5"; + sha256 = "0lk8knip4xk6qzksdkn7085mmgm4ixfczdyyjw656c193y3rgnvc"; }; - configureFlags = if stdenv.hostPlatform.isWindows then [ "--disable-shared" "--enable-static" ] else null; - - # ares_android.h header is missing - # see issue https://github.com/c-ares/c-ares/issues/216 - postPatch = if stdenv.hostPlatform.isAndroid then '' - cp ${fetchurl { - url = "https://raw.githubusercontent.com/c-ares/c-ares/cares-1_14_0/ares_android.h"; - sha256 = "1aw8y6r5c8zq6grjwf4mcm2jj35r5kgdklrp296214s1f1827ps8"; - }} ares_android.h - '' else null; + configureFlags = stdenv.lib.optionals stdenv.hostPlatform.isWindows [ "--disable-shared" "--enable-static" ]; meta = with stdenv.lib; { description = "A C library for asynchronous DNS requests"; |