summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-10 23:24:51 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-10-10 23:25:53 +0200
commit40f23e8413f01252833759bc6b2fee9e884e77d3 (patch)
tree3712491e806fba394ffbe228b89fa37600c710c5 /gnu
parentc05ef5cfc4d9ba2a891cda5d05e0902f06a63e69 (diff)
downloadguix-40f23e8413f01252833759bc6b2fee9e884e77d3.tar.gz
gnu: pdfarranger: Improve package style.
* gnu/packages/pdf.scm (pdfarranger)[arguments]: Use G-expressions.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/pdf.scm20
1 files changed, 10 insertions, 10 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 72698a49a1..8c661d9f12 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -1288,16 +1288,16 @@ manage or manipulate PDFs.")
         (base32 "1s0ysg8kfbrvwcr80vrsx7150ixa9v7pb4xm49s97nkiq5k69hal"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f                      ;no tests
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'install 'wrap-for-typelib
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((out     (assoc-ref outputs "out"))
-                    (program (string-append out "/bin/pdfarranger")))
-               (wrap-program program
-                 `("GI_TYPELIB_PATH" ":" prefix
-                   (,(getenv "GI_TYPELIB_PATH"))))))))))
+     (list
+      #:tests? #f                       ;no tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'wrap-for-typelib
+            (lambda _
+              (let ((program (string-append #$output "/bin/pdfarranger")))
+                (wrap-program program
+                  `("GI_TYPELIB_PATH" ":" prefix
+                    (,(getenv "GI_TYPELIB_PATH"))))))))))
     (native-inputs
      (list intltool python-distutils-extra))
     (inputs