all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ron Nazarov via Guix-patches via <guix-patches@gnu.org>
To: 50257@debbugs.gnu.org
Cc: Ron Nazarov <noisytoot@disroot.org>
Subject: [bug#50257] [PATCH 2/2] gnu: Add node-irc.
Date: Sun, 29 Aug 2021 20:41:52 +0100	[thread overview]
Message-ID: <20210829194152.9298-1-noisytoot@disroot.org> (raw)
In-Reply-To: <20210829193930.8890-1-noisytoot@disroot.org>

* gnu/packages/node-xyz.scm (node-irc): 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 7339970f68..2b8fe036f8 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -386,3 +386,32 @@ allows you to easily use colored output and formatting in IRC bots.
 It contains functions for colours as well as more complex formatting
 such as rainbows.")
     (license license:expat)))
+
+(define-public node-irc
+  (package
+    (name "node-irc")
+    (version "0.5.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/martynsmith/node-irc")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ln4qfx20jbwg4cp8lp0vf27m5281z2sz16d15xd6150n26cbi4x"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f                      ; FIXME: tests depend on node-faucet
+       #:phases
+       (modify-phases %standard-phases
+         ;; The default configure phase fails due to various packages
+         ;; being missing, as we don't have them packaged yet.
+         (delete 'configure))))
+    (inputs
+     `(("node-irc-colors" ,node-irc-colors)))
+    (home-page "https://github.com/martynsmith/node-irc")
+    (synopsis "IRC client library for Node.js")
+    (description "@code{node-irc} is an IRC client library for Node.js.
+It has functions for joining, parting, talking, and many other IRC commands.")
+    (license license:gpl3+)))
-- 
2.33.0





  reply	other threads:[~2021-08-29 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 19:39 [bug#50257] [PATCH 1/2] gnu: Add node-irc-colors Ron Nazarov via Guix-patches via
2021-08-29 19:41 ` Ron Nazarov via Guix-patches via [this message]
2021-09-23  7:49 ` bug#50257: " Efraim Flashner

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

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

  git send-email \
    --in-reply-to=20210829194152.9298-1-noisytoot@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=50257@debbugs.gnu.org \
    --cc=noisytoot@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.