[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/42: gnu: Add node-nan.
From: |
guix-commits |
Subject: |
22/42: gnu: Add node-nan. |
Date: |
Sat, 8 Jan 2022 20:09:23 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit fa802f39dc23db483a1395dc5319a243d9b82d39
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:10 2022 -0500
gnu: Add node-nan.
* gnu/packages/node-xyz.scm (node-nan): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 58fdc1dc33..6de0138b72 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -560,3 +560,42 @@ such as rainbows.")
(description "@code{node-irc} is an IRC client library for Node.js.
It has functions for joining, parting, talking, and many other IRC commands.")
(license license:gpl3+)))
+
+(define-public node-nan
+ (package
+ (name "node-nan")
+ (version "2.15.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nodejs/nan")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "18xslh9va5ld872scrp5y4251ax9s3c6qh0lnl1200lpzbsxy7yd"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("bindings"
+ "commander"
+ "glob"
+ "request"
+ "node-gyp" ;; would be needed for tests
+ "tap"
+ "xtend")))))
+ ;; tests need tap and other dependencies
+ #:tests? #f))
+ (inputs
+ (list node-readable-stream))
+ (home-page "https://github.com/nodejs/nan")
+ (synopsis "Native Abstractions for Node.js")
+ (description "Native Abstractions for Node.js (``NaN'') provides a header
+file filled with macros and utilities for making add-on development for Node.js
+easier across versions. The goal is to provide all logic necessary to develop
+native Node.js addons without having to inspect @code{NODE_MODULE_VERSION}.")
+ (license license:expat)))
- 06/42: gnu: node-semver-bootstrap: Use 'delete-dependencies'., (continued)
- 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, 2022/01/08
- 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 <=
- 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
- 42/42: gnu: node-mersenne: Fix typo in description., guix-commits, 2022/01/08
- 25/42: gnu: Add node-sqlite3., guix-commits, 2022/01/08
- 36/42: gnu: Add node-serialport-parser-ready., guix-commits, 2022/01/08