mosquitto: add nixos test into passthru.tests
This commit is contained in:
parent
98a1618021
commit
facbafb04b
@ -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/";
|
||||||
|
Loading…
Reference in New Issue
Block a user