diff mbox series

[bug#73901,1/4] gnu: Add go-github-com-coder-websocket.

Message ID 6c4ecc1b3d770798ed256cdcfafdd7732535fe69.1729415197.git.poptsov.artyom@gmail.com
State New
Headers show
Series gnu: yggdrasil: Update to 0.5.9. | expand

Commit Message

Artyom V. Poptsov Oct. 20, 2024, 9:11 a.m. UTC
* gnu/packages/golang-web.scm (go-github-com-coder-websocket): New variable.

Change-Id: Ia3533f889aacb478b29d8c5ec4cd86a23ba411cc
---
 gnu/packages/golang-web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index cf652a0248..f1c904c06d 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -722,6 +722,29 @@  (define-public go-github-com-chris-ramon-douceur
     (description "This package provides a CSS parser and inliner.")
     (license license:expat)))
 
+(define-public go-github-com-coder-websocket
+  (package
+    (name "go-github-com-coder-websocket")
+    (version "1.8.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/coder/websocket")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "172v9mqghswf50ga512qghb6ii0ivz5fi2iyjzdnbm42g0cr4fjj"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/coder/websocket"))
+    (home-page "https://github.com/coder/websocket")
+    (synopsis "WebSocket library for Go")
+    (description
+     "@code{websocket} is a minimal and idiomatic
+@url{https://websockets.spec.whatwg.org/, WebSocket} library for Go.")
+    (license license:isc)))
+
 (define-public go-github-com-containerd-typeurl
   (package
     (name "go-github-com-containerd-typeurl")