Merge pull request #217331 from mweinelt/c-ares-1.19.0

c-ares: 1.18.1 -> 1.19.0

authored by

Martin Weinelt and committed by
GitHub
18cb356d 8d3dc41d

+3 -12
+3 -12
pkgs/development/libraries/c-ares/default.nix
··· 1 1 { lib, stdenv, fetchurl, writeTextDir 2 - , fetchpatch 3 2 , withCMake ? true, cmake 4 3 5 4 # sensitive downstream packages ··· 14 13 15 14 stdenv.mkDerivation rec { 16 15 pname = "c-ares"; 17 - version = "1.18.1"; 16 + version = "1.19.0"; 18 17 outputs = [ "out" "dev" ]; 19 18 20 19 src = fetchurl { 21 20 url = "https://c-ares.haxx.se/download/${pname}-${version}.tar.gz"; 22 - sha256 = "sha256-Gn1SqKhKn7/7G+kTPA9uFyF9kepab6Yfa0cpzaeOu88="; 21 + sha256 = "sha256-v866N+I/1TEpOCkALKwEAe9JptxVkj9/kiNlhbetHdM="; 23 22 }; 24 23 25 - # c-ares is used for fetchpatch, so avoid using it for c-aresMinimal 26 - patches = lib.optionals withCMake [ 27 - # fix .pc paths created by cmake build 28 - (fetchpatch { 29 - url = "https://github.com/jonringer/c-ares/commit/9806a8a2f999a8a3efa3c893f2854dce6919d5bb.patch"; 30 - sha256 = "sha256-nh/ZKdan2/FTrouApRQA7O8KGZrLEUuWhxGOktiiGwU="; 31 - }) 32 - ]; 33 - 34 24 nativeBuildInputs = lib.optionals withCMake [ cmake ]; 35 25 36 26 cmakeFlags = [] ++ lib.optionals stdenv.hostPlatform.isStatic [ ··· 47 37 meta = with lib; { 48 38 description = "A C library for asynchronous DNS requests"; 49 39 homepage = "https://c-ares.haxx.se"; 40 + changelog = "https://c-ares.org/changelog.html#${lib.replaceStrings [ "." ] [ "_" ] version}"; 50 41 license = licenses.mit; 51 42 platforms = platforms.all; 52 43 };