summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-28 10:24:49 +0900
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-06-24 10:30:00 +0100
commite869996a336a0d30e91ec938a71b0da8f16eee26 (patch)
tree028d0c8e8c20f66cc35e1d4fda6f4c8cc7c0f1fb
parentb586469706cb59e7ca97c35be3939e4bce780727 (diff)
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 <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
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")