summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-10 00:06:13 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:47:53 +0000
commit4bf8855a50d610fb26fefc21b222602d27dab0b2 (patch)
tree1fb806e90d819d227c97898fe0e5ba2c0eadfe51 /gnu/packages/golang-xyz.scm
parentbb5be6b0fbee315dcbe3fae85d2d952f996a84fa (diff)
gnu: go-github-com-rifflock-lfshook: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-rifflock-lfshook): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. Change-Id: I93c8e864da864672664a3efaf5409c677da93d49
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index eb5207da6a..8d361bee8f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -11945,6 +11945,33 @@ routines querying a database but without sending too much queries in order to
not overload the given database.")
(license license:expat)))
+(define-public go-github-com-rifflock-lfshook
+ (package
+ (name "go-github-com-rifflock-lfshook")
+ (version "2.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rifflock/lfshook")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/rifflock/lfshook"))
+ (propagated-inputs
+ (list go-github-com-sirupsen-logrus))
+ (home-page "https://github.com/rifflock/lfshook")
+ (synopsis "Local File System hook for Logrus logger")
+ (description
+ "This package provides a hook for Logrus to write directly to a file on
+the file system. The log levels are dynamic at instantiation of the hook, so
+it is capable of logging at some or all levels.")
+ (license license:expat)))
+
(define-public go-github-com-rivo-tview
(package
(name "go-github-com-rivo-tview")