From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eDcmAkhnw2EReAEAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 18:58:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +Ig7OUdnw2GBRwAAbx9fmQ (envelope-from ) for ; Wed, 22 Dec 2021 17:58:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA6704DA2 for ; Wed, 22 Dec 2021 18:58:31 +0100 (CET) Received: from localhost ([::1]:42898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n05sk-0007AY-Qt for larch@yhetil.org; Wed, 22 Dec 2021 12:58:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05mU-00036a-Om for guix-patches@gnu.org; Wed, 22 Dec 2021 12:52:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n05mU-0001G7-Dx for guix-patches@gnu.org; Wed, 22 Dec 2021 12:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n05mU-0003cP-AB for guix-patches@gnu.org; Wed, 22 Dec 2021 12:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52738] [PATCH] gnu: Add poweralertd Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Dec 2021 17:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52738 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52738@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164019551113888 (code B ref -1); Wed, 22 Dec 2021 17:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Dec 2021 17:51:51 +0000 Received: from localhost ([127.0.0.1]:59683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n05mJ-0003bw-2q for submit@debbugs.gnu.org; Wed, 22 Dec 2021 12:51:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:53914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n05mH-0003bo-9b for submit@debbugs.gnu.org; Wed, 22 Dec 2021 12:51:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05mG-0002ny-W0 for guix-patches@gnu.org; Wed, 22 Dec 2021 12:51:49 -0500 Received: from jpoiret.xyz ([206.189.101.64]:45712) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05mD-0001EJ-MZ for guix-patches@gnu.org; Wed, 22 Dec 2021 12:51:48 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 1B6A1184F5D; Wed, 22 Dec 2021 17:51:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1640195502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I2ZD9w2h++SwBLJyfPsGFNgnejZx9BTVmqrVB0HZ3Ug=; b=AVTsfwdydcPb1ETyaQTEkX9bUptHvDutIbgC+4WRC+lIGEMieRwi5aqMoW86spPop2zPLH mZUBQPQQTL5kcVWDUNani+2OOOG16MMKwSLOvlwjQRM0lT/T/THAQwhTWt9CGc9oSRtq5p 7uu0gBc6N0M3g21uJOqW+UulmucBt9otJwIja5kv69bbx1lZQqqYOrI+qS5Qy6aYdieQvw DUdFRGNuiahRjx2ySKZWx5khe6GnhJlwM1RU+DWBpf0Evgt2rVk24a2JwXdb9yPNQUbSeP +c100ZLWU2JPj7aI/4KhiBmDabsES3PVV/wJzCfZMpa7Iomay1NFJanBfm6Dag== Date: Wed, 22 Dec 2021 18:51:35 +0100 Message-Id: <20211222175135.8490-1-dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.397, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640195911; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=I2ZD9w2h++SwBLJyfPsGFNgnejZx9BTVmqrVB0HZ3Ug=; b=fr4fD4h9QJ8YVc1R5qNmMXNGEOjYSKuhPz7OiEfcBISdac4yoxEDuqU8BNN8hR6nsMxmT4 yarBzcTZIZX3bMcNQWs4yOkaKVu5X06o2yYiJArKJ0PFR4adFWVCGpjH0HustkoWoG4aWP LDEGiZUyN9Q4BVXNhVZb/1wdiVBIdzXbMs1xUcngQ7Ad6REhJfBH52aeP2INh+HCqz4xZn cYrxLkv4sTPw1VWpCJe3tz6kqi232yXpOsNQSBpF09cVbMe46TS8qYUHWQ7TmKZycCK6He FZLVzKmQ4lcLoNLH3x7m3+wP8C3zZ4N/rin596JsSR6MG3sido5in5plZ8Rh8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640195911; a=rsa-sha256; cv=none; b=oGpuVJCYkPm5DY4aKcgehdCT0w1prBkjltXgD4xCGm43o6l0F+R9lFfSq0g1jVEyRDuI7y BDHhkH6aOKnQk8QlELkYlPqIUU2gklvmWORI86HbaCeBpows9GXjp8zJ4sNeVHL3Bta9l9 kCYtvkhFWUH02fPJlBp5MmaoJ46DTgo3q1XtWq5CxJtvv4+kbuYET6VAt62r7LrA9mCurB /WVBgsdgJ0VUVTru14XNfuiSL/w4vZs2mU+QBgVqlXPoTZtX0DVWRY/gCHVBqn81GLPyWw 4XMrF+hFKO77yrHM6eGbdJvIqYSxGvamPjeocHhKzCnuHq0gnz/B7jkr8IGH0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=AVTsfwdy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=AVTsfwdy; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BA6704DA2 X-Spam-Score: -4.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: IgqKo0IRSBTI * gnu/packages/freedesktop.scm (poweralertd): Add variable. --- gnu/packages/freedesktop.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index dcd1870e41..896f8e2847 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://git.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