diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-09-13 14:49:11 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-10-10 00:06:15 -0400 |
commit | 1b83d4490addee4f0b4ee1a59d127d51217caa39 (patch) | |
tree | 27f9ba6943feb92cede33ab2f4526ef61e4c3332 | |
parent | df22aec317448fd692679388a167f5061a7ced37 (diff) |
gnu: teensy-loader-cli: Use gexps.
* gnu/packages/flashing-tools.scm (teensy-loader-cli) [arguments]: Use gexps.
-rw-r--r-- | gnu/packages/flashing-tools.scm | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 82e709cf26..fc6d19a446 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -237,16 +237,15 @@ firmware from it.") (patches (search-patches "teensy-loader-cli-help.patch")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ;; Makefile has no test target - #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)) - #:phases - (modify-phases %standard-phases - (delete 'configure) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (install-file "teensy_loader_cli" bin))))))) + (list + #:tests? #f ;; Makefile has no test target + #:make-flags #~(list "CC=gcc" (string-append "PREFIX=" #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "teensy_loader_cli" + (string-append #$output "/bin"))))))) (inputs (list libusb-compat)) ;only compatible with libusb 0.1 (synopsis "Command line firmware uploader for Teensy development boards") (description |