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
parent
01506708c8
commit
7794cf9a80
|
@ -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"))))
|
||||||
(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)
|
(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
|
(inputs
|
||||||
(list boost
|
(list boost
|
||||||
coeurl
|
coeurl
|
||||||
|
|
Reference in New Issue