Merge pull request #256051 from datafoo/mosquitto

mosquitto: 2.0.17 -> 2.0.18
This commit is contained in:
Martin Weinelt 2023-11-01 02:00:39 +01:00 committed by GitHub
commit 0ac7840a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, fetchpatch
, nixosTests
}:
let
@ -28,13 +29,13 @@ let
in
stdenv.mkDerivation rec {
pname = "mosquitto";
version = "2.0.17";
version = "2.0.18";
src = fetchFromGitHub {
owner = "eclipse";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hOnZ6oHLvunZL6MrCmR5GkROQNww34QQ3m4gYDaSpb4=";
sha256 = "sha256-Vs0blV2IhnlEAm0WtOartz+0vLesJfp78FNJCivRxHk=";
};
patches = lib.optionals stdenv.isDarwin [
@ -76,6 +77,10 @@ stdenv.mkDerivation rec {
"-DWITH_WEBSOCKETS=ON"
] ++ lib.optional withSystemd "-DWITH_SYSTEMD=ON";
passthru.tests = {
inherit (nixosTests) mosquitto;
};
meta = with lib; {
description = "An open source MQTT v3.1/3.1.1/5.0 broker";
homepage = "https://mosquitto.org/";