diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-02-13 00:14:26 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-03-18 14:07:31 +0100 |
| commit | c723afc065fb8d1fd081629785bc043cb9c70529 (patch) | |
| tree | 0fcc418601541d92922b7c30b8cf839ec3ac1af9 /gnu | |
| parent | 91888b8d45d46951f800a36b081d5999e19e4966 (diff) | |
gnu: Add go-github-com-soheilhy-cmux.
* gnu/packages/golang-web.scm (go-github-com-soheilhy-cmux): New variable.
Change-Id: I7699121cb7be40231f17793763c380ee214d5c89
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-web.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index d2dc3eb1c05..08c25e3ead3 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") |
