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,13 +1288,13 @@ (define-public pdfarranger
(base32 "1s0ysg8kfbrvwcr80vrsx7150ixa9v7pb4xm49s97nkiq5k69hal"))))
(build-system python-build-system)
(arguments
'(#:tests? #f ;no tests
(list
#:tests? #f ;no tests
#:phases
(modify-phases %standard-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")))
(lambda _
(let ((program (string-append #$output "/bin/pdfarranger")))
(wrap-program program
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH"))))))))))