GNU bug report logs - #57731
[PATCH 0/1] Add batsignal package

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: M <matf@HIDDEN>; Keywords: patch; dated Sun, 11 Sep 2022 13:44:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 19:42:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 15:42:23 2022
Received: from localhost ([127.0.0.1]:43604 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXSqV-0003nK-6C
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:42:23 -0400
Received: from knopi.disroot.org ([178.21.23.139]:36750)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXSqR-0003nB-W9
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:42:22 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 467EC4A047;
 Sun, 11 Sep 2022 21:42:19 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id U-Btl9K5ptbq; Sun, 11 Sep 2022 21:42:17 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662925337; bh=n7Q2xP8p61uOK9KvFuQH41Z/Boi/AA1QgwAL6kliPy4=;
 h=From:To:Cc:Subject:Date;
 b=JwazwmwJwbGMHGfCvWn5VQm+Ion3+coSMMBuS1mWawsyrNGOdTP8iOzguQ1GFsLS3
 VOLJN3kzWQxAlUpIyNtNr1bolhfwN9NWf1Lbp/McoGvybbLclRNs0JcZMj0+HWQJqE
 /iZR1uaR1hJVTl6va1Vz38td8BcJaWtDQroSS2z8YkR1FkMjjHJVptnaDMZdw8KUka
 hSv4QVwvf+PYfn61/iu0qYV//2RqtgdnFiPpPwPT+TmU/cDF7YtgQDkmbl/djQGYP4
 BRwyeTzxWGvay3lguean5wJQrh2ua1+PbxaweP9exqwF9HABhQLvrE4hrzsXogeOXN
 /s/CiDzt7KyOQ==
To: 57731 <at> debbugs.gnu.org
Subject: [PATCH v5] gnu: Add batsignal.
Date: Sun, 11 Sep 2022 21:42:11 +0200
Message-Id: <20220911194211.19915-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
Cc: "\(" <paren@HIDDEN>, M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/monitoring.scm (batsignal): New variable.

Co-authored-by: ( <paren@HIDDEN>
---
 gnu/packages/monitoring.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 47845700ee..8f75eacf9e 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -12,6 +12,8 @@
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@HIDDEN>
 ;;; Copyright © 2022 Paul A. Patience <paul@HIDDEN>
 ;;; Copyright © 2022 Hartmut Goebel <h.goebel@HIDDEN>
+;;; Copyright © 2022 ( <paren@HIDDEN>
+;;; Copyright © 2022 Mathieu Laparie <mlaparie@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -764,3 +766,46 @@ (define-public python-statsd
     (description "StatsD is a friendly front-end to Graphite.  This package
 provides a simple Python client for the StatsD daemon.")
     (license license:expat)))
+
+(define-public batsignal
+  (package
+    (name "batsignal")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/electrickite/batsignal")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-cross-compile
+                 (lambda _
+                   (substitute* "Makefile"
+                     (("pkg-config")
+                      #$(pkg-config-for-target)))))
+               (delete 'configure)
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "./batsignal" "-v")))))))
+    (inputs (list libnotify))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/electrickite/batsignal")
+    (synopsis "Power monitoring tool")
+    (description
+     "This package provides a daemon that monitors device power levels,
+notifying the user and optionally running a command when it reaches
+user-configured power thresholds.  This can be used to force powering off a
+laptop when the battery gets below critical levels, instead of damaging the
+battery.")
+    (license license:isc)))
+
-- 
2.37.2





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 19:32:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 15:32:25 2022
Received: from localhost ([127.0.0.1]:43593 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXSgq-0003YL-UD
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:32:25 -0400
Received: from knopi.disroot.org ([178.21.23.139]:46616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1oXSgo-0003YD-Kc
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:32:22 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 14AA74A040;
 Sun, 11 Sep 2022 21:32:22 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 7TFC5R5-M65Q; Sun, 11 Sep 2022 21:32:21 +0200 (CEST)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1662924741; bh=xDlOs6BOi5r09aM+C/BE25FKjfxSEChVZ++i8l3vHLQ=;
 h=Date:Subject:From:To:References:In-Reply-To;
 b=BdihgEVtOQGU6pt1bHKvWhtFYs3N5wxRBYqvQx/e7BjTVQ69ZeYYjPFC9AdOsQHVA
 w2or0o0PKROBW02g2wI4BksiNeBXIBFNflcV8PR8KP3bQ1ErJiPh3UnAIuFcTvb2Ca
 uVGbif5Pbxzl/tyh1J3UdYRGcQAKRvuCaRxUMk13lgPDOYuhIa34ALlEYuWJbYSciU
 1Lvd5TtdHb63JHdTLTzLbirpQOxBSVSCig44l3EdXEVwJdZ9y7fhIQHdJov7a2QIyE
 5a9+3sEpKa6YEJQ5k57mDFiuiZx+3bHtIdXJbJmvrzZpCsS14JKrIkZl95kJWk46mU
 q83zWKPE+2kQw==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Date: Sun, 11 Sep 2022 20:32:20 +0100
Message-Id: <CMTTMFITSZQU.2UKFVHEBWACUI@guix-aspire>
Subject: Re: [PATCH v4] gnu: Add batsignal.
From: "(" <paren@HIDDEN>
To: "M" <matf@HIDDEN>, <57731 <at> debbugs.gnu.org>
References: <20220911192905.13238-1-matf@HIDDEN>
In-Reply-To: <20220911192905.13238-1-matf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 57731
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

LGTM!

    -- (




Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 19:29:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 15:29:26 2022
Received: from localhost ([127.0.0.1]:43583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXSdy-0003Rn-3J
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:29:26 -0400
Received: from knopi.disroot.org ([178.21.23.139]:59480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXSds-0003Rc-VS
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:29:24 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 2E57249FE3;
 Sun, 11 Sep 2022 21:29:20 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id C9HlKazRVodz; Sun, 11 Sep 2022 21:29:18 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662924558; bh=omwSQ82hFluwndpkP4l2ZmV82R03AbQZN0z93BqNLSk=;
 h=From:To:Cc:Subject:Date;
 b=tfbOhBfpjcxP4yeLAnci9FjuNj2UZHNYcUPDNWpedEgoOZtohZgk5dwolnQJVj+rr
 yp6YDC6+kAdZevQJYddPC2Cnu5MQuhRxOVBilgygvytU6HuaZ8ZAVmW0ZG0APB7K75
 +N+c1Bw74pdRCFGQoxu51ZuHbhQQcCIGaRHlfTC6Ugin7L24fBa9LBJglXAjsi0w6w
 nOevHNla5I1Y/1cRqiZRbGUbU0z4T1xyPHrE84jcLctAtG/15Y3ILJbf6zS8RSzIRH
 7ttopzYCPHnzeCs0u9JwcMPxuPI8p6u0g8vLEaSejZMOZf7bOG/ppnywrvGneWIgpQ
 H2iIO9BbnzglQ==
To: 57731 <at> debbugs.gnu.org
Subject: [PATCH v4] gnu: Add batsignal.
Date: Sun, 11 Sep 2022 21:29:05 +0200
Message-Id: <20220911192905.13238-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
Cc: "\(" <paren@HIDDEN>, M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/monitoring.scm (batsignal): New variable.

Co-authored-by: ( <paren@HIDDEN>
---
 gnu/packages/monitoring.scm | 43 +++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 47845700ee..608973f9c2 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -764,3 +764,46 @@ (define-public python-statsd
     (description "StatsD is a friendly front-end to Graphite.  This package
 provides a simple Python client for the StatsD daemon.")
     (license license:expat)))
+
+(define-public batsignal
+  (package
+    (name "batsignal")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/electrickite/batsignal")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-cross-compile
+                 (lambda _
+                   (substitute* "Makefile"
+                     (("pkg-config")
+                      #$(pkg-config-for-target)))))
+               (delete 'configure)
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "./batsignal" "-v")))))))
+    (inputs (list libnotify))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/electrickite/batsignal")
+    (synopsis "Power monitoring tool")
+    (description
+     "This package provides a daemon that monitors device power levels,
+notifying the user and optionally running a command when it reaches
+user-configured power thresholds.  This can be used to force powering off a
+laptop when the battery gets below critical levels, instead of damaging the
+battery.")
+    (license license:isc)))
+
-- 
2.37.2





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 19:16:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 15:16:54 2022
Received: from localhost ([127.0.0.1]:43535 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXSRq-00037s-Fx
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:16:54 -0400
Received: from knopi.disroot.org ([178.21.23.139]:56976)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXSRk-00037b-Jn
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 15:16:52 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id D809C4A037;
 Sun, 11 Sep 2022 21:16:46 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with UTF8SMTP id w53pcMdN6ENN; Sun, 11 Sep 2022 21:16:45 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662923804; bh=DNNjmNKQtvQAhaBIZWib6PH8962JPAnU/I1Qvpj8xJI=;
 h=From:To:Cc:Subject:Date;
 b=NaNl6TjAFPvDPN/bzcTwRfew0miUzTORK0jUOkENeahOqppCXuxR9gVB01E70/uLj
 vQ+rn4x25mYjmjE5MlQ+Nox57Jq6jecLgYB5LeEdkrMu0I6Uf5tPGtL9EP7s2FgD+q
 rivPhkvZc5W8M+YTfFCX49EQGZhumxsrdKsZr17c0FCw+9aUNOCh8yEXMdYcNiOfsJ
 JAZDhYsl50f8TtwP25vok3mXV7AhFq5K9MNpDx4zWf6G5aqqDW6OAHVz+dLxfWaO3c
 zT6U7zRJyg84wZX65n8RJe31Q2pPJIGtVesWUHt+mqJ5iCXX1r1X6GHFh+CHIawuk/
 xGM3xlA7lH+6g==
To: 57731 <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: Add batsignal.
Date: Sun, 11 Sep 2022 21:16:35 +0200
Message-Id: <20220911191636.5369-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
Cc: M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/monitoring.scm (batsignal): New variable.
  Co-authored-by: ( <paren@HIDDEN>
---
 gnu/packages/monitoring.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 47845700ee..7f665e931f 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -12,6 +12,8 @@
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@HIDDEN>
 ;;; Copyright © 2022 Paul A. Patience <paul@HIDDEN>
 ;;; Copyright © 2022 Hartmut Goebel <h.goebel@HIDDEN>
+;;; Copyright © 2022 ( <paren@HIDDEN>
+;;; Copyright © 2022 Mathieu Laparie <mlaparie@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,6 +52,7 @@ (define-module (gnu packages monitoring)
   #:use-module (gnu packages django)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages image)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages ncurses)
@@ -764,3 +767,45 @@ (define-public python-statsd
     (description "StatsD is a friendly front-end to Graphite.  This package
 provides a simple Python client for the StatsD daemon.")
     (license license:expat)))
+
+(define-public batsignal
+  (package
+    (name "batsignal")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/electrickite/batsignal")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-cross-compile
+                 (lambda _
+                   (substitute* "Makefile"
+                     (("pkg-config")
+                      #$(pkg-config-for-target)))))
+               (delete 'configure)
+                            (replace 'check
+               (lambda* (#:key tests? #:allow-other-keys)
+                 (when tests?
+                   (invoke "./batsignal" "-v")))))))
+    (inputs (list libnotify))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/electrickite/batsignal")
+    (synopsis "Power monitoring tool")
+    (description
+     "This package provides a daemon that monitors device power levels,
+notifying the user and optionally running a command when it reaches
+user-configured power thresholds.  This can be used to force powering off a
+laptop when the battery gets below critical levels, instead of damaging the
+battery.")
+    (license license:isc)))
-- 
2.37.2





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 16:12:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 12:12:32 2022
Received: from localhost ([127.0.0.1]:43245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXPZP-0004Sr-Pm
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 12:12:32 -0400
Received: from knopi.disroot.org ([178.21.23.139]:57766)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXPZN-0004Sh-Fm
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 12:12:30 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id C8D9A40120;
 Sun, 11 Sep 2022 18:12:27 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id WAZkYhxl7cXc; Sun, 11 Sep 2022 18:12:26 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662912746; bh=4QeQuCgYzDmzzLe5y9XlXKH2SJ/dVVERBkP7ttD66l4=;
 h=From:To:Cc:Subject:Date;
 b=JOS30NUFosIW3CzVXEGAWTjf6DRPCe+i+TGEoQVcmQ+2LEfAKTb/tYu2qKbymOc3R
 6irxLJ3LvOkIceuFcnOpqPMwBkxzTMgyuDEoVKEKVcMMy1eS7J9/WcicgUqA7ilI4L
 ma4/NEfjAvbiCENLB280jihABEFYgdjQHeirofvZz10qLBjKy0QmPpbJs40xa5b6P2
 Hs3iallQvfkHxrbE983OynVDCXcHfb8UvEiTqmcLUwry++EJxGlroSe6SJV/Csye3q
 l3XqlF5NDWPTiO8rRpJ15mywT3gty1NnJGU/l3OLTQfwQNCXXR+udn5Ato0GIb0OfA
 NX27xb+ICtdkw==
To: 57731 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add batsignal.
Date: Sun, 11 Sep 2022 18:12:13 +0200
Message-Id: <20220911161213.12192-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
Cc: M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/monitoring.scm (batsignal): New variable.
  Co-authored by unmatched-paren and matf
---
 gnu/packages/monitoring.scm | 45 +++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 47845700ee..459b8d8539 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -12,6 +12,8 @@
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@HIDDEN>
 ;;; Copyright © 2022 Paul A. Patience <paul@HIDDEN>
 ;;; Copyright © 2022 Hartmut Goebel <h.goebel@HIDDEN>
+;;; Copyright © 2022 ( <paren@HIDDEN>
+;;; Copyright © 2022 Mathieu Laparie <mlaparie@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,6 +52,7 @@ (define-module (gnu packages monitoring)
   #:use-module (gnu packages django)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages image)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages ncurses)
@@ -764,3 +767,45 @@ (define-public python-statsd
     (description "StatsD is a friendly front-end to Graphite.  This package
 provides a simple Python client for the StatsD daemon.")
     (license license:expat)))
+
+(define-public batsignal
+  (package
+    (name "batsignal")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/electrickite/batsignal")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:make-flags
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-cross-compile
+                 (lambda _
+                   (substitute* "Makefile"
+                     (("pkg-config")
+                      #$(pkg-config-for-target)))))
+               (delete 'configure)
+                            (replace 'check
+               (lambda* (#:key tests? #:allow-other-keys)
+                 (when tests?
+                   (invoke "./batsignal" "-v")))))))
+    (inputs (list libnotify))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/electrickite/batsignal")
+    (synopsis "Power monitoring tool")
+    (description
+     "This package provides a daemon that monitors device power
+levels, notifying the user and optionally running a command when
+it reaches user-configured power thresholds. This can be used to force powering
+off a laptop when the battery gets below critical levels, instead of damaging
+the battery.")
+    (license license:isc)))
-- 
2.37.2





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 14:34:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 10:34:49 2022
Received: from localhost ([127.0.0.1]:43131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXO2r-0001Yp-Bh
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:34:49 -0400
Received: from albert.telenet-ops.be ([195.130.137.90]:56762)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1oXO2p-0001Y7-Bo
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:34:47 -0400
Received: from [192.168.101.79] ([188.189.36.122])
 by albert.telenet-ops.be with bizsmtp
 id Jeal2800U2e7A3g06eamYE; Sun, 11 Sep 2022 16:34:46 +0200
Message-ID: <1f3a41ea-cd8e-8d5a-e092-0c81c3b9d3ad@HIDDEN>
Date: Sun, 11 Sep 2022 16:34:45 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Subject: Re: [bug#57731] [PATCH 0/1] Add batsignal package
Content-Language: en-US
To: M <matf@HIDDEN>, 57731 <at> debbugs.gnu.org
References: <20220911134305.14581-1-matf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <20220911134305.14581-1-matf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------Q2kfXToSGgbGUxmBFXDnESwV"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1662906886; bh=s9Ih8frGlukByXvzZ9FyVCg2M5Ok2r3+EfXbAnxNqic=;
 h=Date:Subject:To:References:From:In-Reply-To;
 b=QV0PyVyK01Rx7pk4alaCFXyeEUdewduu8VfdrMKCXJOQxNbPCsvM6AaRLlrem5mv0
 ERhqY7rnPACTPJ6zXMngCA7RmLNlfcGPQ/Al7ZQQq7MvKtvI1w2GgjV/BSwO94CzEo
 if5OUlWMz2FZrLIrx+VNFZ9uiE3diRq7Mo/wWoKDLItqmm0PeBNr3y+xYoJyFmVKSF
 HOiaJ5AUnIoc54EvtPNUlJLK1dKuUXmzOGUBgkV2PVHqK/YsrjsXdy9bMwPGmUbVvd
 IdGyVE7QxuvLUHZeT1KKhn6qO51EUhs2pgjpvGH2RbWZhNAgn1E6kyzQwQEezfmowR
 llFZOuvbdvLFQ==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------Q2kfXToSGgbGUxmBFXDnESwV
Content-Type: multipart/mixed; boundary="------------WFp6IMumUlT0s6FWxTSZDB4g";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: M <matf@HIDDEN>, 57731 <at> debbugs.gnu.org
Message-ID: <1f3a41ea-cd8e-8d5a-e092-0c81c3b9d3ad@HIDDEN>
Subject: Re: [bug#57731] [PATCH 0/1] Add batsignal package
References: <20220911134305.14581-1-matf@HIDDEN>
In-Reply-To: <20220911134305.14581-1-matf@HIDDEN>

--------------WFp6IMumUlT0s6FWxTSZDB4g
Content-Type: multipart/mixed; boundary="------------0jKLw8TbWPk4ceSyjE1k1kOS"

--------------0jKLw8TbWPk4ceSyjE1k1kOS
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQoNCk9uIDExLTA5LTIwMjIgMTU6NDMsIE0gd3JvdGU6DQo+IGJhdHNpZ25hbCBjYW4gc2Vu
ZCBkZXNrdG9wIG5vdGlmaWNhdGlvbnMgYXQgc2V0IGJhdHRlcnkgbGV2ZWxzLCBhbmQgY2Fu
IHJ1biBhDQo+IGNvbW1hbmQgd2hlbiB0aGUgYmF0dGVyeSBsZXZlbCBnZXRzIGRhbmdlcm91
c2x5IGxvdy4gVGhpcyBjYW4gYmUgdXNlZCB0byBmb3JjZQ0KPiBwb3dlcmluZyBvZmYgYSBs
YXB0b3Agd2hlbiBiYXR0ZXJ5IGdldHMgYmVsb3cgY3JpdGljYWwgbGV2ZWxzLCBpbnN0ZWFk
IG9mDQo+IGRhbWFnaW5nIHRoZSBiYXR0ZXJ5Lg0KDQpUaGlzIGxvb2tzIGxpa2UgYSBnb29k
IGRlc2NyaXB0aW9uIHRvIG1lLCBjYW4geW91IGludGVncmF0ZSB0aGUgJ1RoaXMgDQpjYW4g
YmUgdXNlZCB0byBmb3JjZSBwb3dlcmluZyBvZmYgYSBsYXB0b3Agd2hlbiB0aGUgYmF0dGVy
eSBnZXRzIGJlbG93IA0KY3JpdGljYWwgbGV2ZWxzLCBpbnN0ZWFkIG9mIGRhbWFnaW5nIHRo
ZSBiYXR0ZXJ54oCZIGluIHRoZSBwYWNrYWdlIA0KZGVzY3JpcHRpb24/ICBJdCBzZWVtcyBs
aWtlIGEgd2lkZWx5IHVzZWZ1bCBhbmQgc2ltcGxlIGV4YW1wbGUgdXNhZ2UuDQoNCkdyZWV0
aW5ncywNCk1heGltZS4NCg==
--------------0jKLw8TbWPk4ceSyjE1k1kOS
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------0jKLw8TbWPk4ceSyjE1k1kOS--

--------------WFp6IMumUlT0s6FWxTSZDB4g--

--------------Q2kfXToSGgbGUxmBFXDnESwV
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYx3yBQUDAAAAAAAKCRBJ4+4iGRcl7uNv
AQCTsi1GjrhUxHiH8fErfgUdKIUTuF/VSupj2A9PREmqfAEA+j6AJwwaRWvH0rmMzzb/Zb9Zpy/w
cc+VsOcbcv6xpA0=
=eaJ1
-----END PGP SIGNATURE-----

--------------Q2kfXToSGgbGUxmBFXDnESwV--




Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 14:31:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 10:31:27 2022
Received: from localhost ([127.0.0.1]:43113 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXNzb-0001Qc-7V
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:31:27 -0400
Received: from albert.telenet-ops.be ([195.130.137.90]:53158)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1oXNza-0001QS-2O
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:31:26 -0400
Received: from [192.168.101.79] ([188.189.36.122])
 by albert.telenet-ops.be with bizsmtp
 id JeXL2800H2e7A3g06eXLpu; Sun, 11 Sep 2022 16:31:22 +0200
Message-ID: <69940359-33ee-9423-9057-8f961b590662@HIDDEN>
Date: Sun, 11 Sep 2022 16:31:20 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.12.0
Subject: Re: [bug#57731] [PATCH 1/1] gnu: Add batsignal.
Content-Language: en-US
To: M <matf@HIDDEN>, 57731 <at> debbugs.gnu.org
References: <20220911134305.14581-1-matf@HIDDEN>
 <20220911134734.16642-1-matf@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
In-Reply-To: <20220911134734.16642-1-matf@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------lu3Ro0WT4vc0VxuswHsBXjif"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1662906682; bh=JiJ9dsl8zki3LOQ0GgmSaqdwXlcikGA4ObYppTjWshM=;
 h=Date:Subject:To:References:From:In-Reply-To;
 b=ZdBMUeT4It79R6MCuMT173sFaw/ve3YsGVoFEqkH/Ku1g0keQZpAXUVVDk4jHT6WS
 ZupIEr516Nt57USLT0FtTrzUVqTLSd6AYybRdzY+fWArweLzS9PJ6f9lGYgELeZQyF
 DOPvybbttFPbBaL3WCnq2St4TSsQVV4Vmugqe/6OjJ0QsnOogXx1bwiADYgaPLExFZ
 L1U/80/JF7nSpW/CqcZ99J03Fv/C2/KTdd6BwYwIhPn3wxVipK64RLM8BcAkUG9oii
 1Tbwhhj58iXdEi/dcmu12FsBkhbJwzcmYY225APgkR2Lzhuwq1NAPnjveFdb+zczpo
 UtchJsuvbC7/w==
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------lu3Ro0WT4vc0VxuswHsBXjif
Content-Type: multipart/mixed; boundary="------------sKWK3ewsAJHmp2cd7RO1vkeT";
 protected-headers="v1"
From: Maxime Devos <maximedevos@HIDDEN>
To: M <matf@HIDDEN>, 57731 <at> debbugs.gnu.org
Message-ID: <69940359-33ee-9423-9057-8f961b590662@HIDDEN>
Subject: Re: [bug#57731] [PATCH 1/1] gnu: Add batsignal.
References: <20220911134305.14581-1-matf@HIDDEN>
 <20220911134734.16642-1-matf@HIDDEN>
In-Reply-To: <20220911134734.16642-1-matf@HIDDEN>

--------------sKWK3ewsAJHmp2cd7RO1vkeT
Content-Type: multipart/mixed; boundary="------------X9pRx0lWwlvMr0ah8CD0a01V"

--------------X9pRx0lWwlvMr0ah8CD0a01V
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64

DQoNCk9uIDExLTA5LTIwMjIgMTU6NDcsIE0gd3JvdGU6DQo+ICsgICAgKGFyZ3VtZW50cw0K
PiArICAgICAobGlzdCAjOnRlc3RzPyAjZiA7OyBiYXRzaWduYWwncyB0ZXN0cyBkZXBlbmQg
b24gZG9ja2VyDQo+ICsgICAgICAgICAgICM6cGhhc2VzDQo+ICsgICAgICAgICAgICN+KG1v
ZGlmeS1waGFzZXMgJXN0YW5kYXJkLXBoYXNlcyAoZGVsZXRlICdjb25maWd1cmUpKQ0KPiAr
ICAgICAgICAgICAjOm1ha2UtZmxhZ3MNCj4gKyAgICAgICAgICAgI34obGlzdCAoc3RyaW5n
LWFwcGVuZCAiUFJFRklYPSIgIyRvdXRwdXQpDQo+ICsgICAgICAgICAgICAgICAgICAgKHN0
cmluZy1hcHBlbmQgIkNDPSIgIyQoY2MtZm9yLXRhcmdldCkpKSkpDQo+ICsgICAgKGlucHV0
cyAobGlzdCBsaWJub3RpZnkpKQ0KDQpUaGUgbWFrZWZpbGUgdXNlcyBwa2ctY29uZmlnLiAg
SG93ZXZlciwgd2hlbiBjcm9zcy1jb21waWxpbmcsDQpUQVJHRVQtcGtnLWNvbmZpZyBpcyBy
ZXF1aXJlZCBpbnN0ZWFkLiAgVG8gc29sdmUgdGhpcywgeW91IHdpbGwgbmVlZCB0byANCidz
dWJzdGl0dXRlKicgcGtnLWNvbmZpZyB0byAjJChwa2ctY29uZmlnLWZvci10YXJnZXQpLiAg
Rm9yIGFuIGV4YW1wbGUsIA0Kc2VlIG9wZW5zbXRwZC1maWx0ZXItZGtpbXNpZ24uDQoNCihV
bmZvcnR1bmF0ZWx5IHRoZSBkZXBlbmRlbmN5IGxpYnRpcnBjIGlzIG5vdCB5ZXQgY3Jvc3Mt
Y29tcGlsYWJsZSAuLi4pDQoNCkdyZWV0aW5ncywNCk1heGltZS4NCg==
--------------X9pRx0lWwlvMr0ah8CD0a01V
Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc"
Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc"
Content-Description: OpenPGP public key
Content-Transfer-Encoding: quoted-printable

-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m
xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2
ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL
CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc
/gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4
LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C
kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK
CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W
ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ
Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0
k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo
AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE
fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D
=3DOVqp
-----END PGP PUBLIC KEY BLOCK-----

--------------X9pRx0lWwlvMr0ah8CD0a01V--

--------------sKWK3ewsAJHmp2cd7RO1vkeT--

--------------lu3Ro0WT4vc0VxuswHsBXjif
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYx3xOAUDAAAAAAAKCRBJ4+4iGRcl7pge
AP9+pH5teFXaQQfBj1hKS7N7lbdDUyG2ij3I0KoA/gDCzgEA9iAuJgiaCInngABtiiV7cfnvQbgV
qiyxRR4khmVbLAU=
=ePIb
-----END PGP SIGNATURE-----

--------------lu3Ro0WT4vc0VxuswHsBXjif--




Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 14:02:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 10:02:32 2022
Received: from localhost ([127.0.0.1]:43009 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXNXc-0000Ot-Ds
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:02:32 -0400
Received: from mail-ej1-f66.google.com ([209.85.218.66]:37391)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1oXNXY-0000Ob-Ib
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 10:02:30 -0400
Received: by mail-ej1-f66.google.com with SMTP id nc14so14588507ejc.4
 for <57731 <at> debbugs.gnu.org>; Sun, 11 Sep 2022 07:02:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:references
 :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date;
 bh=5UuQnZSWLWB9bPoWkIiLueXumwP2d0vECPKHdOEiP34=;
 b=dpKxmSDAj8YwB7yb3jXIRyxcY2LrN3wqNSK/8yLBF2EAYV7yZ/1BiB8xSZnvcRffjQ
 PB9gR/fk7EsbkglkdQGyUdCzPms3YiLm3MjeE4qOCLk9F3OnhFxC0S9HNiSZUVFb54hW
 GMDOmY7cOZRAmbVskkr2PsNr4UokBjJOyhADi9oPn5NiGLkwhzY6Nhll2eZ3jeHAQna/
 4oF/PHCemop/SX6Hsgx9b4PqT0abE6S2jbWlgK1YXGpnz4FwFU1u9j9a4BIR//Ceas82
 lsm9V3DsDDA6zrh87/8IdNH7CvyCF47RXaPyWs1eSykdQkvuzq+lzpCQwMrXGpE+YSGk
 0x1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:user-agent:references
 :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from
 :to:cc:subject:date;
 bh=5UuQnZSWLWB9bPoWkIiLueXumwP2d0vECPKHdOEiP34=;
 b=Grlk36T+AqITX32+pnM8k2PeK4zB1qU4QS24qLMm/QM89Mq1y296wNoU/xbN4O4Xdi
 Cd9sRQAnUeMMuaz90w7HOXrFvNtsbT3OPtck8YuLCsokprGa6S8GNkHTH4siWLX43rrC
 2SraX5AFuiWCQ4XBeympAjsVkYgAY4m+mL+bFzDtDkiDyjDK2igswgzZR4wjgDN72wYP
 CaeTJkgx77D+IxNus/gKCBXefMZBLmSxet7K5hmaCBKKbXdM+axPc7gEp8lUFGwLWyjy
 yDlFWY3urSu42MhhqtV/vBcsOGUZ4eZOl8Y3a1tqw6VSZ7B3EZ2wN9BofvrEconKNjL2
 cjgw==
X-Gm-Message-State: ACgBeo2XShxX2S+yz/3tbfFf0Xt/70t87dI9X7u/+PEUZb4aa94VnRvW
 j0e+wXC+nlZ+m+QDNscFP/8=
X-Google-Smtp-Source: AA6agR5r8qe08OVkQ79smixLMIB4QzkgtBRjX+WNM2fqFzG68Ye1df0knfJBa0YH+eB08JDjZ60NOA==
X-Received: by 2002:a17:907:2cee:b0:779:d10c:25a5 with SMTP id
 hz14-20020a1709072cee00b00779d10c25a5mr8290721ejc.678.1662904942559; 
 Sun, 11 Sep 2022 07:02:22 -0700 (PDT)
Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 kv6-20020a17090778c600b0077205dd15basm2685599ejc.66.2022.09.11.07.02.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 11 Sep 2022 07:02:22 -0700 (PDT)
Message-ID: <aa87693ca23e9f15f6a5f9dd994c77f9fe980c0a.camel@HIDDEN>
Subject: Re: [PATCH 1/1] gnu: Add batsignal.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: M <matf@HIDDEN>, 57731 <at> debbugs.gnu.org
Date: Sun, 11 Sep 2022 16:02:19 +0200
In-Reply-To: <20220911134734.16642-1-matf@HIDDEN>
References: <20220911134734.16642-1-matf@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.42.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi

Am Sonntag, dem 11.09.2022 um 15:47 +0200 schrieb M:
> * gnu/packages/monitoring.scm (batsignal): New variable.
> ---
>  gnu/packages/monitoring.scm | 34 ++++++++++++++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
> 
> diff --git a/gnu/packages/monitoring.scm
> b/gnu/packages/monitoring.scm
> index 47845700ee..bccf03ae06 100644
> --- a/gnu/packages/monitoring.scm
> +++ b/gnu/packages/monitoring.scm
> @@ -12,6 +12,8 @@
>  ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@HIDDEN>
>  ;;; Copyright © 2022 Paul A. Patience <paul@HIDDEN>
>  ;;; Copyright © 2022 Hartmut Goebel <h.goebel@HIDDEN>
> +;;; Copyright © 2022 ( <paren@HIDDEN>
> +;;; Copyright © 2022 Mathieu Laparie <mlaparie@HIDDEN>
Did you two co-author the patch?  If so, add a "Co-authored-by" trailer
to the commit message.  Also, your copyright mail does not match the
sender, you may want to fix that.
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -50,6 +52,7 @@ (define-module (gnu packages monitoring)
>    #:use-module (gnu packages django)
>    #:use-module (gnu packages gd)
>    #:use-module (gnu packages gettext)
> +  #:use-module (gnu packages gnome)
>    #:use-module (gnu packages image)
>    #:use-module (gnu packages mail)
>    #:use-module (gnu packages ncurses)
> @@ -764,3 +767,34 @@ (define-public python-statsd
>      (description "StatsD is a friendly front-end to Graphite.  This
> package
>  provides a simple Python client for the StatsD daemon.")
>      (license license:expat)))
> +
> +(define-public batsignal
> +  (package
> +    (name "batsignal")
> +    (version "1.6.0")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url
> "https://github.com/electrickite/batsignal")
> +                    (commit version)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     (list #:tests? #f ;; batsignal's tests depend on docker
The test appears to be running "batsignal -v", which we could do in the
build container as well.
> +           #:phases
> +           #~(modify-phases %standard-phases (delete 'configure))
By convention #:phases is the last argument to set.
> +           #:make-flags
> +           #~(list (string-append "PREFIX=" #$output)
> +                   (string-append "CC=" #$(cc-for-target)))))
> +    (inputs (list libnotify))
> +    (native-inputs (list pkg-config))
> +    (home-page "https://github.com/electrickite/batsignal")
> +    (synopsis "Simple power monitoring tool")
"Power monitoring tool"
> +    (description
> +     "This package provides a daemon that monitors device power
> +levels, notifying the user and optionally running a command when
> +it reaches user-configured power thresholds.")
> +    (license license:isc)))
Cheers.





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at 57731 <at> debbugs.gnu.org:


Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 13:47:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 09:47:49 2022
Received: from localhost ([127.0.0.1]:41140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXNJM-0007rj-M2
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 09:47:49 -0400
Received: from knopi.disroot.org ([178.21.23.139]:34602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXNJH-0007r7-JQ
 for 57731 <at> debbugs.gnu.org; Sun, 11 Sep 2022 09:47:47 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id EB37249F88;
 Sun, 11 Sep 2022 15:47:42 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id rmVp4ZGo6ced; Sun, 11 Sep 2022 15:47:41 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662904061; bh=zfUonvP7g89yL7LIt/Wu6MN4+66CechD1dchTebpems=;
 h=From:To:Cc:Subject:Date;
 b=am3WDSbBePr+Vk4+EyJ+rwAU8zaZCtN8M9O1q+gjqz4/FlqzsoM3/lYaoPSj92EEA
 y2PCzI/nhfEjnPKwahvM3s4n0MUpGTCeJKvznOqyEkwCGcFW8LOkJfkzk1KPX5jt83
 du2hG8MIwEWQWHpmKziDH6GwLi7EjeyTZAQfpN8j5Se4L+GC65rlv1GbvyG0P78ZGC
 ghRvZsdO6asgGlj16gUG6rY2dybRj/TSvKdcmIontXUxoTHYM9+vzw1qP62gqmICdS
 pm9lKYSkuE4EG/VszX+JIfMwAka1osAC5gAwqGbsNTYr7LChqEWlWauXYDor+ufzhA
 pSkkVjc7GEVpw==
To: 57731 <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: Add batsignal.
Date: Sun, 11 Sep 2022 15:47:34 +0200
Message-Id: <20220911134734.16642-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 57731
Cc: M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/monitoring.scm (batsignal): New variable.
---
 gnu/packages/monitoring.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 47845700ee..bccf03ae06 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -12,6 +12,8 @@
 ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@HIDDEN>
 ;;; Copyright © 2022 Paul A. Patience <paul@HIDDEN>
 ;;; Copyright © 2022 Hartmut Goebel <h.goebel@HIDDEN>
+;;; Copyright © 2022 ( <paren@HIDDEN>
+;;; Copyright © 2022 Mathieu Laparie <mlaparie@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,6 +52,7 @@ (define-module (gnu packages monitoring)
   #:use-module (gnu packages django)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages gettext)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages image)
   #:use-module (gnu packages mail)
   #:use-module (gnu packages ncurses)
@@ -764,3 +767,34 @@ (define-public python-statsd
     (description "StatsD is a friendly front-end to Graphite.  This package
 provides a simple Python client for the StatsD daemon.")
     (license license:expat)))
+
+(define-public batsignal
+  (package
+    (name "batsignal")
+    (version "1.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/electrickite/batsignal")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b1j6mljnqgxwr3id3r9shzhsjk5r0qdh9cxkvy1dm4kzbyc4dxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:tests? #f ;; batsignal's tests depend on docker
+           #:phases
+           #~(modify-phases %standard-phases (delete 'configure))
+           #:make-flags
+           #~(list (string-append "PREFIX=" #$output)
+                   (string-append "CC=" #$(cc-for-target)))))
+    (inputs (list libnotify))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/electrickite/batsignal")
+    (synopsis "Simple power monitoring tool")
+    (description
+     "This package provides a daemon that monitors device power
+levels, notifying the user and optionally running a command when
+it reaches user-configured power thresholds.")
+    (license license:isc)))
-- 
2.37.2





Information forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Sep 2022 13:43:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 11 09:43:24 2022
Received: from localhost ([127.0.0.1]:41135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oXNF6-0007hN-1S
	for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 09:43:24 -0400
Received: from lists.gnu.org ([209.51.188.17]:39422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <matf@HIDDEN>) id 1oXNF3-0007hD-Tr
 for submit <at> debbugs.gnu.org; Sun, 11 Sep 2022 09:43:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39852)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <matf@HIDDEN>) id 1oXNF3-0008Jn-HB
 for guix-patches@HIDDEN; Sun, 11 Sep 2022 09:43:21 -0400
Received: from knopi.disroot.org ([178.21.23.139]:38250)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <matf@HIDDEN>) id 1oXNF1-000702-Sr
 for guix-patches@HIDDEN; Sun, 11 Sep 2022 09:43:21 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id DDB294A020;
 Sun, 11 Sep 2022 15:43:15 +0200 (CEST)
X-Virus-Scanned: SPAM Filter at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id BFYqn93Al6Av; Sun, 11 Sep 2022 15:43:14 +0200 (CEST)
From: M <matf@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disr.it; s=mail;
 t=1662903794; bh=FYX8c+9MGU8wG2pzdWVucdzr5bxFaHYQX8CVA+OI2FM=;
 h=From:To:Cc:Subject:Date;
 b=PjJAfRiQ8FdKUYQ0sXejxgKm6qzBxTdQ9nDVtS8FR6ho6OubDAEKv5/qX9VKC9Gcv
 xdxOo1Om6Q1xjwVvgNOOzONTzjjBF5H/5EZZNMoGvLrX68sjzaXPyahVwMaxImcSfx
 twL+Uk7Y1RfIp62A3SwyxS4gJHfsX8Aa1cN3niyqxdKhp+b+MUaN2TOMH3wGsKvg2N
 UYr9ugjNE7RQz/uon8dYnpydhu8YLqE9Pc/Rm5ooFLgEeNe5tYvSK8kxojf/VkVSZ1
 nlwRVMvIE19W7wTNYMHb/HdMJm8BkF1k3RyHMsENP0YiLwsddRVjpHk18KTXfAbCLY
 IFQ7ViotGFE1g==
To: guix-patches@HIDDEN
Subject: [PATCH 0/1] Add batsignal package
Date: Sun, 11 Sep 2022 15:43:05 +0200
Message-Id: <20220911134305.14581-1-matf@HIDDEN>
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=matf@HIDDEN;
 helo=knopi.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: M <matf@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

batsignal can send desktop notifications at set battery levels, and can run a
command when the battery level gets dangerously low. This can be used to force
powering off a laptop when battery gets below critical levels, instead of
damaging the battery.

M (1):
  gnu: Add batsignal.

 gnu/packages/monitoring.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

-- 
2.37.2





Acknowledgement sent to M <matf@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#57731; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 11 Sep 2022 19:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.