mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
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>
This commit is contained in:
parent
8cb146a3e6
commit
58cc52f2dc
1 changed files with 30 additions and 0 deletions
|
@ -193,6 +193,36 @@ (define-public go-github-com-ipfs-go-ipfs-api
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue