diff options
| author | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-02 23:48:47 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-02-08 21:23:33 +0100 |
| commit | f9040f253a38c9f637110812e4a9029f017e125e (patch) | |
| tree | 27e0a3ed6759e13b1d20a76bf64ff947dbc5c37d /gnu | |
| parent | a9ae329525a44f373a680f609ecc0b0d35b81ea7 (diff) | |
gnu: Add node-gyp-build.
* gnu/packages/node-xyz.scm (node-gyp-build): New variable.
Change-Id: Ic3a29c91b659f59028a50109ca458a8620f3ac28
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/node-xyz.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 8cbfc0ab2ad..36c42881493 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, | |||
| 1391 | retrying EMFILE errors, and working around various platform quirks.") | 1391 | retrying EMFILE errors, and working around various platform quirks.") |
| 1392 | (license license:isc))) | 1392 | (license license:isc))) |
| 1393 | 1393 | ||
| 1394 | (define-public node-gyp-build | ||
| 1395 | (package | ||
| 1396 | (name "node-gyp-build") | ||
| 1397 | (version "4.8.4") | ||
| 1398 | (source | ||
| 1399 | (origin | ||
| 1400 | (method git-fetch) | ||
| 1401 | (uri (git-reference | ||
| 1402 | (url "https://github.com/prebuild/node-gyp-build") | ||
| 1403 | (commit (string-append "v" version)))) | ||
| 1404 | (file-name (git-file-name name version)) | ||
| 1405 | (sha256 | ||
| 1406 | (base32 "1nb5fx5x5dpz08jjs2d9xphjslcxnvzcjig802y40bvhd8c114gb")))) | ||
| 1407 | (build-system node-build-system) | ||
| 1408 | (arguments | ||
| 1409 | '(#:tests? #f | ||
| 1410 | #:phases | ||
| 1411 | (modify-phases %standard-phases | ||
| 1412 | (add-after 'patch-dependencies 'delete-dev-dependencies | ||
| 1413 | (lambda _ | ||
| 1414 | (modify-json (delete-dev-dependencies))))))) | ||
| 1415 | (home-page "https://github.com/prebuild/node-gyp-build") | ||
| 1416 | (synopsis "Build tool for native Node.js addons") | ||
| 1417 | (description "This package provides a build tool that works with prebuild | ||
| 1418 | and node-gyp to compile native Node.js addons. It will try to load prebuilt | ||
| 1419 | binaries first, falling back to building from source.") | ||
| 1420 | (license license:expat))) | ||
| 1421 | |||
| 1394 | (define-public node-global-gradle-clean | 1422 | (define-public node-global-gradle-clean |
| 1395 | (package | 1423 | (package |
| 1396 | (name "node-global-gradle-clean") | 1424 | (name "node-global-gradle-clean") |
