gnu: kscreenlocker: Format with 'guix style'.
* gnu/packages/kde-plasma.scm (kscreenlocker): Adjust package formatting with 'guix style'. [arguments]: Use G-expressions, remove tail #t. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
bbf7c10e5d
commit
02f4e43b9f
1 changed files with 43 additions and 48 deletions
|
@ -835,14 +835,12 @@ an elegant and intuitive experience for your tasks and plasmoids.")
|
||||||
"0pgmy4dw41kim7syk4xb2n4g4iz3jjikhwnh3bjianl9h87rc12x"))))
|
"0pgmy4dw41kim7syk4xb2n4g4iz3jjikhwnh3bjianl9h87rc12x"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;; TODO: make tests pass
|
(list #:tests? #f ;TODO: make tests pass
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'check 'check-setup
|
(add-before 'check 'check-setup
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(system "Xvfb :1 -screen 0 640x480x24 &")
|
(system "Xvfb :1 -screen 0 640x480x24 &")
|
||||||
(setenv "DISPLAY" ":1")
|
(setenv "DISPLAY" ":1")))
|
||||||
#t))
|
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
;; Tests use the installed library and require a DBus session.
|
;; Tests use the installed library and require a DBus session.
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
|
@ -850,14 +848,11 @@ an elegant and intuitive experience for your tasks and plasmoids.")
|
||||||
(if tests?
|
(if tests?
|
||||||
(begin
|
(begin
|
||||||
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
||||||
(invoke "dbus-launch" "ctest")))
|
(invoke "dbus-launch" "ctest"))))))))
|
||||||
#t)))))
|
(native-inputs (list extra-cmake-modules pkg-config
|
||||||
(native-inputs
|
|
||||||
(list extra-cmake-modules pkg-config
|
|
||||||
;; For tests.
|
;; For tests.
|
||||||
dbus xorg-server-for-tests))
|
dbus xorg-server-for-tests))
|
||||||
(inputs
|
(inputs (list kcmutils
|
||||||
(list kcmutils
|
|
||||||
kconfig
|
kconfig
|
||||||
kcrash
|
kcrash
|
||||||
kdeclarative
|
kdeclarative
|
||||||
|
|
Reference in a new issue