From 1d948dbd97e93dec92dd486efbb8075271f3fde9 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 28 Jan 2022 10:45:33 +0100 Subject: gnu: Add go-github-com-valyala-bytebufferpool. * gnu/packages/golang.scm (go-github-com-valyala-bytebufferpool): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 23e36af998..cf6e60aace 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8906,6 +8906,29 @@ non-cryptographic hash algorithm, working at speeds close to RAM limits.") "Provides a platform-independent way to get atime, mtime, ctime and btime for files.") (license license:expat))) +(define-public go-github-com-valyala-bytebufferpool + (package + (name "go-github-com-valyala-bytebufferpool") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/valyala/bytebufferpool") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/valyala/bytebufferpool")) + (home-page "https://github.com/valyala/bytebufferpool") + (synopsis "Anti-memory-waste byte buffer pool for Golang") + (description + "@code{bytebufferpool} implements a pool of byte buffers with +anti-fragmentation protection.") + (license license:expat))) + (define-public go-github-com-vmihailenco-msgpack-v4 (package (name "go-github-com-vmihailenco-msgpack-v4") -- cgit v1.2.3