gnu: labplot: Update to 2.11.1.

* gnu/packages/kde.scm (labplot): Update to 2.11.1.
[arguments]: Use G-expressions.
<#:phases>: Adjust check phase.

Change-Id: Ic0fbcd989ea594a2fb684664f4837fd767d2b374
This commit is contained in:
Zheng Junjie 2025-01-10 11:52:07 +08:00 committed by Zheng Junjie
parent 81c36419e5
commit 33d2cccd8a
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -1714,31 +1714,33 @@ communicate with each other. Here's a few things KDE Connect can do:
(define-public labplot (define-public labplot
(package (package
(name "labplot") (name "labplot")
(version "2.10.1") (version "2.11.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/labplot" (uri (string-append "mirror://kde/stable/labplot"
"/labplot-" version ".tar.xz")) "/labplot-" version ".tar.xz"))
(sha256 (sha256
(base32 "1vyslapcjmq7bra3hbbkwrcy6z0cn8z5z2bvzzgy1dng2waihvib")))) (base32 "17b78s84hqq51chhzfx5in9b6ijkwa6xhq1y8sclscirvz46majk"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
`(#:configure-flags (list #:configure-flags
(list "-DENABLE_CANTOR=OFF" ;not packaged #~(list "-DENABLE_CANTOR=OFF" ;not packaged
"-DENABLE_MQTT=OFF" ;not packaged (qtmqtt) "-DENABLE_MQTT=OFF" ;not packaged (qtmqtt)
;; FIXME: readstat (optional dependency) is available in the ;; FIXME: readstat (optional dependency) is available in the
;; statistics module, but that module can't be used here. ;; statistics module, but that module can't be used here.
"-DENABLE_READSTAT=OFF" "-DENABLE_READSTAT=OFF"
;; This is a bundled library that is not packaged. ;; This is a bundled library that is not packaged.
"-DENABLE_LIBORIGIN=ON") "-DENABLE_LIBORIGIN=ON")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
;; This test fails, I don't know why. (setenv "HOME" (getcwd))
(invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest)"))))))) ;; This test fails, I don't know why.
(invoke "ctest" "-E" "(ParserTest|ReadStatFilterTest|\
WorksheetElementTest)")))))))
(native-inputs (list bison (native-inputs (list bison
extra-cmake-modules extra-cmake-modules
pkg-config pkg-config