[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH 10/31] gnu: Add node-nan.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH 10/31] gnu: Add node-nan. |
Date: |
Mon, 9 Aug 2021 00:33:33 +0100 |
---
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 cbb68f77d6..eb4b59d1ab 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Charles <charles.b.jackson@protonmail.com>
+;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -171,6 +172,35 @@ user-land JavaScript.")
random number generator.")
(license license:bsd-3)))
+(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
+ '(#:tests? #f ; FIXME: tests depend on node-tap
+ #:phases
+ (modify-phases %standard-phases
+ ;; The default configure phase fails due to tap being missing, as we
do
+ ;; not have tap packaged yet. It is used only for tests. This
package
+ ;; still works as a dependency of node-glob and node-inflight.
+ (delete 'configure))))
+ (home-page "https://github.com/nodejs/nan")
+ (synopsis "Native Abstractions for Node.js")
+ (description "This package provides header files filled with macros and
+utilities for making add-on development for Node.js easier across versions.")
+ (license license:bsd-3)))
+
(define-public node-oop
;; No releases, last commit was February 2013.
(let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")
--
2.32.0
- [bug#49946] [PATCH v2 23/33] gnu: Add tree-sitter-python., (continued)
- [bug#49946] [PATCH v2 23/33] gnu: Add tree-sitter-python., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 22/33] gnu: Add tree-sitter-php., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 21/33] gnu: Add tree-sitter-julia., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 24/33] gnu: Add tree-sitter-rust., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 26/33] gnu: Add rust-bindgen@0.56., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 32/33] gnu: Add emacs-tree-sitter., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 33/33] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 33/33] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 30/33] gnu: rust-emacs: Update to 0.17., Pierre Langlois, 2021/08/29
- [bug#49946] [PATCH v2 29/33] gnu: rust-emacs-macros: Update to 0.17., Pierre Langlois, 2021/08/29
[bug#49946] [PATCH 10/31] gnu: Add node-nan.,
Pierre Langlois <=
[bug#49946] [PATCH 09/31] guix: node-build-system: Support compiling addons with node-gyp., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 15/31] gnu: Add tree-sitter-html., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 17/31] gnu: Add tree-sitter-javascript., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 13/31] gnu: Add tree-sitter-css., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 12/31] gnu: Add tree-sitter-cpp., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 11/31] gnu: Add tree-sitter-c., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 14/31] gnu: Add tree-sitter-go., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 16/31] gnu: Add tree-sitter-java., Pierre Langlois, 2021/08/08
[bug#49946] [PATCH 18/31] gnu: Add tree-sitter-json., Pierre Langlois, 2021/08/08