git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #49548 from dtzWill/update/c-ares-1.15.0

c-ares: 1.14.0 -> 1.15.0

commit9e23f72ce7382b03a00ff8bc13a6f3d45ac7abf3 authorWill Dietz <github@wdtz.org> dateFri 2 Nov 2018, 03:56 (8 years ago) parent71bde965ace270
1 file changed+3−12
pkgs/development/libraries/c-ares/default.nix+3−12
pkgs/development/libraries/c-ares/default.nix+3−12
@@ -2,23 +2,14 @@
22
33let self =
44stdenv.mkDerivation rec {
5− name = "c-ares-1.14.0";
5+ name = "c-ares-1.15.0";
66
77 src = fetchurl {
88 url = "https://c-ares.haxx.se/download/${name}.tar.gz";
9− sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5";
9+ sha256 = "0lk8knip4xk6qzksdkn7085mmgm4ixfczdyyjw656c193y3rgnvc";
1010 };
1111
12− configureFlags = if stdenv.hostPlatform.isWindows then [ "--disable-shared" "--enable-static" ] else null;
13−
14− # ares_android.h header is missing
15− # see issue https://github.com/c-ares/c-ares/issues/216
16− postPatch = if stdenv.hostPlatform.isAndroid then ''
17− cp ${fetchurl {
18− url = "https://raw.githubusercontent.com/c-ares/c-ares/cares-1_14_0/ares_android.h";
19− sha256 = "1aw8y6r5c8zq6grjwf4mcm2jj35r5kgdklrp296214s1f1827ps8";
20− }} ares_android.h
21− '' else null;
12+ configureFlags = stdenv.lib.optionals stdenv.hostPlatform.isWindows [ "--disable-shared" "--enable-static" ];
2213
2314 meta = with stdenv.lib; {
2415 description = "A C library for asynchronous DNS requests";