1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: Add go-github-com-anacrolix-log.

* gnu/packages/golang-xyz.scm (go-github-com-anacrolix-log): New variable.

Change-Id: I53b44c78b67046797dc8a39e1d493baed5458737
This commit is contained in:
Sharlatan Hellseher 2025-02-18 13:16:41 +00:00
parent d1cd343f06
commit d5c545d86e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1186,6 +1186,38 @@ bar writers can be supplied for alternate environments.")
(description "This package provides generic implementations for Go.")
(license license:mpl2.0)))
(define-public go-github-com-anacrolix-log
(package
(name "go-github-com-anacrolix-log")
(version "0.16.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/anacrolix/log")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0pbvg15rrsh2gv10vsdqak8r572kkjlhil1g0gngnzbcyifqmca0"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/anacrolix/log"))
(native-inputs
(list go-github-com-frankban-quicktest
go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-anacrolix-generics))
(home-page "https://github.com/anacrolix/log")
(synopsis "Context-style logging for Golang")
(description
"Package log implements a std log compatible logging system that draws
some inspiration from the @url{https://docs.python.org/3/library/logging.html,
Python logging module} from Python's standard library. It supports multiple
handlers, log levels, zero-allocation, scopes, custom formatting, and
environment and runtime configuration.")
(license license:mpl2.0)))
(define-public go-github-com-andreasbriese-bbloom
(package
(name "go-github-com-andreasbriese-bbloom")