gnu: Add go-github-com-hashicorp-yamux.

* gnu/packages/golang-web.scm (go-github-com-hashicorp-yamux): New variable.

Change-Id: Ic37744576fd6c822f71933242822c1b7eaae9ae4
This commit is contained in:
Sharlatan Hellseher 2024-12-27 12:11:27 +00:00
parent 0fa5d9adc3
commit bc5038efef
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3205,6 +3205,43 @@ (define-public go-github-com-hashicorp-go-retryablehttp
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")