guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 2103fdc231d86555e15c6259276532311fbd0c12
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 2 23:48:31 2026 +0100
gnu: Add node-get-stream.
* gnu/packages/node-xyz.scm (node-get-stream): New variable.
---
gnu/packages/node-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index f2a44de560..6692f94077 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1336,6 +1336,33 @@ suitable for use with the @code{fs} module functions.")
(home-page (git-reference-url (origin-uri source)))
(license license:isc)))
+(define-public node-get-stream
+ (package
+ (name "node-get-stream")
+ (version "5.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sindresorhus/get-stream")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1mc7fw8qc0b1a4i2h4mz1d4hygla5grxpfh8dk2rabnw46lxm73m"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dev-dependencies
+ (lambda _
+ (modify-json (delete-dev-dependencies)))))))
+ (inputs (list node-pump))
+ (home-page "https://github.com/sindresorhus/get-stream")
+ (synopsis "Get a stream as a string, buffer, or array")
+ (description "This package provides a way to get a stream as a string,
+buffer, or array. Useful for getting the result of a stream.")
+ (license license:expat)))
+
(define-public node-global-gradle-clean
(package
(name "node-global-gradle-clean")