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


Message #259 received at 68941 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 37/44] gnu: Add node-which-boxed-primitive.
Date: Thu,  8 Feb 2024 01:25:00 +0100
* gnu/packages/node-xyz.scm (node-which-boxed-primitive): New variable.
---
 gnu/packages/node-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index ca9b8f661c..664b13b56b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -2574,6 +2574,47 @@ (define-public node-util-deprecate
 function with browser support.")
     (license license:expat)))
 
+(define-public node-which-boxed-primitive
+  (package
+    (name "node-which-boxed-primitive")
+    (version "1.0.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/inspect-js/which-boxed-primitive")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10gns1ljcq87bp1rgd0h21hzl8advyadwxd87f48l4fr0clz9y0z"))))
+    (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"
+		"eslint"
+                "has-symbols"
+		"in-publish"
+		"npmignore"
+		"nyc"
+                "object-inspect"
+		"safe-publish-latest"
+                "tape")))))
+       #:tests? #f))  ; FIXME tests depend on node-tape.
+    (inputs
+     (list node-is-symbol node-is-bigint node-is-boolean-object
+           node-is-number-object node-is-string))
+    (home-page "https://github.com/inspect-js/which-boxed-primitive")
+    (synopsis "Javascript function to determine which boxed primitive it is")
+    (description "This package provides a Javascript function to determine
+which kind of boxed primitive the value given is.")
+    (license license:expat)))
+
 (define-public node-which-typed-array
   (package
     (name "node-which-typed-array")
-- 
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.