guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/13: gnu: dump1090 : Improve style.


From: guix-commits
Subject: 08/13: gnu: dump1090 : Improve style.
Date: Wed, 14 Dec 2022 12:24:44 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 181444e01cff184b34d10a82d3f5e1b6734ba52a
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Wed Dec 14 17:56:15 2022 +0100

    gnu: dump1090 : Improve style.
    
    * gnu/packages/radio.scm (dump1090)[arguments]: Use gexps.
---
 gnu/packages/radio.scm | 25 +++++++++++++------------
 1 file 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]