libuv: 1.10.1 -> 1.11.0

And a nitpick in the expression.
This commit is contained in:
Vladimír Čunát 2017-02-17 14:57:41 +01:00
parent 2cb76ff1ff
commit 292efffb62
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -2,14 +2,14 @@
, ApplicationServices, CoreServices }:
stdenv.mkDerivation rec {
version = "1.10.1";
version = "1.11.0";
name = "libuv-${version}";
src = fetchFromGitHub {
owner = "libuv";
repo = "libuv";
rev = "v${version}";
sha256 = "0gna53fgsjjs38kv1g20xfaalv0fk3xncb6abga3saswrv283hx0";
sha256 = "02sm7f3l0shpfz25b77q2jjvlypc1mmz4zpzfgfmiplhgxxaa6la";
};
postPatch = let
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
sed '/${tdRegexp}/d' -i test/test-list.h
'';
buildInputs = [ automake autoconf libtool pkgconfig ]
++ stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ ApplicationServices CoreServices ];
preConfigure = ''
LIBTOOLIZE=libtoolize ./autogen.sh