GNU bug report logs - #68941
[PATCH 00/44] Node : a solution for tiny packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 5 Feb 2024 23:17:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [bug#68941] [PATCH 20/44] gnu: Add node-is-weakset.
Date: Tue,  6 Feb 2024 00:19:08 +0100
* gnu/packages/node-xyz.scm (node-is-weakset): New variable.

Change-Id: Id50f6d1e5bd0087994cc47fa8ee7ecb8fcee5b81
---
 gnu/packages/node-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 78f79706eb..d423281103 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -992,6 +992,49 @@ (define-public node-is-weakmap
 value is a JS @code{WeakMap}.")
     (license license:expat)))
 
+(define-public node-is-weakset
+  (package
+    (name "node-is-weakset")
+    (version "2.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/inspect-js/is-weakset")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ccsv965v76l27922d17j6dwhrbpghxb4hizca7b9yclp6rxig96"))))
+    (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"
+                "npmignore"
+		"nyc"
+		"object-inspect"
+		"safe-publish-latest"
+                "tape")))))
+       #:tests? #f))  ; FIXME tests depend on node-tape.
+    (inputs
+     (list node-call-bind node-get-intrinsic))
+    (home-page "https://github.com/inspect-js/is-weakset")
+    (synopsis "Javascript predicate to identify if value is @code{WeakSet}")
+    (description "This package provides a Javascript function to identify if a
+value is a JS @code{WeakSet}.")
+    (license license:expat)))
+
 (define-public node-long-stack-traces
   (package
     (name "node-long-stack-traces")
-- 
2.41.0





This bug report was last modified 1 year and 13 days ago.

Previous Next


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