aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:22 +0100
committerJelle Licht <jlicht@fsfe.org>2023-05-06 13:53:21 +0200
commit25a117bcd87eb6c8cd0f6ac1764f03f755f7b8d3 (patch)
tree9ce6e95ac7462451854ebad20a865bfc535dbeb8 /gnu/packages
parent4c26ea1257886c4315b03374769842539aaf2adb (diff)
downloadguix-25a117bcd87eb6c8cd0f6ac1764f03f755f7b8d3.tar.gz
guix-25a117bcd87eb6c8cd0f6ac1764f03f755f7b8d3.zip
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.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 847004501a..680be0ad3f 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")