unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 58179@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#58179] [PATCH 1/4] gnu: Add node-ws.
Date: Thu, 29 Sep 2022 21:52:24 +0200	[thread overview]
Message-ID: <20220929195227.11018-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <87edvuynaw.fsf@ngraves.fr>

* gnu/packages/node-xyz.scm (node-ws): New variable.
---
 gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index b14b407e19..4c92e07537 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1512,6 +1512,35 @@ (define-public node-serialport
 projects.  It combines a high-level Node.js stream interface with a useful
 default set of parsers and bindings.")))
 
+(define-public node-ws
+  (package
+    (name "node-ws")
+    (version "8.8.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/websockets/ws")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nwig6rxakd72nr1sbcl7qqwab3w5116s7dcblnz45fslf9lql8i"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (replace 'configure
+                    (lambda _
+                      (invoke "npm" "--offline" "--ignore-scripts" "install"
+                              "--production"))))))
+    (home-page "https://github.com/websockets/ws")
+    (synopsis "Websocket client and server for Node.js")
+    (description "This package provides a simple websocket client and server
+for Node.js.  It doesn't work in a browser.  It can send and receive data,
+authenticate clients, broadwast to other websocket clients, use external
+APIs...")
+    (license license:expat)))
+
 (define-public node-yazl
   (package
     (name "node-yazl")
-- 
2.37.3





  reply	other threads:[~2022-09-29 19:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-29 19:48 [bug#58179] A small script to switch between browser tabs Nicolas Graves via Guix-patches via
2022-09-29 19:52 ` Nicolas Graves via Guix-patches via [this message]
2022-09-29 19:52   ` [bug#58179] [PATCH 2/4] gnu: Add node-commander Nicolas Graves via Guix-patches via
2022-09-29 19:52   ` [bug#58179] [PATCH 3/4] gnu: Add node-chrome-remote-interface Nicolas Graves via Guix-patches via
2022-09-29 19:52   ` [bug#58179] [PATCH 4/4] gnu: Add rofi-switch-browser-tabs/chromium Nicolas Graves via Guix-patches via
2022-10-02 19:16 ` [bug#58179] [PATCH] gnu: Add rofi-switch-browser-tabs Nicolas Graves via Guix-patches via
2022-10-02 19:22 ` Nicolas Graves via Guix-patches via

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=20220929195227.11018-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=58179@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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).