[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH 05/11] gnu: Add node-safe-buffer.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH 05/11] gnu: Add node-safe-buffer. |
Date: |
Sun, 14 Nov 2021 08:04:03 -0500 |
* gnu/packages/node-xyz.scm (node-safe-buffer): New variable.
---
gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index da6affeb1f..44000e0568 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -390,6 +390,36 @@ (define-public node-inherits
@code{inherits()}.")
(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
+ `(#:tests?
+ #f
+ #:phases
+ (modify-phases %standard-phases
+ ;; Skip checking devDependencies, since we don't have tape.
+ (delete 'configure))))
+ (home-page
+ "https://github.com/feross/safe-buffer")
+ (synopsis "Safer Node.js Buffer API")
+ (description "A safe drop-in replacement the Node.js @code{Buffer} API
+that works in all versions of Node.js, using the built-in implementation when
+available.")
+ (license license:expat)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
--
2.32.0
- [bug#51838] [PATCH v2 21/26] gnu: Add node-string-decoder., (continued)
- [bug#51838] [PATCH v2 21/26] gnu: Add node-string-decoder., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 22/26] gnu: Add node-readable-stream., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 24/26] gnu: Add node-openzwave-shared., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 25/26] gnu: Add node-addon-api., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 17/26] gnu: node-irc: Use #:absent-dependencies., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 26/26] gnu: Add node-sqlite3., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH v2 26/26] gnu: Add node-sqlite3., Liliana Marie Prikler, 2021/11/20
- [bug#51838] [PATCH v2 23/26] gnu: Add node-nan., Philip McGrath, 2021/11/19
- [bug#51838] [PATCH 03/11] guix: node-build-system: Support compiling add-ons with node-gyp., Philip McGrath, 2021/11/20
- [bug#51838] [PATCH 03/11] guix: node-build-system: Support compiling add-ons with node-gyp., Liliana Marie Prikler, 2021/11/20
- [bug#51838] [PATCH 05/11] gnu: Add node-safe-buffer.,
Philip McGrath <=
- [bug#51838] [PATCH 07/11] gnu: Add node-readable-stream., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 04/11] gnu: Add node-inherits., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 09/11] gnu: Add node-openzwave-shared., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 06/11] gnu: Add node-string-decoder., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 08/11] gnu: Add node-nan., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 10/11] gnu: Add node-addon-api., Philip McGrath, 2021/11/14
- [bug#51838] [PATCH 11/11] gnu: Add node-sqlite3., Philip McGrath, 2021/11/14
[bug#51838] [PATCH 00/11] guix: node-build-system: Support compiling add-ons with node-gyp., Timothy Sample, 2021/11/20
[bug#51838] [PATCH 00/11] guix: node-build-system: Support compiling add-ons with node-gyp., Timothy Sample, 2021/11/20