emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47680: closed ([PATCH] gnu: Add node-once.)


From: GNU bug Tracking System
Subject: bug#47680: closed ([PATCH] gnu: Add node-once.)
Date: Tue, 04 May 2021 21:15:02 +0000

Your message dated Tue, 04 May 2021 23:14:14 +0200
with message-id <87sg32mcbd.fsf@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@gnu.org.)


-- 
47682: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47682
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH v2] gnu: Add node-once. Date: Tue, 04 May 2021 23:14:14 +0200
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]