diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-18 13:16:41 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:11 +0100 |
commit | d5c545d86ecd4c8b7924cc1036c5e66856ddea55 (patch) | |
tree | 69e28f802d82aff525b8893ea1ad81e42f24b4d2 /gnu/packages/golang-xyz.scm | |
parent | d1cd343f06a69da3891517ddab87aae18f055e65 (diff) |
gnu: Add go-github-com-anacrolix-log.
* gnu/packages/golang-xyz.scm (go-github-com-anacrolix-log): New variable.
Change-Id: I53b44c78b67046797dc8a39e1d493baed5458737
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index ed571d2395..512969fd0c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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") |