gnu: node-addon-api: Update to 8.3.0.

* gnu/packages/node-xyz.scm (node-addon-api): Update to 8.3.0.
[arguments]<#:phases>: Delete additional optional dependencies in
'delete-dependencies' phase.

Change-Id: I86c6b026980aea02a20f889bc7f92ea3a304e674
This commit is contained in:
Jelle Licht 2024-12-02 13:53:53 +01:00
parent d925b8c3db
commit cf6a25ae73
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -114,7 +114,7 @@ (define-public node-acorn
(define-public node-addon-api
(package
(name "node-addon-api")
(version "4.2.0")
(version "8.3.0")
(source
(origin
(method git-fetch)
@ -123,7 +123,7 @@ (define-public node-addon-api
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1bhvfi2m9nxfz418s619914vmidcnrzbjv6l9nid476c3zlpazch"))))
(base32 "1swvhdss2w636l24bnssnwb1rqh7i6lhpkk4knbrvpspqf80kagc"))))
(inputs
(list python node-safe-buffer))
(build-system node-build-system)
@ -148,8 +148,10 @@ (define-public node-addon-api
"eslint-plugin-node"
"eslint-plugin-promise"
"fs-extra"
"neostandard"
"path"
"pre-commit"))))
"pre-commit"
"semver"))))
(add-after 'unpack 'skip-js-tests
;; We can't run the js-based tests,
;; but we can still do the C++ parts