guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit 27c73a78d0329b57fb8c4e264d0410a8d74ebe5a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 13 00:14:26 2026 +0000
gnu: Add go-github-com-soheilhy-cmux.
* gnu/packages/golang-web.scm (go-github-com-soheilhy-cmux): New variable.
Change-Id: I7699121cb7be40231f17793763c380ee214d5c89
---
gnu/packages/golang-web.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index d2dc3eb1c0..08c25e3ead 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -14370,6 +14370,40 @@ they can be used to access remote (HTTP accessible)
ZIP archives without
needing to download the whole archive file.")
(license license:expat)))
+(define-public go-github-com-soheilhy-cmux
+ (package
+ (name "go-github-com-soheilhy-cmux")
+ (version "0.1.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/soheilhy/cmux")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17zpa45xvmk3jl1qqx3lkqdyxs6hdczpv7hwg4s7x0895jx3zl5y"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; Submodules with their own go.mod files and packaged separately:
+ ;;
+ ;; - github.com/soheilhy/cmux/example
+ (delete-file-recursively "example")))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/soheilhy/cmux"))
+ (propagated-inputs
+ (list go-golang-org-x-net))
+ (home-page "https://github.com/soheilhy/cmux")
+ (synopsis "Connection multiplexer for GoLang")
+ (description
+ "Package cmux is a library to multiplex network connections based on
+their payload to server gRPC, SSH, HTTPS, HTTP, Go RPC, and pretty much any
+other protocol on the same TCP listener.")
+ (license license:asl2.0)))
+
(define-public go-github-com-sourcegraph-jsonrpc2
(package
(name "go-github-com-sourcegraph-jsonrpc2")