Subject: [bug#75528] [PATCH v2 1/2] gnu: Add apcupsd.

From: Tomas Volf <[email-masked]>
Date: Sun, 23 Feb 2025 00:13:38 +0100

Maxim Cournoyer <[email-masked]> writes:

> Hi,
>
> Tomas Volf <[email-masked]> writes:
>
>> * gnu/packages/power.scm (apcupsd): New variable.
>> * gnu/local.mk (GNU_SYSTEM_MODULES): Register the new file.
>
> Edited this one lightly:
>
> modified   gnu/packages/power.scm
> @@ -115,8 +115,9 @@ (define-public apcupsd
>      (inputs (list libusb libusb-compat))
>      (home-page "http://www.apcupsd.org")
>      (synopsis "Daemon for controlling APC UPSes")
> -    (description "The apcupsd can be used for power management and controlling
> -most of APC’s UPS models on Unix and Windows machines.  The apcupsd works with
> -most of APC’s Smart-UPS models as well as most simple signalling models such a
> +    (description "@command{apcupsd} can be used for power management and
> +controlling most of @acronym{APC, American Power Conversion}’s @acronym{UPS,
> +Uninterruptible Power Supply} models.  @command{apcupsd} works with most of
> +APC’s Smart-UPS models as well as most simple signalling models such a
>  Back-UPS, and BackUPS-Office.")
>      (license license:gpl2)))
>
> We do not mention Windows or other nonfree OS support in package
> descriptions as Guix doesn't run natively there anyway and we'd rather
> not advertise them.

Makes sense.

>
> And pushed.  I'm still waiting for a v3 for the service (if you can
> implement the match-record suggestion) to push 2/2.

Will take a look (and hopefully send the patch) tomorrow, sorry for the
delays.  Other things got in the way.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.