Unverified Commit facbafb0 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

mosquitto: add nixos test into passthru.tests

parent 98a16180
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, fetchpatch
, nixosTests
}:

let
@@ -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/";