gnu: pdfarranger: Improve package style.
* gnu/packages/pdf.scm (pdfarranger)[arguments]: Use G-expressions.
This commit is contained in:
parent
c05ef5cfc4
commit
40f23e8413
|
@ -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"))))))))))
|
||||
|
|
Loading…
Reference in a new issue