unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#47585] [PATCH] gnu: Add node-wrappy.
@ 2021-04-03 21:19 Ron Nazarov via Guix-patches via
  2021-04-05 21:23 ` Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Ron Nazarov via Guix-patches via @ 2021-04-03 21:19 UTC (permalink / raw)
  To: 47585; +Cc: Ron Nazarov

* gnu/packages/node-xyz.scm (node-wrappy): New variable.
---
 gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 60cc005ea4..f401380310 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -272,3 +273,28 @@ function with browser support.")
      "@code{node-semver} is a JavaScript implementation of the
 @uref{https://semver.org/, SemVer.org} specification.")
     (license license:isc)))
+
+(define-public node-wrappy
+  (package
+    (name "node-wrappy")
+    (version "1.0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/npm/wrappy")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1ymlc61cja6v5438vwb04gq8wg2b784lj39zf0g4i36fvgcw9783"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f ; FIXME: Tests depend on node-tap
+       #:phases
+       (modify-phases %standard-phases
+         ;; The only dependency to check for is tap, which we don't have.
+         (delete 'configure))))
+    (home-page "https://github.com/npm/wrappy")
+    (synopsis "Callback wrapping utility")
+    (description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
+    (license license:isc)))
-- 
2.30.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug#47585] [PATCH] gnu: Add node-wrappy.
  2021-04-03 21:19 [bug#47585] [PATCH] gnu: Add node-wrappy Ron Nazarov via Guix-patches via
@ 2021-04-05 21:23 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2021-04-05 21:23 UTC (permalink / raw)
  To: 47585; +Cc: Ron Nazarov, 47585-done

On Sat, Apr 03, 2021 at 10:19:08PM +0100, Ron Nazarov via Guix-patches via wrote:
> * gnu/packages/node-xyz.scm (node-wrappy): New variable.

Thanks! Pushed as ab0ed26eb70931e04c921ceef313ca67e3c6d61c




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-05 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-03 21:19 [bug#47585] [PATCH] gnu: Add node-wrappy Ron Nazarov via Guix-patches via
2021-04-05 21:23 ` Leo Famulari

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git