libuv: enable checks and parallel building

This commit is contained in:
Vladimír Čunát 2016-11-29 18:40:30 +01:00
parent 0f7f0ced81
commit 56366b5e66
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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;