From patchwork Sun Mar 6 03:33:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurora X-Patchwork-Id: 37630 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8ABB027BBEA; Sun, 6 Mar 2022 03:35:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5863227BBE9 for ; Sun, 6 Mar 2022 03:35:22 +0000 (GMT) Received: from localhost ([::1]:60544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQhg1-0002Ff-HB for patchwork@mira.cbaines.net; Sat, 05 Mar 2022 22:35:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQhfi-0001yH-Ij for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQhfi-00029b-9S for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQhfi-0006wF-74 for guix-patches@gnu.org; Sat, 05 Mar 2022 22:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54268] [PATCH 2/6] gnu: Add cl-fast-websocket Resent-From: Aurora Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Mar 2022 03:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54268 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54268@debbugs.gnu.org Cc: Aurora X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164653764826538 (code B ref -1); Sun, 06 Mar 2022 03:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2022 03:34:08 +0000 Received: from localhost ([127.0.0.1]:49596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQhep-0006ty-QX for submit@debbugs.gnu.org; Sat, 05 Mar 2022 22:34:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:50432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQhep-0006tq-2p for submit@debbugs.gnu.org; Sat, 05 Mar 2022 22:34:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQheo-0001nr-R6 for guix-patches@gnu.org; Sat, 05 Mar 2022 22:34:06 -0500 Received: from knopi.disroot.org ([178.21.23.139]:40954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQhem-00024I-0E for guix-patches@gnu.org; Sat, 05 Mar 2022 22:34:05 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D25B98CAD5; Sun, 6 Mar 2022 04:34:02 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75o7WMKB_F7k; Sun, 6 Mar 2022 04:34:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1646537641; bh=4JjcoiGKfA/STVLJMWtPk8vWfi9cuM60qRZqb2sFyc4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ck80JA3g0yRGLdSUWyyYsAL/OS3iC/U5BWEHlsCWPRYYFBKs4iG6Tt58zbnfkGgo1 6cPv7NDxSLBpSGBeTEQe3A6aDSRfJ50kOrkh41Q6r2S/rxRiEz5o2zj4BG9Sbi9MGP WxhsmW9hwSi4I83VQ6wWCQD3ThSvfmd/ym6WEi6QyULfBAI/1pohuIboSM3+i9eb2E Lo0Y+6xBFBGpw0OOqqaTFmQUBNTS2pE5p+HocJpsoWf8Wmbmx1VAWrwDYUvNh5qawt bsqBm2HVLqUsU6qqS4wvDb8j3aYKBhdCqeaWcQohiQsMpIMGqFIL+2K0MNjR8bRncO ozS6hOwnmWkwQ== Date: Sun, 6 Mar 2022 03:33:34 +0000 Message-Id: <20220306033338.3363-3-rind38@disroot.org> In-Reply-To: <20220306033338.3363-1-rind38@disroot.org> References: <20220306033338.3363-1-rind38@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=rind38@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Aurora X-ACL-Warn: , Aurora via Guix-patches X-Patchwork-Original-From: Aurora via Guix-patches via From: Aurora X-getmail-retrieved-from-mailbox: Patches --- 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 #. + '(#: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))