GNU bug report logs - #47680
[PATCH] gnu: Add node-once.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Ron Nazarov <noisytoot@HIDDEN>; Keywords: patch; merged with #47682; dated Fri, 9 Apr 2021 21:36:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Merged 47680 47682. Request was from Ron Nazarov <noisytoot@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Apr 2021 21:35:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 09 17:35:18 2021
Received: from localhost ([127.0.0.1]:51078 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lUymc-0004Dx-BG
	for submit <at> debbugs.gnu.org; Fri, 09 Apr 2021 17:35:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:52642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noisytoot@HIDDEN>) id 1lUymb-0004Dq-4F
 for submit <at> debbugs.gnu.org; Fri, 09 Apr 2021 17:35:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41324)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noisytoot@HIDDEN>)
 id 1lUyma-0002KP-TU
 for guix-patches@HIDDEN; Fri, 09 Apr 2021 17:35:16 -0400
Received: from knopi.disroot.org ([178.21.23.139]:48742)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noisytoot@HIDDEN>)
 id 1lUymY-0003h2-46
 for guix-patches@HIDDEN; Fri, 09 Apr 2021 17:35:16 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id A3AA750CF4;
 Fri,  9 Apr 2021 23:35:06 +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 o7Vo3OovplSJ; Fri,  9 Apr 2021 23:35:05 +0200 (CEST)
From: Ron Nazarov <noisytoot@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1618004105; bh=ClbR1Hlcvh9kUSKYRqCh0EJS1bWcsjvJk2NmdZ7SOCg=;
 h=From:To:Cc:Subject:Date;
 b=dgfxxHBAkOQwxBsme4Y7DzaYc4UqXp9CuXaLKSaz4h5JQ3tdauIvSJMK72MNVf4OW
 0wd2zPigpc1s8kszWFGvF0ekNlPkKNwcq8paud28zVVG8evtK+jTtMeu3dcdio7ajt
 INowARkeROv/E1mV87qPWr1K65C5QIVufbSbhHZ6PBeVQCe+yc2p9I/T0X1S8RIF9R
 C3xWb2TlKFW7YJcU994ifT+OpopqjhO+V1zuwmt+KB3pBDWdKALRyOZxlmhOr01Tu9
 63P7Eo5cbP1MvBu1ZiphxC8JCxy54ExQJ8Ptxc5ej7SvAUtMpiAuiu3xl5Naw9qKHZ
 ixTyhJQPQ+2dw==
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add node-once.
Date: Fri,  9 Apr 2021 22:34:43 +0100
Message-Id: <20210409213443.40317-1-noisytoot@HIDDEN>
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=178.21.23.139; envelope-from=noisytoot@HIDDEN;
 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, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Ron Nazarov <noisytoot@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/node-xyz.scm (node-once): New variable.
---
 gnu/packages/node-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f401380310..a56190da9e 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -298,3 +298,30 @@ function with browser support.")
     (synopsis "Callback wrapping utility")
     (description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
     (license license:isc)))
+
+(define-public node-once
+  (package
+    (name "node-once")
+    (version "1.4.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/isaacs/once")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1z8dcbf28dqdcp4wb0c53wrs90a07nkrax2c9kk26dsk1dhrnxav"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f ; FIXME: Tests depend on node-tap
+       #:phases
+       (modify-phases %standard-phases
+         ;; Fails due to tap being missing
+         (delete 'configure))))
+    (inputs
+     `(("node-wrappy" ,node-wrappy)))
+    (home-page "https://github.com/isaacs/once")
+    (synopsis "Node.js module to only run a function once")
+    (description "@code{once} is a Node.js module to only run a function once.")
+    (license license:isc)))
-- 
2.30.2





Acknowledgement sent to Ron Nazarov <noisytoot@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#47680; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 9 Apr 2021 22:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.