diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-10-22 01:11:35 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-11-01 01:01:21 +0000 |
| commit | c1032c1be0010270614c355323438cac00c24bb1 (patch) | |
| tree | c67dfb519315560a1fc35366a1ccb9005f3d26a2 | |
| parent | mosquitto: 2.0.17 -> 2.0.18 (diff) | |
| download | nixpkgs-origin/backport-256051-to-release-23.05.tar.gz | |
mosquitto: add nixos test into passthru.testsorigin/backport-256051-to-release-23.05
(cherry picked from commit facbafb04b0a8b64b108c770958151759578f69d)
| -rw-r--r-- | pkgs/servers/mqtt/mosquitto/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/mqtt/mosquitto/default.nix b/pkgs/servers/mqtt/mosquitto/default.nix index 9c8810ba1e7d..c0c8d4f6980e 100644 --- a/pkgs/servers/mqtt/mosquitto/default.nix +++ b/pkgs/servers/mqtt/mosquitto/default.nix @@ -13,6 +13,7 @@ , withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd , systemd , fetchpatch +, nixosTests }: let @@ -69,6 +70,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/"; |
