Archived
1
0
Fork 0

gnu: khealthcertificate: Update to 23.01.0.

* gnu/packages/kde-pim.scm (khealthcertificate): Update to 23.01.0.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Adjust the check phase.
This commit is contained in:
宋文武 2023-07-30 10:32:00 +08:00
parent f160a1bfae
commit 1da792f9fc
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -30,6 +30,7 @@
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages aidc) #:use-module (gnu packages aidc)
#:use-module (gnu packages base)
#:use-module (gnu packages boost) #:use-module (gnu packages boost)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages cyrus-sasl)
@ -956,24 +957,26 @@ cryptography to the contents of the clipboard.")
(define-public khealthcertificate (define-public khealthcertificate
(package (package
(name "khealthcertificate") (name "khealthcertificate")
(version "22.09") (version "23.01.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/plasma-mobile/" (uri (string-append "mirror://kde/stable/plasma-mobile/" version
(version-major+minor version)
"/khealthcertificate-" version ".tar.xz")) "/khealthcertificate-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"16vkjpyxwx34pvdpnci0l6mx2bdjialiscjvbdx53xbsq9ff701k")))) "193agd3jg029vcq1h5hdg3gw6zgqcmszl6ffcrid0ajbbiic4pbm"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list #:phases
#~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key inputs tests? #:allow-other-keys)
(when tests? (when tests?
(setenv "TZDIR"
(search-input-directory inputs "share/zoneinfo"))
(invoke "ctest" "-E" (invoke "ctest" "-E"
"(icaovdsparsertest|nlcoronacheckparsertest)"))))))) "(icaovdsparsertest|eudgcparsertest)")))))))
(native-inputs (list extra-cmake-modules pkg-config)) (native-inputs (list extra-cmake-modules pkg-config tzdata-for-tests))
(inputs (list karchive (inputs (list karchive
kcodecs kcodecs
ki18n ki18n