unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Aurora via Guix-patches via <guix-patches@gnu.org>
To: 54268@debbugs.gnu.org
Cc: Aurora <rind38@disroot.org>
Subject: [bug#54268] [PATCH 2/6] gnu: Add cl-fast-websocket
Date: Sun,  6 Mar 2022 03:33:34 +0000	[thread overview]
Message-ID: <20220306033338.3363-3-rind38@disroot.org> (raw)
In-Reply-To: <20220306033338.3363-1-rind38@disroot.org>

---
 gnu/packages/lisp-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 17acbc2..89b3474 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20705,3 +20705,43 @@ taking inspiration from Ruby's ERb module.")
 
 (define-public ecl-cl-template
   (sbcl-package->ecl-package sbcl-cl-template))
+
+(define-public sbcl-fast-websocket
+  (let ((commit "24c0217e7c0d25b6ef6ab799452cba0b9fb58f44")
+        (revision "0"))
+    (package
+     (name "sbcl-fast-websocket")
+     (version (git-version "0.1.0" revision commit))
+     (home-page "https://github.com/fukamachi/fast-websocket")
+     (source
+      (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit commit)))
+       (sha256
+        (base32
+         "04sacrhpdp3ixvp6wjwxls5mv47g0q6542pd16yn199xjg0drw8a"))))
+     (build-system asdf-build-system/sbcl)
+     (arguments
+      ;; Test system must be loaded before, otherwise tests fail with:
+      ;; Component FAST-WEBSOCKET-ASD::FAST-WEBSOCKET-TEST not found, required by #<SYSTEM
+      ;; "fast-websocket">.
+      '(#:asd-systems '("fast-websocket-test"
+                        "fast-websocket")))
+     (inputs
+      (list sbcl-fast-io
+            sbcl-babel
+            sbcl-alexandria))
+     (native-inputs
+      (list sbcl-prove
+            sbcl-trivial-utf-8))
+     (synopsis "Optimized low-level WebSocket protocol parser written in Common Lisp")
+     (description "Optimized low-level WebSocket protocol parser/composer.")
+     (license license:bsd-2))))
+
+(define-public cl-fast-websocket
+  (sbcl-package->cl-source-package sbcl-fast-websocket))
+
+(define-public ecl-fast-websocket
+  (sbcl-package->ecl-package sbcl-fast-websocket))
-- 
2.30.2





  parent reply	other threads:[~2022-03-06  3:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-06  3:33 [bug#54268] [PATCH 0/6] Add cl-clog and its missing dependencies Aurora via Guix-patches via
2022-03-06  3:33 ` [bug#54268] [PATCH 1/6] gnu: Add cl-template Aurora via Guix-patches via
2022-03-06  3:33 ` Aurora via Guix-patches via [this message]
2022-03-06  3:33 ` [bug#54268] [PATCH 3/6] gnu: Add cl-event-emitter Aurora via Guix-patches via
2022-03-06  3:33 ` [bug#54268] [PATCH 4/6] gnu: Add cl-sha1 Aurora via Guix-patches via
2022-03-06  3:33 ` [bug#54268] [PATCH 5/6] gnu: Add cl-websocket-driver Aurora via Guix-patches via
2022-03-08 18:35   ` Maxime Devos
2022-03-08 18:52     ` Guillaume Le Vaillant
2022-03-08 19:59       ` Maxime Devos
2022-03-09 20:51         ` Aurora via Guix-patches via
2022-03-06  3:33 ` [bug#54268] [PATCH 6/6] gnu: Add cl-clog Aurora via Guix-patches via
2022-03-08 18:29   ` Maxime Devos
2022-03-09 20:59     ` Aurora via Guix-patches via
     [not found] ` <handler.54268.B.164653763126451.ack@debbugs.gnu.org>
2022-03-06  3:55   ` [bug#54268] ([PATCH 0/6] Add cl-clog and its missing dependencies) Aurora via Guix-patches via
2022-03-08 13:19     ` [bug#54268] Add cl-clog and its missing dependencies Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220306033338.3363-3-rind38@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=54268@debbugs.gnu.org \
    --cc=rind38@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).