libuv: 1.41.1 -> 1.42.0

https://github.com/libuv/libuv/releases/tag/v1.42.0
This commit is contained in:
Mario Rodas 2021-07-20 04:20:00 +00:00
parent 9136bd1e2f
commit 3ba8bc012c

View file

@ -1,25 +1,16 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices }:
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, pkg-config, ApplicationServices, CoreServices }:
stdenv.mkDerivation rec {
version = "1.41.1";
version = "1.42.0";
pname = "libuv";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-cE/Hg9YRYwpjzFg8hp97iuK/fWDTB4tTYYqpLpJgsUg=";
sha256 = "0f6mfbg750q26fa85nhmw2m0gyp8jcp1kyx9zn6lgi8bha5b7kny";
};
patches = [
(fetchpatch {
# Fixes out-of-bounds read in uv__idna_toascii() function
name = "CVE-2021-22918.patch";
url = "https://github.com/libuv/libuv/commit/b7466e31e4bee160d82a68fca11b1f61d46debae.patch";
sha256 = "0fbjy0jh7r9nrd27ag1k6am6d8p5ih7p0ywvjn53nq4cyqdqxhi7";
})
];
postPatch = let
toDisable = [
"getnameinfo_basic" "udp_send_hang_loop" # probably network-dependent