From patchwork Sun Mar 10 18:35:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 61598 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 D77B327BBEA; Sun, 10 Mar 2024 18:39:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2219827BBE9 for ; Sun, 10 Mar 2024 18:39:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjO54-0005wF-S2; Sun, 10 Mar 2024 14:39:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjO53-0005w6-O2 for guix-patches@gnu.org; Sun, 10 Mar 2024 14:39:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjO53-0003dT-Ak for guix-patches@gnu.org; Sun, 10 Mar 2024 14:39:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjO5a-0001NU-I1 for guix-patches@gnu.org; Sun, 10 Mar 2024 14:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69713] [PATCH] gnu: Add go-github-com-hashicorp-go-hclog. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Mar 2024 18:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69713 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69713@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17100959745254 (code B ref -1); Sun, 10 Mar 2024 18:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2024 18:39:34 +0000 Received: from localhost ([127.0.0.1]:37876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjO57-0001Mg-HV for submit@debbugs.gnu.org; Sun, 10 Mar 2024 14:39:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:48212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjO55-0001MY-1r for submit@debbugs.gnu.org; Sun, 10 Mar 2024 14:39:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjO4X-0005tT-8T for guix-patches@gnu.org; Sun, 10 Mar 2024 14:38:57 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rjO4U-0003b5-7o for guix-patches@gnu.org; Sun, 10 Mar 2024 14:38:56 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Tt7w814GSz9sQ6 for ; Sun, 10 Mar 2024 19:38:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1710095928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=SEF+gnHXsZ3YzWfU+giQj10LoA7un4ooFE89CvtcZpE=; b=BksxuJUr6QBNEyv/9j6RBM68OIFDkyHwZPrS+f7+9UNvxgstLH4AAG/YoM/bybY6w+MHzO vdwzq4TkgKIdprff8ggEHsi3Pgz16BUZIoydS91EiUTmaZnKvz0EBvWwY1Nkmft0Sp5IE8 qeN9M4/XMuAEd/qy6VqJMsSe1O/p/Mf7UqtwRNs6v4w7dmywBMQwCnBX+8ZMZobyWX52fa kVL+xOIAzrf+MT/5xE52dIeRVIpjFveUV5o/Um97T3JLy75BybuBA0Hsspyaa9kczDfihW onhY8wCVzCtHd90YZ2iRn9dY0+1Nw7dtok8hpQBRkDeMdP0Is/XIa9RRNVi0lg== From: Troy Figiel Date: Sun, 10 Mar 2024 19:35:14 +0100 Message-ID: <87edci2aq4.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Tt7w814GSz9sQ6 Received-SPF: pass client-ip=80.241.56.152; envelope-from=troy@troyfigiel.com; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, 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-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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang-xyz.scm (go-github-com-hashicorp-go-hclog): New variable. --- gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) base-commit: c7836393be4d134861d652b2fcf09cf4e68275ca diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0b3db6e379..b7572c0cc7 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -853,6 +853,38 @@ (define-public go-github-com-hashicorp-hcl-v2 (home-page "https://github.com/hashicorp/hcl") (license license:mpl2.0))) +(define-public go-github-com-hashicorp-go-hclog + (package + (name "go-github-com-hashicorp-go-hclog") + (version "1.6.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hashicorp/go-hclog") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lvr4ga95a0xb62vgq1hy558x3r65hn2d0h7bf0a88lsfsrcik0n")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/hashicorp/go-hclog")) + (propagated-inputs (list go-github-com-fatih-color + go-github-com-mattn-go-isatty + go-golang-org-x-tools)) + (native-inputs (list go-github-com-stretchr-testify)) + (home-page "https://github.com/hashicorp/go-hclog") + (synopsis "Key/value logging interface for Go") + (description + "This package provides a simple key/value logging interface for Golang +for use in development and production environments. Unlike the standard +library @code{log} package, this package provides logging levels that provide +decreased output based upon the desired amount of output. It also comes with +a command-line program @code{hclogvet} that can be used to check that the logging level +methods on @code{hclog.Logger} are used correctly.") + (license license:expat))) + (define-public go-github-com-hashicorp-go-multierror (package (name "go-github-com-hashicorp-go-multierror")