gnu: grantlee: Use G-expressions.

* gnu/packages/qt.scm (grantlee)[arguments]:
Rewrite as G-expressions.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Zheng Junjie 2023-07-14 13:37:06 +08:00 committed by 宋文武
parent af943b8104
commit ad7eef01ad
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -302,12 +302,11 @@ (define-public grantlee
(list qtbase-5 qtdeclarative-5 qtscript)) (list qtbase-5 qtdeclarative-5 qtscript))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases (list #:phases #~(modify-phases %standard-phases
(modify-phases %standard-phases (add-before 'check 'check-setup
(add-before 'check 'check-setup (lambda _
(lambda _ ;; make Qt render "offscreen", required for tests
;; make Qt render "offscreen", required for tests (setenv "QT_QPA_PLATFORM" "offscreen"))))))
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
(home-page "https://github.com/steveire/grantlee") (home-page "https://github.com/steveire/grantlee")
(synopsis "Libraries for text templating with Qt") (synopsis "Libraries for text templating with Qt")
(description "Grantlee Templates can be used for theming and generation of (description "Grantlee Templates can be used for theming and generation of