guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: Add go-github-com-valyala-bytebufferpool.


From: guix-commits
Subject: 02/04: gnu: Add go-github-com-valyala-bytebufferpool.
Date: Fri, 28 Jan 2022 04:47:57 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 1d948dbd97e93dec92dd486efbb8075271f3fde9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Jan 28 10:45:33 2022 +0100

    gnu: Add go-github-com-valyala-bytebufferpool.
    
    * gnu/packages/golang.scm (go-github-com-valyala-bytebufferpool): New
    variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]