From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wPWRLtjiK2HISwEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 21:41:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GIOpKdjiK2FhEgAAB5/wlQ (envelope-from ) for ; Sun, 29 Aug 2021 19:41:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1F661171BD for ; Sun, 29 Aug 2021 21:41:12 +0200 (CEST) Received: from localhost ([::1]:47524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKQg2-0008T2-Ir for larch@yhetil.org; Sun, 29 Aug 2021 15:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKQfu-0008SH-AU for guix-patches@gnu.org; Sun, 29 Aug 2021 15:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKQfu-0007gM-3N for guix-patches@gnu.org; Sun, 29 Aug 2021 15:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKQfu-0003NG-1f for guix-patches@gnu.org; Sun, 29 Aug 2021 15:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50257] [PATCH 1/2] gnu: Add node-irc-colors. Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50257@debbugs.gnu.org Cc: Ron Nazarov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163026601712907 (code B ref -1); Sun, 29 Aug 2021 19:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2021 19:40:17 +0000 Received: from localhost ([127.0.0.1]:57434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKQfB-0003M7-7u for submit@debbugs.gnu.org; Sun, 29 Aug 2021 15:40:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:50396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKQf8-0003Ly-Hl for submit@debbugs.gnu.org; Sun, 29 Aug 2021 15:40:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKQf8-0007zZ-3I for guix-patches@gnu.org; Sun, 29 Aug 2021 15:40:14 -0400 Received: from knopi.disroot.org ([178.21.23.139]:43314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKQf5-0006wX-Lj for guix-patches@gnu.org; Sun, 29 Aug 2021 15:40:13 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3695263BBA; Sun, 29 Aug 2021 21:40:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new 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 CxPbPb79-aLq; Sun, 29 Aug 2021 21:40:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1630266004; bh=wNPq+j9gQ/OLaqLDEI2nUoPSdtPu1FQDi8OYkCMidz8=; h=From:To:Cc:Subject:Date; b=A3jDq+MWubv/Z70VeNPHX/+vXBhvarpLRy1gq8vMc7dk116bPWW2MjzhDXOweMHHV GuPPuVyVl74/N7pW2z1uKJfwDVOYDWv4c2jkj8K9x4p9SohJK91vGH5oukF9gcmry6 imerq0y0xmf9n+uSxo6QT+aeJAXAc9EG05xQyQE1E87l13uUudRKt4wH/q3f1I2QT8 /+ANhpcZ0ZUEN/+5KWrKHAJucZB7gfUmZqMehqWZLVPgSFp4Xh4KrQ/fMlLJ8dlb6S cmBur0wSrZ1hBFD/ZpvgbtWlEQy23ItHfpJ+khd+FqRfyoMG/3cp5W6CknC+TFvHdg XpAE+LDZLLdSQ== Date: Sun, 29 Aug 2021 20:39:30 +0100 Message-Id: <20210829193930.8890-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=noisytoot@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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630266072; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7XlrcT3wVez3jeRMQS5PyTxbV4rNeAQ6m+NnKKzmxXM=; b=ffHGNvKRq4wGs9RJ7R/ez2fS8wgWSFxEhL2ZrlED0m9Ph+CWmJuSODvAjXqP9m6o5zw6J/ zN5g98aJo7dhiRQpaoK2/VelR2vodBYQwWwh6Zhh1n+V8MQ9WgOjMfO5yT5NeL84e9vJ30 ssARp/iyaj5kj4Ld3NpVK439F3hj8KbP6T4wBS/TfKYdkwNkt3lz8n3XwlvJiZP/sLbS3Z Ls4PjzZF1RG2Ewf85pl2PjQ04MjsXtQPt4cn9XTjls1r0GBUUPiBd/wGhz6q/Sj92WWdJh sA+H1auQ6q4FK4lnQmTiIj6e6hyQnXbiaUAX9mrnwQrsKMOqI/tiGtpgtrnhjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630266072; a=rsa-sha256; cv=none; b=B1duVW5DQ7gT5VTH5GlPkDf9waYAo1/0xt98JnjSYnD1Hw6C32n4i65vGXGVVf5IK2IenM r0Y5+3FTKYnLIGEdvrlbXRvbwtVNVYK7DTsnYwJQg3o4GpHDbMkeCBeFzxf+YNrQPyzYwU ItdW7ruQ5z2YyUeq26sEArv8vNTL5NXDVuX7/SFYGtvmm/B/Q9rUJtwK2tviPTmldL5qCo gadhRkPWXGMyrMV8OsGudLrwVcjLzVlIKUMf/NoQYdWC8tiFtyzpsF1V0M2ny74qRcvfGT itZq0iMa9olK1i8UoyLZj0WI18mejkM661E4BHgYdm3022VMkHDnY9Zndpbnuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=A3jDq+MW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=A3jDq+MW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1F661171BD X-Spam-Score: 3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1idXwyNcY4DW * 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