mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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>
This commit is contained in:
parent
3bd092c0bf
commit
5524733bb2
1 changed files with 29 additions and 0 deletions
|
@ -391,6 +391,35 @@ (define-public node-inherits
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue