Subject: [bug#66603] [PATCH 08/29] gnu: Add go-github-com-chzyer-logex.

From: Wilko Meyer <[email-masked]>
Date: Wed, 18 Oct 2023 11:38:06 +0200

* gnu/packages/golang.scm (go-github-com-chzyer-logex): New variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 2340b086a5..4825db4091 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1872,6 +1872,29 @@ (define-public go-github-com-chzyer-test
     (synopsis "test")
     (description #f)
     (license license:expat)))
+
+(define-public go-github-com-chzyer-logex
+  (package
+    (name "go-github-com-chzyer-logex")
+    (version "1.2.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/chzyer/logex")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0c9yr3r7dl3lcs22cvmh9iknihi9568wzmdywmc2irkjdrn8bpxw"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/chzyer/logex"
+       #:tests? #f))
+    (home-page "https://github.com/chzyer/logex")
+    (synopsis "Logex")
+    (description
+     "An golang log lib, supports tracing and level, wrap by standard log lib")
+    (license license:expat)))
 (define-public go-github-com-pkg-xattr
   (package
     (name "go-github-com-pkg-xattr")
-- 
2.41.0