summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:25:06 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:44:07 -0400
commit5fc9edc351d237dabf7b312859558fb788b1e5bc (patch)
tree5b2f19e871ee441263be86b184daf0d3eaf72ff2
parent62142016a4f3dd6aebc9e3f6f77360ccbc42d836 (diff)
downloadguix-5fc9edc351d237dabf7b312859558fb788b1e5bc.tar.gz
gnu: libnotify: Use gexps and remove input labels.
* gnu/packages/gnome.scm (libnotify) [arguments]: Delete trailing #t.
[native-inputs]: Delete input labels.
-rw-r--r--gnu/packages/gnome.scm48
1 files changed, 22 insertions, 26 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 35bdcd0698..9266c354cb 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3049,36 +3049,32 @@ configuring CUPS.")
          "0qa7cx6ra5hwqnxw95b9svgjg5q6ynm8y843iqjszxvds5z53h36"))))
     (build-system meson-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-docbook
-           (lambda* (#:key inputs #:allow-other-keys)
-             ;; Don't attempt to download XSL schema.
-             (substitute* "meson.build"
-               (("http://docbook.sourceforge.net/release/xsl-ns/current\
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-docbook
+            (lambda* (#:key inputs #:allow-other-keys)
+              ;; Don't attempt to download XSL schema.
+              (substitute* "meson.build"
+                (("http://docbook.sourceforge.net/release/xsl-ns/current\
 /manpages/docbook.xsl")
-                (string-append (assoc-ref inputs "docbook-xsl")
-                               "/xml/xsl/docbook-xsl-"
-                               ,(package-version docbook-xsl)
-                               "/manpages/docbook.xsl")))
-             #t)))))
-    (propagated-inputs
-     (list ;; In Requires of libnotify.pc.
-           gdk-pixbuf glib))
-    (inputs
-     (list gtk+ libpng))
+                 (string-append #$(this-package-native-input "docbook-xsl")
+                                "/xml/xsl/docbook-xsl-"
+                                #$(package-version docbook-xsl)
+                                "/manpages/docbook.xsl"))))))))
+    (propagated-inputs (list gdk-pixbuf glib)) ;in Requires of libnotify.pc.
+    (inputs (list gtk+ libpng))
     (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("glib" ,glib "bin")
-       ("gobject-introspection" ,gobject-introspection)
+     (list pkg-config
+           `(,glib "bin")
+           gobject-introspection
 
-       ;; For the documentation.
-       ("gtk-doc" ,gtk-doc/stable)
-       ("xsltproc" ,libxslt)
-       ("docbook-xsl" ,docbook-xsl)))
+           ;; For the documentation.
+           gtk-doc/stable
+           libxslt
+           docbook-xsl))
     (home-page "https://developer-next.gnome.org/libnotify/")
-    (synopsis
-     "GNOME desktop notification library")
+    (synopsis "GNOME desktop notification library")
     (description
      "Libnotify is a library that sends desktop notifications to a
 notification daemon, as defined in the Desktop Notifications spec.  These