[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68941] [PATCH v2 14/44] gnu: Add node-call-bind.
From: |
Nicolas Graves |
Subject: |
[bug#68941] [PATCH v2 14/44] gnu: Add node-call-bind. |
Date: |
Thu, 8 Feb 2024 01:24:37 +0100 |
* gnu/packages/node-xyz.scm (node-call-bind): New variable.
---
gnu/packages/node-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index abfebfbae4..17b9b01cbf 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -283,6 +283,42 @@ (define-public node-buffer-crc32
and fancy character sets, signed or unsigned data and has tests, for Node.")
(license license:expat)))
+(define-public node-call-bind
+ (package
+ (name "node-call-bind")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ljharb/call-bind")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1gqv3bisi64jzfgacwsx1rbd60bkadvpbsv66xgcn6r518qjdjix"))))
+ (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"
+ "nyc"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs
+ (list node-function-bind node-get-intrinsic))
+ (home-page "https://github.com/ljharb/call-bind")
+ (synopsis "Implementation of Javascript .call.bind")
+ (description "This package provides a robust implementation of the
+.call.bind() in Javascript.")
+ (license license:expat)))
+
(define-public node-color-name
(package
(name "node-color-name")
--
2.41.0
- [bug#68941] [PATCH v2 02/44] guix: build-system: node: Add node-is-type-object helper., (continued)
- [bug#68941] [PATCH v2 02/44] guix: build-system: node: Add node-is-type-object helper., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 04/44] gnu: Add node-has-proto., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 05/44] gnu: Add node-has., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 06/44] gnu: Add node-has-symbols., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 07/44] gnu: Add node-has-tostringtag., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 08/44] gnu: Add node-is-callable., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 09/44] gnu: Add node-get-intrinsic., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 19/44] gnu: Add node-is-weakmap., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 10/44] gnu: Add node-is-symbol., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 16/44] gnu: Add node-is-regex., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 14/44] gnu: Add node-call-bind.,
Nicolas Graves <=
- [bug#68941] [PATCH v2 17/44] gnu: Add node-which-typed-array., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 22/44] gnu: Add node-is-shared-array-buffer., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 30/44] gnu: Add node-is-set., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 11/44] gnu: Add node-for-each., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 15/44] gnu: Add node-object-inspect., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 24/44] gnu: Add node-is-array-buffer., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 26/44] gnu: Add node-is-arguments., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 27/44] gnu: Add node-isarray., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 29/44] gnu: Add node-is-map., Nicolas Graves, 2024/02/07
- [bug#68941] [PATCH v2 31/44] gnu: Add node-is-string., Nicolas Graves, 2024/02/07