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

Previous Next

Package: guix-patches;

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

Date: Fri, 9 Apr 2021 21:36:01 UTC

Severity: normal

Tags: patch

Merged with 47682

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 47680 in the body.
You can then email your comments to 47680 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#47680; Package guix-patches. (Fri, 09 Apr 2021 21:36:01 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 21:36:01 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] 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





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.

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 322 days ago.

Previous Next


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