[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52738] [PATCH v2] gnu: Add poweralertd
From: |
Josselin Poiret |
Subject: |
[bug#52738] [PATCH v2] gnu: Add poweralertd |
Date: |
Sat, 25 Dec 2021 12:30:57 +0100 |
* gnu/packages/freedesktop.scm (poweralertd): Add variable.
---
Hello,
Here is a modified patch with those changes.
Thanks for the review!
Best,
Josselin
gnu/packages/freedesktop.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index dcd1870e41..e8e1cb9ca4 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2429,6 +2429,33 @@ (define-public xdg-desktop-portal-wlr
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")
--
2.34.0