guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/15: gnu: Add zig-websocket.


From: guix-commits
Subject: 14/15: gnu: Add zig-websocket.
Date: Wed, 4 Dec 2024 12:52:50 -0500 (EST)

hako pushed a commit to branch wip-zig-bootstrap
in repository guix.

commit 4580518004490ac3071ad36b45a4839ccec8daf3
Author: NoƩ Lopez <noelopez@free.fr>
AuthorDate: Tue Dec 3 23:35:05 2024 +0800

    gnu: Add zig-websocket.
    
    * gnu/packages/zig-xyz.scm (zig-websocket): New variable.
    
    Modified-by: Hilton Chain <hako@ultrarare.space>
    Signed-off-by: Hilton Chain <hako@ultrarare.space>
    Change-Id: I3a9e47719d7c13f1491e5cc16c826ac62ef87b79
---
 gnu/packages/zig-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 456d65c4ca..6503fffcfc 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -367,6 +367,28 @@ interface.")
     (home-page "https://codeberg.org/ifreund/zig-wayland";)
     (license license:expat)))
 
+(define-public zig-websocket
+  ;; No releases, latest commit from zig-0.13 branch
+  (let ((commit "cf89cb8b9c61c99982ced19da54890983e226245")
+        (revision "0"))
+  (package
+    (name "zig-websocket")
+    (version (git-version "0.0.0" revision commit))
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/karlseguin/websocket.zig";)
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1q85pvc1dgyj5zdpk3xav1zgj6857p0nygndz3nc5xlm260hrck8"))))
+    (build-system zig-build-system)
+    (home-page "https://github.com/karlseguin/websocket.zig";)
+    (synopsis "WebSocket implementation for Zig")
+    (description "This package provides a Zig WebSocket server.")
+    (license license:expat))))
+
 (define-public zig-wlroots
   (package
     (name "zig-wlroots")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]