guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f9040f253a38c9f637110812e4a9029f017e125e
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Fri Jan 2 23:48:47 2026 +0100

    gnu: Add node-gyp-build.
    
    * gnu/packages/node-xyz.scm (node-gyp-build): New variable.
    
    Change-Id: Ic3a29c91b659f59028a50109ca458a8620f3ac28
---
 gnu/packages/node-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 8cbfc0ab2a..36c4288149 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1391,6 +1391,34 @@ module that makes various improvements, including 
queueing operations,
 retrying EMFILE errors, and working around various platform quirks.")
     (license license:isc)))
 
+(define-public node-gyp-build
+  (package
+    (name "node-gyp-build")
+    (version "4.8.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/prebuild/node-gyp-build";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nb5fx5x5dpz08jjs2d9xphjslcxnvzcjig802y40bvhd8c114gb"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'patch-dependencies 'delete-dev-dependencies
+           (lambda _
+             (modify-json (delete-dev-dependencies)))))))
+    (home-page "https://github.com/prebuild/node-gyp-build";)
+    (synopsis "Build tool for native Node.js addons")
+    (description "This package provides a build tool that works with prebuild
+and node-gyp to compile native Node.js addons.  It will try to load prebuilt
+binaries first, falling back to building from source.")
+    (license license:expat)))
+
 (define-public node-global-gradle-clean
   (package
     (name "node-global-gradle-clean")

Reply via email to