guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e869996a336a0d30e91ec938a71b0da8f16eee26
Author: Maxim Cournoyer <maxim.courno...@gmail.com>
AuthorDate: Wed May 28 10:24:49 2025 +0900

    gnu: Add go-github-com-jiangxin-multi-log.
    
    * gnu/packages/golang-xyz.scm (go-github-com-jiangxin-multi-log): New 
variable.
    
    Change-Id: I0dea0ad989acfca443c836dedc7abdc5a2ae6332
    Modified-by: Sharlatan Hellseher <sharlata...@gmail.com>
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6f4490ecae..0978f0bbf5 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9700,6 +9700,35 @@ functionality is similar to the go builtin @code{flag} 
package, but
 way of specifying command line options.")
     (license license:bsd-3)))
 
+(define-public go-github-com-jiangxin-multi-log
+  (package
+    (name "go-github-com-jiangxin-multi-log")
+    (version "0.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jiangxin/multi-log";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0im1i0dz5rcczfzxyvwqwvslv1mq6gbhlr5aw9s2fg7s29lcy179"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jiangxin/multi-log"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-sirupsen-logrus
+           go-golang-org-x-crypto))
+    (home-page "https://github.com/jiangxin/multi-log";)
+    (synopsis "Simple logging library for Go")
+    (description
+     "Multi-log is based on logrus, and supports concurrently logging to two
+destinations: the console and a log file.")
+    (license license:expat)))
+
 (define-public go-github-com-jinzhu-copier
   (package
     (name "go-github-com-jinzhu-copier")

Reply via email to