[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v8 21/41] gnu: Add node-readable-stream.
From: |
Liliana Marie Prikler |
Subject: |
[bug#51838] [PATCH v8 21/41] gnu: Add node-readable-stream. |
Date: |
Thu, 30 Dec 2021 02:38:59 -0500 |
* gnu/packages/node-xyz.scm (node-readable-stream): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index c833356703..9bca308dba 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -458,6 +458,57 @@ (define-public node-string-decoder
Node-core.")
(license license:expat)))
+(define-public node-readable-stream
+ (package
+ (name "node-readable-stream")
+ (version "3.6.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/readable-stream")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ybl4cdgsm9c5jq3xq8s01201jk8w0yakh63hlclsfbcdfqhd9ri"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("^@babel/"
+ "^airtap$"
+ "^assert$"
+ "^bl$"
+ "^deep-strict-equal$"
+ "^events\\.once$"
+ "^glob$"
+ "^gunzip-maybe$"
+ "^hyperquest$"
+ "^lolex$"
+ "^nyc$"
+ "^pump$"
+ "^rimraf$"
+ "^tape?$"
+ "^tar-fs$"
+ "^util-promisify$")))))
+ #:tests? #f))
+ (inputs
+ (list node-util-deprecate node-string-decoder node-inherits))
+ (home-page
+ "https://github.com/nodejs/readable-stream")
+ (synopsis
+ "Node.js core streams for userland")
+ (description
+ "This package is a mirror of the streams implementations in Node.js.
+
+If you want to guarantee a stable streams base, regardless of what version of
+Node you (or the users of your libraries) are using, use
+@code{readable-stream} only and avoid the @code{stream} module in Node-core.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
--
2.34.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#51838] [PATCH v8 21/41] gnu: Add node-readable-stream.,
Liliana Marie Prikler <=