gnu: node-resolve-protobuf-schema: Ignore development dependencies.

* gnu/packages/node-xyz.scm (node-resolve-protobuf-schema)[arguments]<phases>:
Explicitly patch out development dependencies. Re-enable configure phase.
This commit is contained in:
Jelle Licht 2023-02-08 22:05:24 +01:00
parent 0140e014aa
commit 5133b8bfaa
No known key found for this signature in database
GPG Key ID: DA4597F947B41025

View File

@ -431,10 +431,9 @@ written in Javascript.")
(arguments
'(#:tests? #f
#:phases (modify-phases %standard-phases
(replace 'configure
(add-after 'patch-dependencies 'delete-dependencies
(lambda _
(invoke "npm" "--offline" "--ignore-scripts" "install"
"--production"))))))
(delete-dependencies '("standard" "tape")))))))
(inputs (list node-protocol-buffers-schema))
(home-page "https://github.com/mafintosh/resolve-protobuf-schema")
(synopsis "Resolve protobuf imports")