guix-patches
[Top][All Lists]
Advanced

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

[bug#68556] [PATCH gnome-team 02/25] gnu: gnome-shell-extension-hide-app


From: Vivien Kraus
Subject: [bug#68556] [PATCH gnome-team 02/25] gnu: gnome-shell-extension-hide-app-icon: Modernize style.
Date: Tue, 16 Jan 2024 22:31:02 +0100
User-agent: Evolution 3.48.4

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-hide-app-icon)
[arguments]: Convert to list of G-Expressions.

Change-Id: Ifd937163d7e7fce95c4bed1a2a856487ed225d2d
---
 gnu/packages/gnome-xyz.scm | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index f41048c55e..2488e93eb9 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -870,20 +870,19 @@ (define-public gnome-shell-extension-hide-app-icon
          (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
-       '(#:tests? #f                ; no test target
-         #:make-flags (list (string-append "EXTENSIONS_DIR="
-                                           (assoc-ref %outputs "out")
-                                           "/share/gnome-shell/extensions"))
-         #:phases
-         (modify-phases %standard-phases
-           (delete 'configure)      ; no configure script
-           (replace 'install
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out"))
-                     (pre "/share/gnome-shell/extensions/")
-                     (dir "hide-app-icon@mrapp.sourceforge.com"))
-                 (copy-recursively dir (string-append out pre dir))
-                 #t))))))
+       (list
+        #:tests? #f                ; no test target
+        #:make-flags #~(list (string-append "EXTENSIONS_DIR="
+                                            #$output
+                                            "/share/gnome-shell/extensions"))
+        #:phases
+        #~(modify-phases %standard-phases
+            (delete 'configure)      ; no configure script
+            (replace 'install
+              (lambda _
+                (let ((pre "/share/gnome-shell/extensions/")
+                      (dir "hide-app-icon@mrapp.sourceforge.com"))
+                  (copy-recursively dir (string-append #$output pre dir))))))))
       (native-inputs
        (list `(,glib "bin") intltool))
       (propagated-inputs
-- 
2.41.0





reply via email to

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