Subject: [PATCH 30/44] gnu: Add node-is-set.

From: Nicolas Graves <[email-masked]>
Date: Tue, 6 Feb 2024 00:19:18 +0100

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

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 1d947db139..a6b8a941e5 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1056,6 +1056,46 @@ (define-public node-is-regex
 value is a JS @code{Regex}.")
     (license license:expat)))
 
+(define-public node-is-set
+  (package
+    (name "node-is-set")
+    (version "2.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/inspect-js/is-set")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "17rvssmd5rdlw6yqdzpqm98r0dk099sc9b9zkpz546ldfxr4kdbs"))))
+    (build-system node-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies
+              '("@ljharb/eslint-config"
+		"aud"
+		"auto-changelog"
+		"core-js"
+		"es5-shim"
+		"es6-shim"
+		"eslint"
+		"for-each"
+		"in-publish"
+		"nyc"
+		"object-inspect"
+		"safe-publish-latest"
+                "tape")))))
+       #:tests? #f))  ; FIXME tests depend on node-tape.
+    (home-page "https://github.com/inspect-js/is-set")
+    (synopsis "Javascript predicate to identify if value is @code{Set}")
+    (description "This package provides a Javascript function to identify if a
+value is a JS @code{Set}.")
+    (license license:expat)))
+
 (define-public node-is-shared-array-buffer
   (package
     (name "node-is-shared-array-buffer")
-- 
2.41.0