GNU bug report logs - #47682
[PATCH v2] 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 #47680; dated Fri, 9 Apr 2021 22:11:02 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 22:10:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 09 18:10:40 2021
Received: from localhost ([127.0.0.1]:51090 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lUzKq-00052h-EZ
	for submit <at> debbugs.gnu.org; Fri, 09 Apr 2021 18:10:40 -0400
Received: from lists.gnu.org ([209.51.188.17]:33342)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <noisytoot@HIDDEN>) id 1lUzKo-00052a-Pi
 for submit <at> debbugs.gnu.org; Fri, 09 Apr 2021 18:10:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48138)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noisytoot@HIDDEN>)
 id 1lUzKo-0008Kx-L7
 for guix-patches@HIDDEN; Fri, 09 Apr 2021 18:10:38 -0400
Received: from knopi.disroot.org ([178.21.23.139]:35460)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <noisytoot@HIDDEN>)
 id 1lUzKl-0000lc-7A
 for guix-patches@HIDDEN; Fri, 09 Apr 2021 18:10:38 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 0816650D13;
 Sat, 10 Apr 2021 00:10:33 +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 nQk9OMZwldG7; Sat, 10 Apr 2021 00:10:31 +0200 (CEST)
From: Ron Nazarov <noisytoot@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1618006231; bh=e/KbY0yIwKWEwV4moAp/2dVKkx7MXkTY4hzNod0xaTA=;
 h=From:To:Cc:Subject:Date;
 b=f91QKBAuwKNyZ4uWmRPotnQKE+JUY825sQx0BfJJOd/cJjSfrvdrvDjyquvXqBjv5
 f2eQazH4MloEm7zgyJNtGOiYRC8zeq1uqKNMYs4rCY25kCi0hXO77oEV3nOAyGHNYR
 51MhOgVDkQwKlKLcSOLBARpGHlDU1N83YikFncqnXBKKdxARppuEXjN6mfSUsmKG/C
 eMJ0mCay6sOv2ryO027sXbwyiqtcPPb7550ICoPDZsorn5ZkdmZ9SRZZkDOpLiuqkg
 wp6aS6r5fNfe1PxvYbU6lhK8lt8RYw1o3oug7qZdYF7MzRQWea9ljA4daipXbEl0OH
 KXOzbfhivX8/Q==
To: guix-patches@HIDDEN
Subject: [PATCH v2] gnu: Add node-once.
Date: Fri,  9 Apr 2021 23:10:18 +0100
Message-Id: <20210409221018.44513-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 | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f401380310..ee0b5e62d9 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -298,3 +298,33 @@ 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
+         ;; If configure existed it would fail due to tap being missing,
+         ;; as we do not have tap packaged yet, tap is used for tests.
+         ;; This package still works as a dependency of glob and inflight,
+         ;; which are being packaged.
+         (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#47682; 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.