guix_mirror_bot pushed a commit to branch master
in repository guix.
commit a803820e83b1a02e2b5f101376eea6bc417535ec
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 2 23:47:56 2026 +0100
gnu: Add node-end-of-stream.
* gnu/packages/node-xyz.scm (node-end-of-stream): New variable.
Change-Id: I593ef3b1a0704b61c882f0c6dae747d4d430cbce
---
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 fddbbcaf6a..ee805893d2 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -944,6 +944,33 @@ text differences, similar to Unix diff.")
environment variables from a @code{.env} file into @code{process.env}.")
(license license:bsd-2)))
+(define-public node-end-of-stream
+ (package
+ (name "node-end-of-stream")
+ (version "1.4.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mafintosh/end-of-stream")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0241fxmc30hzxcidyvkd0bylsdcq20nf9yy6v5cgiwp9xq7bpc3a"))))
+ (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-once))
+ (home-page "https://github.com/mafintosh/end-of-stream")
+ (synopsis "Call a callback when a stream has finished or errored")
+ (description "This package provides a way so that a callback is called
+when a readable/writable/duplex stream has completed or failed.")
+ (license license:expat)))
+
(define-public node-env-variable
(package
(name "node-env-variable")