mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add node-ieee754.
* gnu/packages/node-xyz.scm (node-ieee754): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
9ae6dd7aa5
commit
9b8567e293
1 changed files with 27 additions and 0 deletions
|
@ -450,6 +450,33 @@ (define-public node-once
|
|||
if desired.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public node-ieee754
|
||||
(package
|
||||
(name "node-ieee754")
|
||||
(version "1.2.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/feross/ieee754")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"19rlg59lavnwsvbblhvrqwinz2wzqlxhddqpwrc3cyqkscjgza7i"))))
|
||||
(build-system node-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f
|
||||
#:phases (modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(invoke "npm" "--offline" "--ignore-scripts" "install"
|
||||
"--production"))))))
|
||||
(home-page "https://github.com/feross/ieee754")
|
||||
(synopsis "Read/write IEEE754 floating point numbers in Javascript")
|
||||
(description "This package can read and write IEEE754 floating point
|
||||
numbers from/to a Buffer or array-like object in Javascript.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public node-inherits
|
||||
(package
|
||||
(name "node-inherits")
|
||||
|
|
Loading…
Reference in a new issue