gnu: python-waf: Add some extra tools.

* gnu/packages/python-xyz.scm (python-waf): Add gccdeps and
clang_compilation_database tools that are needed by ardupilot.
This commit is contained in:
Mathieu Othacehe 2019-12-28 16:37:49 +01:00
parent 6c2c11fa10
commit 633c8b7199
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -6346,7 +6346,12 @@ (define-public python-waf
(modify-phases %standard-phases
(replace 'build
(lambda _
(invoke "python" "waf-light" "configure" "build")))
;; XXX: Find a way to add all extra tools.
(let ((tools '("gccdeps"
"clang_compilation_database")))
(invoke "python" "waf-light" "configure" "build"
(string-append "--tools="
(string-join tools ","))))))
(replace 'check
(lambda _
(invoke "python" "waf" "--version")))