guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9451b18bcfb6a78a7ae59147668dd5d52531e76b
Author: Anderson Torres <[email protected]>
AuthorDate: Wed Dec 31 15:26:18 2025 -0300

    gnu: iwd: Indent.
    
    * gnu/packages/networking.scm (iwd): Indent.
    [source, inputs, arguments]: Indent.
    
    Change-Id: I89e458e19069d5157b0449e3c5451e514b409ff7
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/networking.scm | 101 +++++++++++++++++++++++---------------------
 1 file changed, 53 insertions(+), 48 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3a4057595f..8f6492073f 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4464,18 +4464,22 @@ powerful route filtering syntax and an easy-to-use 
configuration interface.")
   (package
     (name "iwd")
     (version "3.9")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url 
"https://git.kernel.org/pub/scm/network/wireless/iwd.git";)
-                     (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0kk88ipi901gibz7275rh6p9hplh5xg00b4bxf3i51wyml3id39m"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://git.kernel.org/pub/scm/network/wireless/iwd.git";)
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0kk88ipi901gibz7275rh6p9hplh5xg00b4bxf3i51wyml3id39m"))))
     (build-system gnu-build-system)
     (inputs
-     (list dbus ell (package-source ell) openresolv readline))
+     (list dbus
+           ell (package-source ell)
+           openresolv
+           readline))
     (native-inputs
      (list autoconf
            automake
@@ -4485,44 +4489,45 @@ powerful route filtering syntax and an easy-to-use 
configuration interface.")
            python-docutils
            openssl))
     (arguments
-     (list #:configure-flags
-           #~(list "--disable-systemd-service"
-                   "--enable-external-ell"
-                   "--enable-hwsim"
-                   "--enable-tools"
-                   "--enable-wired"
-                   "--localstatedir=/var"
-                   (string-append "--with-dbus-datadir=" #$output "/share/")
-                   (string-append "--with-dbus-busdir="
-                                  #$output "/share/dbus-1/system-services"))
-           #:phases
-           #~(modify-phases %standard-phases
-               (add-after 'unpack 'copy-ell-header-files
-                 ;; Copy into the source tree two of ell's private header files
-                 ;; that it shares with iwd, as is required to build with the
-                 ;; "--enable-external-ell" configure option.  See the
-                 ;; definition of "ell_shared" in iwd's Makefile.am.
-                 (lambda* (#:key inputs #:allow-other-keys)
-                   (let ((ell-header-dir (search-input-directory inputs 
"/ell"))
-                         (target-dir "ell"))
-                     (mkdir target-dir)
-                     (for-each
-                      (lambda (file-name)
-                        (copy-file (string-append ell-header-dir "/" file-name)
-                                   (string-append target-dir "/" file-name)))
-                      '("asn1-private.h" "useful.h")))))
-               (add-after 'unpack 'patch-resolvconf-path
-                 (lambda* (#:key inputs #:allow-other-keys)
-                   (substitute* "src/resolve.c"
-                     (("getenv\\(\"PATH\"\\)")
-                      (format #f "\"~a\""
-                              (dirname (search-input-file
-                                        inputs "sbin/resolvconf")))))))
-               (add-after 'configure 'patch-Makefile
-                 (lambda _
-                   (substitute* "Makefile"
-                     ;; Don't try to 'mkdir /var'.
-                     (("\\$\\(MKDIR_P\\) -m 700") "true")))))))
+     (list
+      #:configure-flags
+      #~(list "--disable-systemd-service"
+              "--enable-external-ell"
+              "--enable-hwsim"
+              "--enable-tools"
+              "--enable-wired"
+              "--localstatedir=/var"
+              (string-append "--with-dbus-datadir=" #$output "/share/")
+              (string-append "--with-dbus-busdir="
+                             #$output "/share/dbus-1/system-services"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'copy-ell-header-files
+            ;; Copy into the source tree two of ell's private header files
+            ;; that it shares with iwd, as is required to build with the
+            ;; "--enable-external-ell" configure option.  See the
+            ;; definition of "ell_shared" in iwd's Makefile.am.
+            (lambda* (#:key inputs #:allow-other-keys)
+              (let ((ell-header-dir (search-input-directory inputs "/ell"))
+                    (target-dir "ell"))
+                (mkdir target-dir)
+                (for-each
+                 (lambda (file-name)
+                   (copy-file (string-append ell-header-dir "/" file-name)
+                              (string-append target-dir "/" file-name)))
+                 '("asn1-private.h" "useful.h")))))
+          (add-after 'unpack 'patch-resolvconf-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "src/resolve.c"
+                (("getenv\\(\"PATH\"\\)")
+                 (format #f "\"~a\""
+                         (dirname (search-input-file
+                                   inputs "sbin/resolvconf")))))))
+          (add-after 'configure 'patch-Makefile
+            (lambda _
+              (substitute* "Makefile"
+                ;; Don't try to 'mkdir /var'.
+                (("\\$\\(MKDIR_P\\) -m 700") "true")))))))
     (home-page "https://iwd.wiki.kernel.org/";)
     (synopsis "iNet Wireless Daemon")
     (description "iwd is a wireless daemon for Linux that aims to replace WPA

Reply via email to