[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v6 20/41] gnu: Add node-string-decoder.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v6 20/41] gnu: Add node-string-decoder. |
Date: |
Thu, 30 Dec 2021 02:38:58 -0500 |
* gnu/packages/node-xyz.scm (node-string-decoder): New variable.
---
gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 6b4b7efd7e..c8a0f79eba 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -434,6 +434,45 @@ (define-public node-safe-buffer
available.")
(license license:expat)))
+(define-public node-string-decoder
+ (package
+ (name "node-string-decoder")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/string_decoder")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xxvyya9fl9rlkqwmxzqzbz4rdr3jgw4vf37hff7cgscxkhg266k"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (with-atomic-json-file-replacement "package.json"
+ (lambda (pkg-meta)
+ (delete-dependencies pkg-meta
+ '("tap"
+ "core-util-is"
+ "babel-polyfill")))))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
+ (inputs
+ (list node-safe-buffer node-inherits))
+ (home-page
+ "https://github.com/nodejs/string_decoder")
+ (synopsis
+ "Node.js core @code{string_decoder} for userland")
+ (description
+ "This package is a mirror of the @code{string_decoder} implementation in
+Node-core.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
--
2.32.0
- [bug#51838] [PATCH v6 13/41] gnu: node-semver: Use 'delete-dependencies'., (continued)
- [bug#51838] [PATCH v6 13/41] gnu: node-semver: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 10/41] gnu: node-llparse-builder-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 14/41] gnu: node-wrappy: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 15/41] gnu: node-once: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 16/41] gnu: node-irc-colors: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 17/41] gnu: node-irc: Use 'delete-dependencies'., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 18/41] gnu: Add node-inherits., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 19/41] gnu: Add node-safe-buffer., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 21/41] gnu: Add node-readable-stream., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 20/41] gnu: Add node-string-decoder.,
Philip McGrath <=
- [bug#51838] [PATCH v6 24/41] gnu: Add node-addon-api., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 25/41] gnu: Add node-sqlite3., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 22/41] gnu: Add node-nan., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 32/41] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 27/41] gnu: Add node-bindings., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 31/41] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 28/41] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/30
- [bug#51838] [PATCH v6 29/41] gnu: Add node-ms., Philip McGrath, 2021/12/30