Skip to content

Commit

Permalink
zigbee2mqtt: add passthru test
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Aug 3, 2020
1 parent 98c2bd1 commit 87b8364
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/servers/zigbee2mqtt/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 87b8364

Please sign in to comment.