···9 sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5";
10 };
1100000000012 meta = with stdenv.lib; {
13 description = "A C library for asynchronous DNS requests";
14 homepage = https://c-ares.haxx.se;
···9 sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5";
10 };
1112+ # ares_android.h header is missing
13+ # see issue https://github.com/c-ares/c-ares/issues/216
14+ postPatch = if stdenv.hostPlatform.isAndroid then ''
15+ cp ${fetchurl {
16+ url = "https://raw.githubusercontent.com/c-ares/c-ares/cares-1_14_0/ares_android.h";
17+ sha256 = "1aw8y6r5c8zq6grjwf4mcm2jj35r5kgdklrp296214s1f1827ps8";
18+ }} ares_android.h
19+ '' else null;
20+21 meta = with stdenv.lib; {
22 description = "A C library for asynchronous DNS requests";
23 homepage = https://c-ares.haxx.se;