Subject: [bug#72205] [PATCH 3/4] gnu: mtxclient: Switch to new package style.

From: Timotej Lazar <[email-masked]>
Date: Sat, 20 Jul 2024 08:57:27 +0200

* gnu/packages/matrix.scm (mtxclient)[arguments]: Use g-exps.

Change-Id: I044faf4e25b9e5d282e9364070a7e24bb6f89b5e
---
 gnu/packages/messaging.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 4f065d4316..076861d963 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2431,19 +2431,18 @@ (define-public mtxclient
        (file-name (git-file-name name version))
        (sha256
         (base32 "10iidyxjk3w6cljw2r62i5azx84nw3p8hw97d8vy7r5gh1nrrrcn"))))
-    (arguments
-     `(#:configure-flags
-       (list
-        ;; Disable example binaries (not installed)
-        "-DBUILD_LIB_EXAMPLES=OFF")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'configure 'disable-network-tests
-           (lambda _
-             (substitute* "CMakeLists.txt"
-               (("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
-                "# add_test")))))))
     (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list  "-DBUILD_LIB_EXAMPLES=OFF") ; disable example binaries (not installed)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'disable-network-tests
+            (lambda _
+              (substitute* "CMakeLists.txt"
+                (("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
+                 "# add_test")))))))
     (inputs
      (list boost
            coeurl
-- 
2.45.2