mosquitto: add nixos test into passthru.tests

This commit is contained in:
Martin Weinelt 2023-10-22 01:11:35 +02:00
parent 98a1618021
commit facbafb04b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -13,6 +13,7 @@
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd , systemd
, fetchpatch , fetchpatch
, nixosTests
}: }:
let let
@ -76,6 +77,10 @@ stdenv.mkDerivation rec {
"-DWITH_WEBSOCKETS=ON" "-DWITH_WEBSOCKETS=ON"
] ++ lib.optional withSystemd "-DWITH_SYSTEMD=ON"; ] ++ lib.optional withSystemd "-DWITH_SYSTEMD=ON";
passthru.tests = {
inherit (nixosTests) mosquitto;
};
meta = with lib; { meta = with lib; {
description = "An open source MQTT v3.1/3.1.1/5.0 broker"; description = "An open source MQTT v3.1/3.1.1/5.0 broker";
homepage = "https://mosquitto.org/"; homepage = "https://mosquitto.org/";