build-system: Rewrite node build system.

* guix/build/node-build-system.scm: Rewrite it.
* guix/build-system/node.scm: Adjust accordingly.
* gnu/packages/node-xyz.scm (node-semver): Likewise.

Co-authored-by: Timothy Sample <samplet@ngyro.com>
This commit is contained in:
Jelle Licht 2021-03-30 01:27:31 -04:00
parent 532c0e745a
commit 23ea84cdf0
No known key found for this signature in database
GPG key ID: DA4597F947B41025
3 changed files with 112 additions and 132 deletions

View file

@ -261,7 +261,11 @@ function with browser support.")
"06biknqb05r9xsmcflm3ygh50pjvdk84x6r79w43kmck4fn3qn5p"))))
(build-system node-build-system)
(arguments
`(#:tests? #f)) ;; FIXME: Tests depend on node-tap
'(#:tests? #f ; FIXME: Tests depend on node-tap
#:phases
(modify-phases %standard-phases
;; The only dependency to check for is tap, which we don't have.
(delete 'configure))))
(home-page "https://github.com/npm/node-semver")
(synopsis "Parses semantic versions strings")
(description