me
/
guix
Archived
1
0
Fork 0

gnu: dump1090 : Improve style.

* gnu/packages/radio.scm (dump1090)[arguments]: Use gexps.
Guillaume Le Vaillant 2022-12-14 17:56:15 +01:00
parent c01b546d82
commit 181444e01c
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 13 additions and 12 deletions

View File

@ -1577,18 +1577,19 @@ gain and standing wave ratio.")
(inputs
(list hackrf libusb ncurses rtl-sdr))
(arguments
`(#:test-target "test"
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
"BLADERF=no")
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
(install-file "dump1090" bin)
(install-file "view1090" bin)))))))
(list
#:test-target "test"
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
"BLADERF=no")
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin/")))
(install-file "dump1090" bin)
(install-file "view1090" bin)))))))
(synopsis "Mode S decoder for rtl-sdr devices")
(description
"Dump1090 is a Mode S decoder specifically designed for rtl-sdr devices.