mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: teensy-loader-cli: Improve style.
* gnu/packages/flashing-tools.scm (teensy-loader-cli): Apply style. Change-Id: Ieacd62b7f71ec7bbe12f3d177805f6606e7586d0 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
152450668f
commit
332d125d00
1 changed files with 14 additions and 9 deletions
|
@ -247,7 +247,8 @@ firmware from it.")
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/PaulStoffregen/teensy_loader_cli")
|
(url "https://github.com/PaulStoffregen/teensy_loader_cli")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(sha256 (base32 "12n8ifz4gph1anhwd8if3j1kw0wc3yxf48abbyxl8071l9vj3m0b"))
|
(sha256
|
||||||
|
(base32 "12n8ifz4gph1anhwd8if3j1kw0wc3yxf48abbyxl8071l9vj3m0b"))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
|
@ -259,14 +260,18 @@ firmware from it.")
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:tests? #f ;; Makefile has no test target
|
#:tests? #f ;; Makefile has no test target
|
||||||
#:make-flags #~(list "CC=gcc" (string-append "PREFIX=" #$output))
|
#:make-flags
|
||||||
#:phases #~(modify-phases %standard-phases
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(delete 'configure)
|
(string-append "PREFIX=" #$output))
|
||||||
(replace 'install
|
#:phases
|
||||||
(lambda _
|
#~(modify-phases %standard-phases
|
||||||
(install-file "teensy_loader_cli"
|
(delete 'configure)
|
||||||
(string-append #$output "/bin")))))))
|
(replace 'install
|
||||||
(inputs (list libusb-compat)) ;only compatible with libusb 0.1
|
(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")
|
(synopsis "Command line firmware uploader for Teensy development boards")
|
||||||
(description
|
(description
|
||||||
"The Teensy loader program communicates with your Teensy board when the
|
"The Teensy loader program communicates with your Teensy board when the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue