mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
parent
4916f64948
commit
6950da832d
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue