[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/42: gnu: Add node-safe-buffer.
From: |
guix-commits |
Subject: |
19/42: gnu: Add node-safe-buffer. |
Date: |
Sat, 8 Jan 2022 20:09:22 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 5524733bb2653f3a3875812e41ae3566050666c5
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:07 2022 -0500
gnu: Add node-safe-buffer.
* gnu/packages/node-xyz.scm (node-safe-buffer): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 0e33f64dc9..f4af03eb87 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -391,6 +391,35 @@ Node's @code{inherits} constructer that can be used in
browsers, while
defaulting to Node's implementation otherwise.")
(license license:isc)))
+(define-public node-safe-buffer
+ (package
+ (name "node-safe-buffer")
+ (version "5.2.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/feross/safe-buffer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r26m0nl41h90ihnl2xf0cqs6z9z7jb87dl5j8yqb7887r9jlbpi"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tape" "standard")))))
+ #:tests? #f))
+ (home-page "https://github.com/feross/safe-buffer")
+ (synopsis "Buffer creation with explicit semantics")
+ (description "This package provides a drop-in replacement for Node.js
+@code{Buffer} API, which provides newer, explicit constructors (such as
+@code{Buffer.alloc(SIZE)}) in older versions.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
- 32/42: gnu: Add node-serialport-parser-delimiter., (continued)
- 32/42: gnu: Add node-serialport-parser-delimiter., guix-commits, 2022/01/08
- 04/42: guix: node-build-system: Add avoid-node-gyp-rebuild phase., guix-commits, 2022/01/08
- 03/42: guix: node-build-system: Add JSON utilities., guix-commits, 2022/01/08
- 06/42: gnu: node-semver-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 07/42: gnu: node-ms-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 15/42: gnu: node-once: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 16/42: gnu: node-irc-colors: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 17/42: gnu: node-irc: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 18/42: gnu: Add node-inherits., guix-commits, 2022/01/08
- 19/42: gnu: Add node-safe-buffer.,
guix-commits <=
- 20/42: gnu: Add node-string-decoder., guix-commits, 2022/01/08
- 21/42: gnu: Add node-readable-stream., guix-commits, 2022/01/08
- 22/42: gnu: Add node-nan., guix-commits, 2022/01/08
- 23/42: gnu: Add node-openzwave-shared., guix-commits, 2022/01/08
- 30/42: gnu: Add node-debug., guix-commits, 2022/01/08
- 27/42: gnu: Add node-bindings., guix-commits, 2022/01/08
- 33/42: gnu: Add node-serialport-parser-readline., guix-commits, 2022/01/08
- 35/42: gnu: Add node-serialport-parser-regex., guix-commits, 2022/01/08
- 34/42: gnu: Add node-serialport-bindings., guix-commits, 2022/01/08
- 39/42: gnu: Add node-serialport-parser-byte-length., guix-commits, 2022/01/08