gnu: teensy-loader-cli: Use gexps.
* gnu/packages/flashing-tools.scm (teensy-loader-cli) [arguments]: Use gexps.
parent
df22aec317
commit
1b83d4490a
|
@ -237,16 +237,15 @@ firmware from it.")
|
||||||
(patches (search-patches "teensy-loader-cli-help.patch"))))
|
(patches (search-patches "teensy-loader-cli-help.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ;; Makefile has no test target
|
(list
|
||||||
#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
|
#:tests? #f ;; Makefile has no test target
|
||||||
#:phases
|
#:make-flags #~(list "CC=gcc" (string-append "PREFIX=" #$output))
|
||||||
(modify-phases %standard-phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(install-file "teensy_loader_cli"
|
||||||
(bin (string-append out "/bin")))
|
(string-append #$output "/bin")))))))
|
||||||
(install-file "teensy_loader_cli" bin)))))))
|
|
||||||
(inputs (list libusb-compat)) ;only compatible with libusb 0.1
|
(inputs (list libusb-compat)) ;only compatible with libusb 0.1
|
||||||
(synopsis "Command line firmware uploader for Teensy development boards")
|
(synopsis "Command line firmware uploader for Teensy development boards")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue