From patchwork Mon Apr 20 21:17:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 21370 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4C94527BBE4; Mon, 20 Apr 2020 22:18:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 051ED27BBE1 for ; Mon, 20 Apr 2020 22:18:11 +0100 (BST) Received: from localhost ([::1]:42486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQdnu-00045n-ID for patchwork@mira.cbaines.net; Mon, 20 Apr 2020 17:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41366) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQdnn-00044e-Fp for guix-patches@gnu.org; Mon, 20 Apr 2020 17:18:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQdnm-0000QP-Qf for guix-patches@gnu.org; Mon, 20 Apr 2020 17:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQdnm-0000QF-Ek for guix-patches@gnu.org; Mon, 20 Apr 2020 17:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQdnm-0002g8-AC for guix-patches@gnu.org; Mon, 20 Apr 2020 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40738] [PATCH 3/4] gnu: Add alertmanager. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Apr 2020 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40738 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 40738@debbugs.gnu.org Received: via spool by 40738-submit@debbugs.gnu.org id=B40738.158741747110240 (code B ref 40738); Mon, 20 Apr 2020 21:18:02 +0000 Received: (at 40738) by debbugs.gnu.org; 20 Apr 2020 21:17:51 +0000 Received: from localhost ([127.0.0.1]:48536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQdnb-0002f5-8j for submit@debbugs.gnu.org; Mon, 20 Apr 2020 17:17:51 -0400 Received: from mira.cbaines.net ([212.71.252.8]:33674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQdnW-0002eL-9i for 40738@debbugs.gnu.org; Mon, 20 Apr 2020 17:17:47 -0400 Received: from localhost (unknown [46.237.173.52]) by mira.cbaines.net (Postfix) with ESMTPSA id D5F9127BBEA for <40738@debbugs.gnu.org>; Mon, 20 Apr 2020 22:17:45 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 66be6fc9 for <40738@debbugs.gnu.org>; Mon, 20 Apr 2020 21:17:43 +0000 (UTC) From: Christopher Baines Date: Mon, 20 Apr 2020 22:17:42 +0100 Message-Id: <20200420211743.23476-3-mail@cbaines.net> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200420211743.23476-1-mail@cbaines.net> References: <87v9lt50d4.fsf@cbaines.net> <20200420211743.23476-1-mail@cbaines.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/monitoring.scm (alertmanager): New variable. --- gnu/packages/monitoring.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 345c2c16c5..e0e345d259 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -471,6 +471,29 @@ written in Go with pluggable metric collectors.") (description "") (license ""))) +(define-public alertmanager + (package + (name "alertmanager") + (version "0.20.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/prometheus/alertmanager.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bq6vbpy25k7apvs2ga3fbp1cbnv9j0y1g1khvz2qgz6a2zvhgg3")))) + (build-system go-build-system) + (arguments + '(#:unpack-path "github.com/prometheus/alertmanager" + #:import-path "github.com/prometheus/alertmanager/cmd/alertmanager" + #:install-source? #f)) + (home-page "https://prometheus.io/") + (synopsis "") + (description "") + (license ""))) + (define-public fswatch (package (name "fswatch")