mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
apcupsd: add nixosTests.apcupsd to passthru.tests
This commit is contained in:
parent
1b80fc4204
commit
e320029847
1 changed files with 3 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue