mosquitto: 1.4 -> 1.4.14

fixes #29567
This commit is contained in:
Volth 2017-09-19 16:12:49 +00:00 committed by Jörg Thalheim
parent 4916f64948
commit 6950da832d

View File

@ -1,17 +1,17 @@
{ stdenv, fetchurl, openssl, libuuid, cmake, libwebsockets }:
{ stdenv, fetchurl, openssl, libuuid, cmake, libwebsockets, c-ares }:
stdenv.mkDerivation rec {
pname = "mosquitto";
version = "1.4";
version = "1.4.14";
name = "${pname}-${version}";
src = fetchurl {
url = http://mosquitto.org/files/source/mosquitto-1.4.tar.gz;
sha256 = "1imw5ps0cqda41b574k8hgz9gdr8yy58f76fg8gw14pdnvf3l7sr";
url = "http://mosquitto.org/files/source/mosquitto-${version}.tar.gz";
sha256 = "1la2577h7hcyj7lq26vizj0sh2zmi9m7nbxjp3aalayi66kiysqm";
};
buildInputs = [ openssl libuuid libwebsockets ]
buildInputs = [ openssl libuuid libwebsockets c-ares ]
++ stdenv.lib.optional stdenv.isDarwin cmake;
makeFlags = [
@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
--replace "/usr/local" ""
substituteInPlace config.mk \
--replace "WITH_WEBSOCKETS:=no" "WITH_WEBSOCKETS:=yes"
'';
meta = {