[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68941] [PATCH 37/44] gnu: Add node-which-boxed-primitive.
From: |
Nicolas Graves |
Subject: |
[bug#68941] [PATCH 37/44] gnu: Add node-which-boxed-primitive. |
Date: |
Tue, 6 Feb 2024 00:19:25 +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 5a85e70e45..15eec6c509 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
- [bug#68941] [PATCH 36/44] gnu: Add node-es-get-iterator., (continued)
- [bug#68941] [PATCH 36/44] gnu: Add node-es-get-iterator., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 39/44] gnu: Add node-array-buffer-byte-length., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 41/44] gnu: Add node-object-assign., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 44/44] gnu: Add node-deep-equal., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 29/44] gnu: Add node-is-map., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 30/44] gnu: Add node-is-set., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 31/44] gnu: Add node-is-string., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 25/44] gnu: Add node-define-properties., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 33/44] gnu: Add node-is-bigint., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 34/44] gnu: Add node-is-boolean-object., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 37/44] gnu: Add node-which-boxed-primitive.,
Nicolas Graves <=
- [bug#68941] [PATCH 38/44] gnu: Add node-which-collection., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 40/44] gnu: Add node-is-date-object., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 42/44] gnu: Add node-object-keys., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 43/44] gnu: Add node-regexp-prototype-flags., Nicolas Graves, 2024/02/05
- [bug#68941] [PATCH 01/44] guix: build-system: node: Add node-trivial-package helper., Liliana Marie Prikler, 2024/02/06
[bug#68941] [PATCH v2 01/44] guix: build-system: node: Add trivial-node-package helper., Nicolas Graves, 2024/02/07