mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: node-pbf: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-pbf)[arguments]<phases>: Explicitly patch out development dependencies. Re-enable configure phase.
This commit is contained in:
parent
4c26ea1257
commit
25a117bcd8
1 changed files with 12 additions and 3 deletions
|
@ -364,10 +364,19 @@ (define-public node-pbf
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue