diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-04-28 19:45:11 +0300 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-05-08 00:03:02 +0100 |
commit | 58cc52f2dc35429af7f58631b8bc157c2f184583 (patch) | |
tree | 8eabaa071666744b807ca63f56fe4e0bb399c95a /gnu/packages/ipfs.scm | |
parent | 8cb146a3e6d4d984b2fdff13a245a3bd796bf707 (diff) |
gnu: Add go-github-com-ipfs-go-log-v2.
* gnu/packages/ipfs.scm (go-github-com-ipfs-go-log-v2): New variable.
Change-Id: Id6d85bfa883670345420c21937681ae2844f6263
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/ipfs.scm')
-rw-r--r-- | gnu/packages/ipfs.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 9e40b45637..edd2840502 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -193,6 +193,36 @@ that are shared between @command{go-ipfs/commands} and its rewrite (description "An unofficial Go interface to IPFS's HTTP API") (license license:expat)))) +(define-public go-github-com-ipfs-go-log-v2 + (package + (name "go-github-com-ipfs-go-log-v2") + (version "2.5.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-log") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1yh3sw8knpy364h8h8rqw193whnjd6fbc13cxh6zs29z3x2a7aqa")))) + (build-system go-build-system) + (propagated-inputs + (list go-github-com-mattn-go-isatty + go-go-uber-org-multierr + go-go-uber-org-zap)) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/ipfs/go-log/v2")) + (home-page "https://github.com/ipfs/go-log") + (synopsis "Logging library used by @code{go-ipfs}") + (description + "@code{go-log} wraps @url{https://github.com/uber-go/zap, zap} to +provide a logging facade. @code{go-log} manages logging instances and allows for +their levels to be controlled individually.") + (license license:expat))) + (define-public gx (package (name "gx") |