diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2021-12-17 15:55:13 -0800 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2021-12-18 00:19:04 -0800 |
commit | 8bbae8e55873b31faf233cd40cf212b0b8b113c6 (patch) | |
tree | d14fbef3bf20bdd9069099485db2c32640b5a81a /pkgs/servers/unifi | |
parent | a4bcad541efd2b1df441c70cf81f05c578c9f018 (diff) |
unifi: Add NixOS tests
Diffstat (limited to 'pkgs/servers/unifi')
-rw-r--r-- | pkgs/servers/unifi/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/unifi/default.nix b/pkgs/servers/unifi/default.nix index c197ca259080b..33f5044cb7640 100644 --- a/pkgs/servers/unifi/default.nix +++ b/pkgs/servers/unifi/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, dpkg, fetchurl, zip }: +{ lib, stdenv, dpkg, fetchurl, zip, nixosTests }: let generic = { version, sha256, suffix ? "", ... } @ args: @@ -28,6 +28,10 @@ let runHook postInstall ''; + passthru.tests = { + unifi = nixosTests.unifi; + }; + meta = with lib; { homepage = "http://www.ubnt.com/"; description = "Controller for Ubiquiti UniFi access points"; |