@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
1313 sha256 = "0gna53fgsjjs38kv1g20xfaalv0fk3xncb6abga3saswrv283hx0";
1414 };
1515
16+ # these checks are probably network-dependent
17+ postPatch = lib.optionalString doCheck ''
18+ sed '/getnameinfo_basic/d' -i test/test-list.h
19+ '';
20+
1621 buildInputs = [ automake autoconf libtool pkgconfig ]
1722 ++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
1823
@@ -20,6 +25,10 @@ stdenv.mkDerivation rec {
2025 LIBTOOLIZE=libtoolize ./autogen.sh
2126 '';
2227
28+ enableParallelBuilding = true;
29+
30+ doCheck = true;
31+
2332 meta = with lib; {
2433 description = "A multi-platform support library with a focus on asynchronous I/O";
2534 homepage = https://github.com/libuv/libuv;