Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 71bde96d2bed
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e23f72ce738
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 31, 2018

  1. Copy the full SHA
    5ace270 View commit details

Commits on Nov 2, 2018

  1. Merge pull request #49548 from dtzWill/update/c-ares-1.15.0

    c-ares: 1.14.0 -> 1.15.0
    dtzWill authored Nov 2, 2018
    Copy the full SHA
    9e23f72 View commit details
Showing with 3 additions and 12 deletions.
  1. +3 −12 pkgs/development/libraries/c-ares/default.nix
15 changes: 3 additions & 12 deletions pkgs/development/libraries/c-ares/default.nix
Original file line number Diff line number Diff line change
@@ -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";