gnu: pdfarranger: Improve package style.

* gnu/packages/pdf.scm (pdfarranger)[arguments]: Use G-expressions.
This commit is contained in:
Nicolas Goaziou 2022-10-10 23:24:51 +02:00
parent c05ef5cfc4
commit 40f23e8413
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1288,16 +1288,16 @@ (define-public pdfarranger
(base32 "1s0ysg8kfbrvwcr80vrsx7150ixa9v7pb4xm49s97nkiq5k69hal")))) (base32 "1s0ysg8kfbrvwcr80vrsx7150ixa9v7pb4xm49s97nkiq5k69hal"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:tests? #f ;no tests (list
#:phases #:tests? #f ;no tests
(modify-phases %standard-phases #:phases
(add-after 'install 'wrap-for-typelib #~(modify-phases %standard-phases
(lambda* (#:key inputs outputs #:allow-other-keys) (add-after 'install 'wrap-for-typelib
(let* ((out (assoc-ref outputs "out")) (lambda _
(program (string-append out "/bin/pdfarranger"))) (let ((program (string-append #$output "/bin/pdfarranger")))
(wrap-program program (wrap-program program
`("GI_TYPELIB_PATH" ":" prefix `("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))) (,(getenv "GI_TYPELIB_PATH"))))))))))
(native-inputs (native-inputs
(list intltool python-distutils-extra)) (list intltool python-distutils-extra))
(inputs (inputs