gnu: gammastep: Improve package style.

* gnu/packages/xdisorg.scm (gammastep)[arguments]: Use G-expressions.
This commit is contained in:
Nicolas Goaziou 2022-09-13 23:05:18 +02:00
parent b6a633920d
commit ebbf77bf49
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1593,17 +1593,17 @@ (define-public gammastep
(base32 "1rcciccnwhxh97wlr9gcirdxv33za369jsrgrfzcp3042824pm8i"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-python-and-typelib
(lambda* (#:key outputs #:allow-other-keys)
;; Gammastep GUI needs Typelib files from GTK and access
;; to Python libraries.
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/gammastep-indicator")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-python-and-typelib
(lambda _
;; Gammastep GUI needs Typelib files from GTK and access to
;; Python libraries.
(wrap-program (string-append #$output "/bin/gammastep-indicator")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix
(,(getenv "GI_TYPELIB_PATH")))))))))
(native-inputs
(list autoconf
automake