From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +LWQNJ7qHWOPGgAAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 16:03:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oNaGNJ7qHWMMVwAA9RJhRA (envelope-from ) for ; Sun, 11 Sep 2022 16:03:10 +0200 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 7EFFF186EA for ; Sun, 11 Sep 2022 16:03:10 +0200 (CEST) Received: from localhost ([::1]:59604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXNYD-0005J7-Jd for larch@yhetil.org; Sun, 11 Sep 2022 10:03:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXNY6-0005FY-JB for guix-patches@gnu.org; Sun, 11 Sep 2022 10:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXNY6-00018f-8i for guix-patches@gnu.org; Sun, 11 Sep 2022 10:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXNY6-0000Pp-3i for guix-patches@gnu.org; Sun, 11 Sep 2022 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57731] [PATCH 1/1] gnu: Add batsignal. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Sep 2022 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: M , 57731@debbugs.gnu.org Received: via spool by 57731-submit@debbugs.gnu.org id=B57731.16629049521547 (code B ref 57731); Sun, 11 Sep 2022 14:03:02 +0000 Received: (at 57731) by debbugs.gnu.org; 11 Sep 2022 14:02:32 +0000 Received: from localhost ([127.0.0.1]:43009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXNXc-0000Ot-Ds for submit@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 ) id 1oXNXY-0000Ob-Ib for 57731@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@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: From: Liliana Marie Prikler Date: Sun, 11 Sep 2022 16:02:19 +0200 In-Reply-To: <20220911134734.16642-1-matf@disr.it> References: <20220911134734.16642-1-matf@disr.it> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662904990; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=5UuQnZSWLWB9bPoWkIiLueXumwP2d0vECPKHdOEiP34=; b=Oa0DgQqjVQovxavmx36SoKdLYBSzX9orLKaJubpQS2mEO4njVgH5KeTtHlxly2KjvZ5HVb rCmB5L9GtPWGJNdgzoGg+z7Z2Yckr6R8cuDzD+AWZRnZeiFvbnrKyQTn9V2IbfiSmuNWO9 YDJZJa1kaVKMK8qCJR644n3cpuGGKkXapMj3+3wy5sIXFX0VMU7iz9Ik3KyxRyX5hgnBUz a+gxHFRJcE1/iYzOf0dz8R0BXt3JvYUFxqa52gQA5zSoaUJzebSamqTGfg6bD7WIi5wI+m uV/4dRZI7pfbFVHRjr9bW9d9UR43id7/wv5/ia/k2Lc3EZaeGRfF6am7l/WvgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662904990; a=rsa-sha256; cv=none; b=q2iYxfmFi9XvMIWDyyDchv5hw8H7/FulDMzDZkKXsityc5UXofGjnt3wYQ+Q2cHdWmDqs6 k5A+Un5lMwd0RIsOemCWjbqTZty7treq6BwZX0BMXxrof+C80xvqaH5c5an5CnjvEFG401 B8IIa3hSm/GwLoeWEKQOBga7Q0JKlSfXDDx81OEQitmXVs5yyJ8uXFR4eJ0ig37e2jtxy1 GY6tvSVYeAEexQwyi9wsDrDSoCjb6owYfnHE7QD+yihjd98e33H58amGzDJyPIK6t8OTuj ZZOoEct3bvd+s7kwxlELLQQMhL/QnDgQzj+OAaNdMtm4sS53qHNDDY+8xaumYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dpKxmSDA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dpKxmSDA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 7EFFF186EA X-Spam-Score: 7.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7QpdwqacLneF 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 >  ;;; Copyright © 2022 Paul A. Patience >  ;;; Copyright © 2022 Hartmut Goebel > +;;; Copyright © 2022 ( > +;;; Copyright © 2022 Mathieu Laparie 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.