Subject: [bug#62284] [PATCH 65/70] gnu: Add go-github-com-rs-zerolog.

From: conses <[email-masked]>
Date: Mon, 20 Mar 2023 00:50:41 +0100

* gnu/packages/golang.scm (go-github-com-rs-zerolog): New variable.
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c9ad032931..ff07018be9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12371,6 +12371,33 @@ (define-public go-github-com-coreos-go-systemd-journal
 journal.  It's implemented in pure Go and connects to the journal directly
 over its unix socket.")))
 
+(define-public go-github-com-rs-zerolog
+  (package
+    (name "go-github-com-rs-zerolog")
+    (version "1.29.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/rs/zerolog")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "111f8x6nf0w9bxwcn3a3yc8q0ivyv33jpg4jslman5rmpjh4rp46"))))
+    (build-system go-build-system)
+    (arguments (list #:import-path "github.com/rs/zerolog"))
+    (propagated-inputs
+     (list
+      go-github-com-coreos-go-systemd-journal
+      go-github-com-mattn-go-colorable
+      go-github-com-pkg-errors
+      go-github-com-rs-xid))
+    (home-page "https://github.com/rs/zerolog")
+    (synopsis "Zero allocation JSON logger")
+    (description "This package provides a fast and simple logger dedicated to
+to JSON output.")
+    (license license:expat)))
+
 (define-public go-mau-fi-libsignal
   (package
     (name "go-mau-fi-libsignal")
-- 
2.39.1

-- 
Best regards,
conses