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

Previous Next

Package: guix-patches;

Reported by: Ron Nazarov <noisytoot <at> disroot.org>

Date: Fri, 9 Apr 2021 22:11:02 UTC

Severity: normal

Tags: patch

Merged with 47680

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47682 in the body.
You can then email your comments to 47682 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47682; Package guix-patches. (Fri, 09 Apr 2021 22:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ron Nazarov <noisytoot <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 09 Apr 2021 22:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ron Nazarov <noisytoot <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Ron Nazarov <noisytoot <at> disroot.org>
Subject: [PATCH v2] gnu: Add node-once.
Date: Fri,  9 Apr 2021 23:10:18 +0100
* 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





Merged 47680 47682. Request was from Ron Nazarov <noisytoot <at> disroot.org> to control <at> debbugs.gnu.org. (Fri, 09 Apr 2021 22:16:01 GMT) Full text and rfc822 format available.

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Tue, 04 May 2021 21:15:02 GMT) Full text and rfc822 format available.

Notification sent to Ron Nazarov <noisytoot <at> disroot.org>:
bug acknowledged by developer. (Tue, 04 May 2021 21:15:02 GMT) Full text and rfc822 format available.

Message #12 received at 47682-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 47682-done <at> debbugs.gnu.org
Subject: Re: [PATCH v2] gnu: Add node-once.
Date: Tue, 04 May 2021 23:14:14 +0200
[Message part 1 (text/plain, inline)]
Noisy,

> This package still works as a dependency of glob and inflight

If you say so!

> which are being packaged.

I dropped this part as it I hope it to be outdated soon.

Pushed as 2959adef94ba8684127bb995ce26b3234b4d457d.

Thanks,

T G-R
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Tue, 04 May 2021 21:15:02 GMT) Full text and rfc822 format available.

Notification sent to Ron Nazarov <noisytoot <at> disroot.org>:
bug acknowledged by developer. (Tue, 04 May 2021 21:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 327 days ago.

Previous Next


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