[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68941] [PATCH v2 44/44] gnu: Add node-deep-equal.
From: |
Nicolas Graves |
Subject: |
[bug#68941] [PATCH v2 44/44] gnu: Add node-deep-equal. |
Date: |
Thu, 8 Feb 2024 01:25:07 +0100 |
* gnu/packages/node-xyz.scm (node-deep-equal): New variable.
---
gnu/packages/node-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 1623010d37..4858b7f17b 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -440,6 +440,58 @@ (define-public node-define-properties
properties in Javascript directly on an object, returning the object."
#:mozilla-doclink "Global_Objects/Object/defineProperties"))
+(define-public node-deep-equal
+ (package
+ (name "node-deep-equal")
+ (version "2.2.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/node-deep-equal")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1m3kw5wzbksv76avk3zaqiyfl8y80rpygbwz8ywy1x7z5ny7n32x"))))
+ (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"
+ "available-typed-arrays"
+ "eslint"
+ "for-each"
+ "has-proto"
+ "has-symbols"
+ "has-typed-arrays"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object.getownpropertydescriptors"
+ "safe-publish-latest"
+ "semver"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-call-bind node-es-get-iterator node-get-intrinsic
+ node-is-array-buffer node-is-regex node-is-shared-array-buffer
+ node-object-is node-side-channel node-which-boxed-primitive
+ node-which-collection node-which-typed-array
+ node-array-buffer-byte-length node-is-arguments
+ node-is-date-object node-is-string node-isarray
+ node-object-keys node-object-assign node-regexp-prototype-flags))
+ (home-page "https://github.com/inspect-js/node-deep-equal")
+ (synopsis "Get an iterator for any Javascript language value")
+ (description "This package provides a Javascript function to get iterator
+for any language value. This package works robustly accross all
+environments.")
+ (license license:expat)))
+
(define-public node-env-variable
(package
(name "node-env-variable")
--
2.41.0
- [bug#68941] [PATCH v2 21/44] gnu: Add node-is-typed-array., (continued)
- [bug#68941] [PATCH v2 21/44] gnu: Add node-is-typed-array., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 20/44] gnu: Add node-is-weakset., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 23/44] gnu: Add node-internal-slot., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 25/44] gnu: Add node-define-properties., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 32/44] gnu: Add node-is-number-object., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 33/44] gnu: Add node-is-bigint., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 35/44] gnu: Add node-object-is., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 37/44] gnu: Add node-which-boxed-primitive., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 41/44] gnu: Add node-object-assign., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 42/44] gnu: Add node-object-keys., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 44/44] gnu: Add node-deep-equal.,
Nicolas Graves <=
- [bug#68941] [PATCH v2 43/44] gnu: Add node-regexp-prototype-flags., Nicolas Graves, 2024/02/07