unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69713] [PATCH] gnu: Add go-github-com-hashicorp-go-hclog.
@ 2024-03-10 18:35 Troy Figiel
  2024-03-21 23:54 ` bug#69713: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Troy Figiel @ 2024-03-10 18:35 UTC (permalink / raw)
  To: 69713

* gnu/packages/golang-xyz.scm (go-github-com-hashicorp-go-hclog): New variable.
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

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")

base-commit: c7836393be4d134861d652b2fcf09cf4e68275ca
-- 
2.42.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69713: [PATCH] gnu: Add go-github-com-hashicorp-go-hclog.
  2024-03-10 18:35 [bug#69713] [PATCH] gnu: Add go-github-com-hashicorp-go-hclog Troy Figiel
@ 2024-03-21 23:54 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-03-21 23:54 UTC (permalink / raw)
  To: 69713-done

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]


Pushed as 27b339702f601d2635416111930843a32dd625ed to master.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-21 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 18:35 [bug#69713] [PATCH] gnu: Add go-github-com-hashicorp-go-hclog Troy Figiel
2024-03-21 23:54 ` bug#69713: " Sharlatan Hellseher

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).