zigbee2mqtt: add passthru test

This commit is contained in:
Martin Weinelt 2020-08-03 03:54:40 +02:00
parent 98c2bd1b13
commit 87b8364851
No known key found for this signature in database
GPG Key ID: BD4AA0528F63F17E

View File

@ -1,4 +1,4 @@
{ pkgs, stdenv, system, dataDir ? "/opt/zigbee2mqtt/data" }:
{ pkgs, stdenv, system, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }:
let
package = (import ./node.nix { inherit pkgs system; }).package;
in
@ -23,6 +23,8 @@ package.override rec {
sha256 = "0yv51rds28az5pqzgkprhrzwmky29l1mvqb73l7dbs8qlx8x1x52";
};
passthru.tests.zigbee2mqtt = nixosTests.zigbee2mqtt;
meta = with pkgs.stdenv.lib; {
description = "Zigbee to MQTT bridge using zigbee-shepherd";
license = licenses.gpl3;