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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#47680: closed ([PATCH] gnu: Add node-once.)
Date: Tue, 04 May 2021 21:15:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 04 May 2021 23:14:14 +0200
with message-id <87sg32mcbd.fsf <at> nckx>
and subject line Re: [PATCH v2] gnu: Add node-once.
has caused the debbugs.gnu.org bug report #47682,
regarding [PATCH] gnu: Add node-once.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
47682: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47682
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ron Nazarov <noisytoot <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Ron Nazarov <noisytoot <at> disroot.org>
Subject: [PATCH] gnu: Add node-once.
Date: Fri,  9 Apr 2021 22:34:43 +0100
* 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



[Message part 3 (message/rfc822, inline)]
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 4 (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)]

This bug report was last modified 4 years and 20 days ago.

Previous Next


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