libwebsockets: revert making libuv a propagated build input

it is possible to use libwebsockets without libuv

cc @volth
This commit is contained in:
Jörg Thalheim 2017-09-20 02:48:25 +01:00
parent 87435a95f8
commit c1de354a3d
2 changed files with 3 additions and 4 deletions

View File

@ -11,8 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1hv2b5r6sg42xnqhm4ysjvyiz3cqpfmwaqm33vpbx0k7arj4ixvy";
};
buildInputs = [ cmake openssl zlib ];
propagatedBuildInputs = [ libuv ];
buildInputs = [ cmake openssl zlib libuv ];
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
meta = {

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, libuuid, cmake, libwebsockets, c-ares }:
{ stdenv, fetchurl, openssl, libuuid, cmake, libwebsockets, c-ares, libuv }:
stdenv.mkDerivation rec {
pname = "mosquitto";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1la2577h7hcyj7lq26vizj0sh2zmi9m7nbxjp3aalayi66kiysqm";
};
buildInputs = [ openssl libuuid libwebsockets c-ares ]
buildInputs = [ openssl libuuid libwebsockets c-ares libuv ]
++ stdenv.lib.optional stdenv.isDarwin cmake;
makeFlags = [