mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
zigbee2mqtt: add passthru test
This commit is contained in:
parent
98c2bd1b13
commit
87b8364851
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user