[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v9 20/41] gnu: Add node-string-decoder.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v9 20/41] gnu: Add node-string-decoder. |
Date: |
Sat, 8 Jan 2022 03:42:08 -0500 |
* gnu/packages/node-xyz.scm (node-string-decoder): New variable.
---
gnu/packages/node-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 9c524fec5e..8c5cd33c80 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -423,6 +423,41 @@ (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
+ (delete-dependencies
+ '("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 v9 04/41] guix: node-build-system: Add avoid-node-gyp-rebuild phase., (continued)
- [bug#51838] [PATCH v9 04/41] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 07/41] gnu: node-ms-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 18/41] gnu: Add node-inherits., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 11/41] gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 14/41] gnu: node-wrappy: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 15/41] gnu: node-once: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 21/41] gnu: Add node-readable-stream., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 19/41] gnu: Add node-safe-buffer., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 20/41] gnu: Add node-string-decoder.,
Philip McGrath <=
- [bug#51838] [PATCH v9 22/41] gnu: Add node-nan., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 29/41] gnu: Add node-ms., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 24/41] gnu: Add node-addon-api., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 28/41] gnu: Add node-segfault-handler., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 25/41] gnu: Add node-sqlite3., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 30/41] gnu: Add node-debug., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 27/41] gnu: Add node-bindings., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 31/41] gnu: Add node-serialport-binding-abstract., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 32/41] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2022/01/08