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 x5XKNl7jK2FhTQEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 21:43:26 +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 +C/iMV7jK2F4EgAAB5/wlQ (envelope-from ) for ; Sun, 29 Aug 2021 19:43:26 +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 8312917157 for ; Sun, 29 Aug 2021 21:43:26 +0200 (CEST) Received: from localhost ([::1]:48756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKQiD-0000xm-JY for larch@yhetil.org; Sun, 29 Aug 2021 15:43:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKQhq-0000vC-7b for guix-patches@gnu.org; Sun, 29 Aug 2021 15:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45893) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKQhp-0000RI-Vl for guix-patches@gnu.org; Sun, 29 Aug 2021 15:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKQhp-0003QR-UD for guix-patches@gnu.org; Sun, 29 Aug 2021 15:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50257] [PATCH 2/2] gnu: Add node-irc. References: <20210829193930.8890-1-noisytoot@disroot.org> In-Reply-To: <20210829193930.8890-1-noisytoot@disroot.org> Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Aug 2021 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50257@debbugs.gnu.org Cc: Ron Nazarov Received: via spool by 50257-submit@debbugs.gnu.org id=B50257.163026612513102 (code B ref 50257); Sun, 29 Aug 2021 19:43:01 +0000 Received: (at 50257) by debbugs.gnu.org; 29 Aug 2021 19:42:05 +0000 Received: from localhost ([127.0.0.1]:57439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKQgv-0003PG-LH for submit@debbugs.gnu.org; Sun, 29 Aug 2021 15:42:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKQgt-0003P5-Sg for 50257@debbugs.gnu.org; Sun, 29 Aug 2021 15:42:04 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6026863BBA; Sun, 29 Aug 2021 21:42:02 +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 6F4yp8-J7bgi; Sun, 29 Aug 2021 21:42:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1630266121; bh=giZa+QXFtJqV4BWSuHMUVBbZhcU0f2qdL618asXDdt0=; h=From:To:Cc:Subject:Date; b=DeFHOoP7Spm7UmkLR1nTaDSMaxxC1XI+19Y3KVQis7q5gtjVtpVEljZTNJbVyuICJ Vf9LDQGko46q8FbywGg8mDkyu/xr6TGIWiYSbeL8vfJu1HZ4+pNIML5aeEwm0evouy FrZA2A2upkUS4gHk3DimGEdtbmDOAGBfk8A2/tlNCAdkNfjr3eFIhhRZgy4SgFZPLb eZg2tX3DcZSR7qgfysuPynTmUhAsCIYSPe7cjNmWx7sb4OvQPlNY7s7iZYxTJbhs9n JYOY9UKkF3CSvIDMB8LaUzCKQIrH7Q8r+bHjChr/pHCRN2XmXAdqW2XRCfy0dZQJGN gPNSlp+d3bHwg== Date: Sun, 29 Aug 2021 20:41:52 +0100 Message-Id: <20210829194152.9298-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1630266206; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8GOUbqMc3jJscVzbrrHD+EgYwk9RIiRicxksM9LXnLc=; b=V4ex1N0+UKB0tWKdSuV4H7mBudNBwf2L7qmIPwNtZYRK99RmfHa3hznOQdBWxcpK+zB5+X I5kzYd52L+0xUhS+mD1vlTeagSeu2NcUQG6NjinjsBwCKV9whB27WvruOgjtSZ3Rcn8Iwy UEUQJcY6hg9SyZaNoj7FtkbhFX72GnsIxcYcqzU0u4Pi4cHNCQBVuKqEJOUAkEfV+YA3xV LA6UV/0jEyZCq7vCRxmtr+mgtOEo2Iqzhsguym9DiOimN7onK67174NPZIX2e11BdibjHo tn1E6X1s2ojop77veEC9iXMpqLuzQfGQA12Qy/FUt85I0LPX0BYa/NLg+6b9dg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630266206; a=rsa-sha256; cv=none; b=SUfNgUONomiPNUvWihDCi2waAb8HXvaj6vcpHwN4eVb5G4jPaGGzbnO2EJ4FH2vjcdLEHj Uf9nhJXdPrl6MTYO9LH0rmGx90c4Hp1FX7DLhqRD2rFmjCeKDB6X2JXkg98qxVhB7eM+NC U2YfitvYjUknycK8b+5gFgO9JvYJOoJz73RQVD+tefad7A8t+9uEkRRTdUN7gtE7Cne7uJ AvQVHQjdVJkyIB0/QjhKjUc/ECsKQctXcTriZspWWeTXcUZgFbNDUIMtrvs85yYG4MzsG0 +Tb86IGPMOODUp0Vs8s/NrcxLfvyopM+Kk/B+/Zyu+WkNyqzKtvQ9l20ehNf5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=DeFHOoP7; 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=DeFHOoP7; 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: 8312917157 X-Spam-Score: 3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: pFQLmvl2jprt * 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