libuv: enable checks and parallel building
This commit is contained in:
parent
0f7f0ced81
commit
56366b5e66
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0gna53fgsjjs38kv1g20xfaalv0fk3xncb6abga3saswrv283hx0";
|
||||
};
|
||||
|
||||
# these checks are probably network-dependent
|
||||
postPatch = lib.optionalString doCheck ''
|
||||
sed '/getnameinfo_basic/d' -i test/test-list.h
|
||||
'';
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
|
||||
|
||||
|
@ -20,6 +25,10 @@ stdenv.mkDerivation rec {
|
|||
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A multi-platform support library with a focus on asynchronous I/O";
|
||||
homepage = https://github.com/libuv/libuv;
|
||||
|
|
Loading…
Reference in a new issue