guix-commits
[Top][All Lists]
Advanced

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

03/63: gnu: Add go-github-com-hashicorp-yamux.


From: guix-commits
Subject: 03/63: gnu: Add go-github-com-hashicorp-yamux.
Date: Sat, 28 Dec 2024 11:13:37 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 32ad61246e4a7f070eab1b14f9a6569229565d1b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Dec 27 12:11:27 2024 +0000

    gnu: Add go-github-com-hashicorp-yamux.
    
    * gnu/packages/golang-web.scm (go-github-com-hashicorp-yamux): New variable.
    
    Change-Id: Ic37744576fd6c822f71933242822c1b7eaae9ae4
---
 gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 0ea814e5d0..b60d8404b6 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -3205,6 +3205,43 @@ standard @code{net/http} client library and exposes 
nearly the same public
 API.")
     (license license:mpl2.0)))
 
+(define-public go-github-com-hashicorp-yamux
+  (package
+    (name "go-github-com-hashicorp-yamux")
+    (version "0.1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hashicorp/yamux";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1c46zdj94lv28sb9rmhinzcckl72vs3gwm197nsa80ca3b161yi6"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/hashicorp/yamux"))
+    (home-page "https://github.com/hashicorp/yamux";)
+    (synopsis "Golang connection multiplexing library")
+    (description
+     "Yamux (Yet another Multiplexer) relies on an underlying connection to
+provide reliability and ordering, such as TCP or Unix domain sockets, and
+provides stream-oriented multiplexing.  It is inspired by SPDY but is not
+interoperable with it.
+
+Features:
+@itemize
+@item streams can be opened by either client or server
+@item useful for nat traversal
+@item server-side push support
+@item avoid starvation
+@item back-pressure to prevent overwhelming a receiver
+@item enables persistent connections over a load balancer
+@item enables thousands of logical streams with low overhead
+@end itemize")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-hjson-hjson-go-v4
   (package
     (name "go-github-com-hjson-hjson-go-v4")



reply via email to

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