diff options
author | Jelle Licht <jlicht@fsfe.org> | 2023-02-08 22:05:22 +0100 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2023-02-20 16:58:41 +0100 |
commit | 4083b2d4c28ab5039bfc0d00a80fa54e1e871b85 (patch) | |
tree | 47dbe6830c200f3800c631b47bcf3a36de3e9c2f /gnu/packages | |
parent | 279dcdb018f2faec46066bd2cc0bd2f0cba2ad0d (diff) | |
download | guix-4083b2d4c28ab5039bfc0d00a80fa54e1e871b85.tar.gz |
gnu: node-pbf: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-pbf)[arguments]<phases>: Explicitly patch out development dependencies. Re-enable configure phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/node-xyz.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index a03b9b4f1c..07c5982996 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -364,10 +364,19 @@ while being as light-weight and simple as possible.") (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 + '("benchmark" + "browserify" + "eslint" + "eslint-config-mourner" + "mkdirp" + "protobufjs" + "protocol-buffers" + "tap" + "tile-stats-runner" + "uglify-js"))))))) (inputs (list node-ieee754 node-resolve-protobuf-schema)) (home-page "https://github.com/mapbox/pbf") (synopsis "Decode and encode protocol buffers in Javascript") |