diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-02 23:47:56 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-08 21:23:32 +0100 |
| commit | a803820e83b1a02e2b5f101376eea6bc417535ec (patch) | |
| tree | 3b204f999da0f251d3a254f7b5864eece2c185ef /gnu | |
| parent | dd3788e809577826a555f08faa168f3a7dbdc50c (diff) | |
gnu: Add node-end-of-stream.
* gnu/packages/node-xyz.scm (node-end-of-stream): New variable.
Change-Id: I593ef3b1a0704b61c882f0c6dae747d4d430cbce
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/node-xyz.scm | 27 |
1 files changed, 27 insertions, 0 deletions
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") |
