Subject: bug#50257: closed (Re: [bug#50257] [PATCH 1/2] gnu: Add node-irc-colors.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Sep 2021 07:52:02 +0000

Your bug report

#50257: [PATCH 1/2] gnu: Add node-irc-colors.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50257: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50257
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#50257] [PATCH 1/2] gnu: Add node-irc-colors.
From: Efraim Flashner <[email-masked]>
To: Ron Nazarov <[email-masked]>
Cc: [email-masked]
Date: Thu, 23 Sep 2021 10:49:34 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks. Patches pushed.

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: [PATCH 1/2] gnu: Add node-irc-colors.
From: Ron Nazarov <[email-masked]>
To: [email-masked]
Cc: Ron Nazarov <[email-masked]>
Date: Sun, 29 Aug 2021 20:39:30 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/node-xyz.scm (node-irc-colors): 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 cbb68f77d6..7339970f68 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -357,3 +357,32 @@ function with browser support.")
 Subsequent calls will either return the cached previous value or throw an error
 if desired.")
     (license license:isc)))
+
+(define-public node-irc-colors
+  (package
+    (name "node-irc-colors")
+    (version "1.5.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fent/irc-colors.js")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0q3y34rbnlc55jcakmdxkicwazyvyph9r6gaf6hi8k7wj2nfwfli"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f                      ; FIXME: tests depend on node-istanbul
+       #: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))))
+    (home-page "https://github.com/fent/irc-colors.js")
+    (synopsis "Node.js module providing color and formatting for IRC")
+    (description "@code{node-irc-colors} is a Node.js module that
+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)))
-- 
2.33.0