diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2022-12-14 17:56:15 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-12-14 18:23:58 +0100 |
commit | 181444e01cff184b34d10a82d3f5e1b6734ba52a (patch) | |
tree | cbc539ed091da6af434b9c9d4128b807f0acad1a | |
parent | c01b546d82266a585adb0dcf0ada2708573d50d4 (diff) |
gnu: dump1090 : Improve style.
* gnu/packages/radio.scm (dump1090)[arguments]: Use gexps.
-rw-r--r-- | gnu/packages/radio.scm | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index f1533221f9..9d651c0a1a 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -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. |