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))
(sha256
(base32 "10iidyxjk3w6cljw2r62i5azx84nw3p8hw97d8vy7r5gh1nrrrcn"))))
(arguments
`(#:configure-flags
(list
;; Disable example binaries (not installed)
"-DBUILD_LIB_EXAMPLES=OFF")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'disable-network-tests
(lambda _
(substitute* "CMakeLists.txt"
(("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
"# add_test")))))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DBUILD_LIB_EXAMPLES=OFF") ; disable example binaries (not installed)
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'disable-network-tests
(lambda _
(substitute* "CMakeLists.txt"
(("add_test\\((BasicConnectivity|ClientAPI|Devices|MediaAPI|Encryption|Pushrules)")
"# add_test")))))))
(inputs
(list boost
coeurl