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 { lib, stdenv, fetchurl, writeTextDir 2 - , fetchpatch 3 , withCMake ? true, cmake 4 5 # sensitive downstream packages ··· 14 15 stdenv.mkDerivation rec { 16 pname = "c-ares"; 17 - version = "1.18.1"; 18 outputs = [ "out" "dev" ]; 19 20 src = fetchurl { 21 url = "https://c-ares.haxx.se/download/${pname}-${version}.tar.gz"; 22 - sha256 = "sha256-Gn1SqKhKn7/7G+kTPA9uFyF9kepab6Yfa0cpzaeOu88="; 23 }; 24 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 nativeBuildInputs = lib.optionals withCMake [ cmake ]; 35 36 cmakeFlags = [] ++ lib.optionals stdenv.hostPlatform.isStatic [ ··· 47 meta = with lib; { 48 description = "A C library for asynchronous DNS requests"; 49 homepage = "https://c-ares.haxx.se"; 50 license = licenses.mit; 51 platforms = platforms.all; 52 };
··· 1 { lib, stdenv, fetchurl, writeTextDir 2 , withCMake ? true, cmake 3 4 # sensitive downstream packages ··· 13 14 stdenv.mkDerivation rec { 15 pname = "c-ares"; 16 + version = "1.19.0"; 17 outputs = [ "out" "dev" ]; 18 19 src = fetchurl { 20 url = "https://c-ares.haxx.se/download/${pname}-${version}.tar.gz"; 21 + sha256 = "sha256-v866N+I/1TEpOCkALKwEAe9JptxVkj9/kiNlhbetHdM="; 22 }; 23 24 nativeBuildInputs = lib.optionals withCMake [ cmake ]; 25 26 cmakeFlags = [] ++ lib.optionals stdenv.hostPlatform.isStatic [ ··· 37 meta = with lib; { 38 description = "A C library for asynchronous DNS requests"; 39 homepage = "https://c-ares.haxx.se"; 40 + changelog = "https://c-ares.org/changelog.html#${lib.replaceStrings [ "." ] [ "_" ] version}"; 41 license = licenses.mit; 42 platforms = platforms.all; 43 };