gnu: dump1090 : Improve style.

* gnu/packages/radio.scm (dump1090)[arguments]: Use gexps.
This commit is contained in:
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

View file

@ -1577,18 +1577,19 @@ (define-public dump1090
(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.