summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-07 16:05:26 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:03 +0100
commit70e06d2e6cc7a8c1a255c5c6c4623cc81cb3a7bc (patch)
tree1bb1e410e54d28846da4554fbe4998a7a6465aa6 /gnu/packages/golang-xyz.scm
parent211c674f4aeb7d8c9baad7516d245cc32da7a5b1 (diff)
gnu: Add go-github-com-tj-go-buffer.
* gnu/packages/golang-xyz.scm (go-github-com-tj-go-buffer): New variable. Change-Id: I97dc8aaff09527a10c405fe31061b276d7e06bb4
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 a1782567a9..29d2cf056e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -17338,6 +17338,33 @@ types. BoltDB is an embedded key-value store, and bolthold servers a similar
use case however with a higher level interface for common uses of BoltDB.")
(license license:expat)))
+(define-public go-github-com-tj-go-buffer
+ (package
+ (name "go-github-com-tj-go-buffer")
+ (version "1.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tj/go-buffer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xs8dz8m5qy1n80qcpalvfzdjxdr7djmagmhp7mm87rmjkwn05lk"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/tj/go-buffer"))
+ (native-inputs
+ (list go-github-com-tj-assert))
+ (home-page "https://github.com/tj/go-buffer")
+ (synopsis "Generic buffer for batching entries, such as log events")
+ (description
+ "Package buffer provides a generic buffer or batching mechanism for
+flushing entries at a given size or interval, useful for cases such as
+batching log events.")
+ (license license:expat)))
+
(define-public go-github-com-tklauser-go-sysconf
(package
(name "go-github-com-tklauser-go-sysconf")