diff options
author | Jesse Eisses <jesse@eisses.email> | 2024-04-26 10:01:50 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-05-07 15:38:27 +0100 |
commit | e78fb8223f1ee8a68f5498040564870c1684a4d5 (patch) | |
tree | 5c8b712f6e8607a7d6fda1836d380315d6606338 /gnu/packages/golang-web.scm | |
parent | c9bbfc9f3c99aa2a5b9baae8d783f0953d4a4955 (diff) | |
download | guix-e78fb8223f1ee8a68f5498040564870c1684a4d5.tar.gz guix-e78fb8223f1ee8a68f5498040564870c1684a4d5.zip |
gnu: Add go-nhooyr-io-websocket.
* gnu/packages/golang-web.scm (go-nhooyr-io-websocket): New variable.
Change-Id: Ifced88b4d916b8593e4b65022cf419c8ae18a769
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/golang-web.scm')
-rw-r--r-- | gnu/packages/golang-web.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index f2a83226d4..d0f51cfd79 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -2093,6 +2093,33 @@ Signing and Encryption set of standards. This includes support for JSON Web Encryption, JSON Web Signature, and JSON Web Token standards.") (license license:asl2.0))) +(define-public go-nhooyr-io-websocket + (package + (name "go-nhooyr-io-websocket") + (version "1.8.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nhooyr/websocket") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "019pm2bkzwyvzl61127nqzihchk35q5xh57wy50aa2syn9214fxm")))) + (build-system go-build-system) + (arguments + (list + ;; Tests require additional dependencies like `wasmbrowsertest`. + #:tests? #f + #:import-path "nhooyr.io/websocket")) + (home-page "https://nhooyr.io/websocket") + (synopsis "Minimal and idiomatic WebSocket library for Go") + (description + "Package websocket implements the +@@url{https://rfc-editor.org/rfc/rfc6455.html,RFC 6455} @code{WebSocket} +protocol.") + (license license:isc))) + ;;; ;;; Executables: ;;; |