summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosselin Poiret via Guix-patches via <guix-patches@gnu.org>2021-12-25 12:30:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-17 00:22:27 +0100
commitd669f24ee40114ed0ebe091acc1e72221b259062 (patch)
tree541864eee7d839359bf8bee28fbf8fee3e53c33c
parent863b7b7dd7059e9e2c78f89b501919042159eccd (diff)
gnu: Add poweralertd
* gnu/packages/freedesktop.scm (poweralertd): Add variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/freedesktop.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 2b0739020d..9312c9a1bc 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2428,6 +2428,33 @@ remote-desktop @code{xdg-desktop-portal} interfaces for wlroots based
compositors.")
(license license:expat)))
+(define-public poweralertd
+ (package
+ (name "poweralertd")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~kennylevinsen/poweralertd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19rw9q4pcqw56nmzjfglfikzx5wwjl4n08awwdhg0jy1k0bm3dvp"))))
+ (build-system meson-build-system)
+ (arguments
+ '(#:configure-flags '("-Dman-pages=enabled")))
+ (native-inputs
+ (list scdoc pkg-config bash-minimal))
+ (inputs
+ (list elogind))
+ (home-page "https://sr.ht/~kennylevinsen/poweralertd")
+ (synopsis "Power alert daemon")
+ (description "poweralertd is a daemon that watches for UPower events and
+notifies the user using any notification daemon implementing
+@code{org.freedesktop.Notifications}.")
+ (license license:gpl3+)))
+
(define-public waypipe
(package
(name "waypipe")