summary refs log tree commit diff
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2022-12-28 18:38:15 -0500
committerChristopher Baines <mail@cbaines.net>2023-01-31 14:15:03 +0000
commit8781ab4057692c854c91ac71c660a229ac2d8ae5 (patch)
tree2f3d35c569bf81a04a95d4692e3a61e7d28850c8
parentd386fa6cba361c7e9cd5fcc136c7db259de6b583 (diff)
downloadguix-8781ab4057692c854c91ac71c660a229ac2d8ae5.tar.gz
gnu: x42-plugins: Use new package style.
* gnu/packages/music.scm (x42-plugins)[arguments]: Use g-expressions. Remove
references to %outputs and %build-inputs.

Signed-off-by: Christopher Baines <mail@cbaines.net>
-rw-r--r--gnu/packages/music.scm23
1 files changed, 12 insertions, 11 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 8438613971..24c4cc28ee 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -6058,17 +6058,18 @@ short-time Fourier transform, available as LV2 audio plugin and JACK client.")
         (base32 "128h9x7yzhy6q6l0fqk2zd6l48wgs2lhf2pzbiba6h3n6l9n555b"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f                      ; no "check" target
-       #:make-flags
-       (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
-             "LIBZITACONVOLVER=-lzita-convolver"
-             (string-append "FONTFILE="
-                            (assoc-ref %build-inputs "font-dejavu")
-                            "/share/fonts/truetype/DejaVuSans-Bold.ttf")
-             (string-append "CC=" ,(cc-for-target)))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))
+     (list
+      #:tests? #f                      ; no "check" target
+      #:make-flags
+      #~(list (string-append "PREFIX=" #$output)
+              "LIBZITACONVOLVER=-lzita-convolver"
+              (string-append "FONTFILE="
+                             #$(this-package-native-input "font-dejavu")
+                             "/share/fonts/truetype/DejaVuSans-Bold.ttf")
+              (string-append "CC=" #$(cc-for-target)))
+      #:phases
+      #~(modify-phases %standard-phases
+        (delete 'configure))))
     (inputs
      (list cairo
            fftwf