me
/
guix
Archived
1
0
Fork 0

gnu: mtxclient: Switch to new package style.

* gnu/packages/matrix.scm (mtxclient)[arguments]: Use g-exps.

Change-Id: I044faf4e25b9e5d282e9364070a7e24bb6f89b5e
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
master
Timotej Lazar 2024-07-20 08:57:27 +02:00 committed by Zheng Junjie
parent 01506708c8
commit 7794cf9a80
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 11 additions and 12 deletions

View File

@ -2431,19 +2431,18 @@ QMatrixClient project.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "10iidyxjk3w6cljw2r62i5azx84nw3p8hw97d8vy7r5gh1nrrrcn")))) (base32 "10iidyxjk3w6cljw2r62i5azx84nw3p8hw97d8vy7r5gh1nrrrcn"))))
(build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags
(list (list
;; Disable example binaries (not installed) #:configure-flags
"-DBUILD_LIB_EXAMPLES=OFF") #~(list "-DBUILD_LIB_EXAMPLES=OFF") ; disable example binaries (not installed)
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'configure 'disable-network-tests (add-before 'configure 'disable-network-tests
(lambda _ (lambda _
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)") (("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
"# add_test"))))))) "# add_test")))))))
(build-system cmake-build-system)
(inputs (inputs
(list boost (list boost
coeurl coeurl