Subject: [bug#61651] [PATCH] gnu: gnunet-gtk: Use new style inputs, gexps.

From: Adam Faiz <[email-masked]>
Date: Mon, 20 Feb 2023 21:50:30 +0800

From 58f04e934a71781f0232fcd20b4e89df39062db9 Mon Sep 17 00:00:00 2001
Message-Id: 
<5[email-masked]>
In-Reply-To: 
<7[email-masked]>
References: 
<7[email-masked]>
From: AwesomeAdam54321 <[email-masked]>
Date: Mon, 20 Feb 2023 20:18:23 +0800
Subject: [PATCH] gnu: gnunet-gtk: Use new style inputs, gexps.

* gnu/packages/gnunet.scm (gnunet-gtk): Use new style inputs, gexps.
[arguments]: Use new style and gexps.
[inputs]: Use new style.
---
  gnu/packages/gnunet.scm | 28 ++++++++++++++--------------
  1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index fea6c50947..264c876cc4 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -440,21 +440,21 @@ (define-public gnunet-gtk
                 (base32
                  "0z2731l69vnfsa0cdsw8wh8g1d08wz15y5n0a58qjpf7baric01k"))))
      (arguments
-     `(#:configure-flags
-       (list "--with-libunique"
-             "--with-qrencode"
-             (string-append "--with-gnunet="
-                            (assoc-ref %build-inputs "gnunet")))))
+     (list #:configure-flags
+           #~(list "--with-libunique"
+                   "--with-qrencode"
+                   (string-append "--with-gnunet="
+                                  #$(this-package-input "gnunet")))))
      (inputs
-     `(("glade3" ,glade3)
-       ("gnunet" ,gnunet)
-       ("gnutls" ,gnutls/dane)
-       ("gtk+" ,gtk+)
-       ("libextractor" ,libextractor)
-       ("libgcrypt" ,libgcrypt)
-       ("libsodium" ,libsodium)
-       ("libunique" ,libunique)
-       ("qrencode" ,qrencode)))
+     (list glade3
+           gnunet
+           gnutls/dane
+           gtk+
+           libextractor
+           libgcrypt
+           libsodium
+           libunique
+           qrencode))
      (native-inputs
       (list pkg-config libglade))
      (synopsis "Graphical front-end tools for GNUnet")
-- 
2.39.1