all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50257] [PATCH 1/2] gnu: Add node-irc-colors.
@ 2021-08-29 19:39 Ron Nazarov via Guix-patches via
  2021-08-29 19:41 ` [bug#50257] [PATCH 2/2] gnu: Add node-irc Ron Nazarov via Guix-patches via
  2021-09-23  7:49 ` bug#50257: [PATCH 1/2] gnu: Add node-irc-colors Efraim Flashner
  0 siblings, 2 replies; 3+ messages in thread
From: Ron Nazarov via Guix-patches via @ 2021-08-29 19:39 UTC (permalink / raw)
  To: 50257; +Cc: Ron Nazarov

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#50257] [PATCH 2/2] gnu: Add node-irc.
  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
  2021-09-23  7:49 ` bug#50257: [PATCH 1/2] gnu: Add node-irc-colors Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Ron Nazarov via Guix-patches via @ 2021-08-29 19:41 UTC (permalink / raw)
  To: 50257; +Cc: Ron Nazarov

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#50257: [PATCH 1/2] gnu: Add node-irc-colors.
  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 ` [bug#50257] [PATCH 2/2] gnu: Add node-irc Ron Nazarov via Guix-patches via
@ 2021-09-23  7:49 ` Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2021-09-23  7:49 UTC (permalink / raw)
  To: Ron Nazarov; +Cc: 50257-done

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Thanks. Patches pushed.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-23  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [bug#50257] [PATCH 2/2] gnu: Add node-irc Ron Nazarov via Guix-patches via
2021-09-23  7:49 ` bug#50257: [PATCH 1/2] gnu: Add node-irc-colors Efraim Flashner

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.