diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2025-12-05 19:19:44 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-12 18:23:01 +0000 |
| commit | 82e5841ceeb62b8d452bdcafd21728f14dca2c9f (patch) | |
| tree | 12f6c7cc55d4678422ae594840b5d07109d3c514 /gnu | |
| parent | 65978c8fa68eb8fcfb3fdfb7a3c6afe0d2d0ef1d (diff) | |
gnu: Add go-github-com-loft-sh-log.
* gnu/packages/golang-xyz.scm (go-github-com-loft-sh-log): New variable.
Change-Id: Iadfad1d67f48f1a7e05c98910272ad032027f023
Modified--by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-xyz.scm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 52dbf54b34..34c74f4a6a 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -15468,6 +15468,52 @@ that writes tinted (colorized) logs. The output format is inspired by the @code{zerolog.ConsoleWriter} and @code{slog.TextHandler}.") (license license:expat))) +(define-public go-github-com-loft-sh-log + (package + (name "go-github-com-loft-sh-log") + (version "0.0.0-20250610153027-c2f046135b12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/loft-sh/log") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "062i269ikh9y45lnl1v3qfcncp00nw4f9rzjpx98xs078nl5j3ah")) + (modules '((guix build utils))) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "vendor"))))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + #:import-path "github.com/loft-sh/log" + #:test-flags #~(list "-vet=off"))) + (propagated-inputs + (list go-github-com-acarl005-stripansi + go-github-com-alecaivazis-survey-v2 + go-github-com-go-logr-logr + go-github-com-k0kubun-go-ansi + go-github-com-mgutz-ansi + go-github-com-moby-term + go-github-com-olekukonko-tablewriter-0.0.5 + go-github-com-pkg-errors + go-github-com-sirupsen-logrus + go-github-com-sytten-logrus-zap-hook + go-go-uber-org-zap + go-gopkg-in-natefinch-lumberjack-v2 + go-k8s-io-klog-v2)) + (home-page "https://github.com/loft-sh/log") + (synopsis "Structured logging library for Loft tools") + (description + "This package provides a structured logging library used by Loft tools +including DevPod. It wraps @code{logrus} and @code{zap} with additional +features.") + (license license:asl2.0))) + (define-public go-github-com-logrusorgru-aurora (package (name "go-github-com-logrusorgru-aurora") |
