apcupsd: add nixosTests.apcupsd to passthru.tests
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, systemd, util-linux, coreutils, wall, hostname, man
|
||||
, enableCgiScripts ? true, gd
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
assert enableCgiScripts -> gd != null;
|
||||
@@ -52,6 +53,8 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
passthru.tests.smoke = nixosTests.apcupsd;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Daemon for controlling APC UPSes";
|
||||
homepage = "http://www.apcupsd.com/";
|
||||
|
||||
Reference in New Issue
Block a user