gnu: qtox: Update to 1.17.2.

* gnu/packages/messaging.scm (qtox): Update to 1.17.2.
[arguments]: Add phase to disable network tests.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Reza Alizadeh Majd 2020-06-14 17:52:34 +04:30 committed by Efraim Flashner
parent 1a2e3d940f
commit bd89d898c1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1121,14 +1121,14 @@ (define-public utox
(define-public qtox
(package
(name "qtox")
(version "1.16.3")
(version "1.17.2")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/qTox/qTox/archive/v"
version ".tar.gz"))
(sha256
(base32
"10n3cgw9xaqin9la8wpd8v83bkjmimicgbyp5ninsdgsrgky4hmq"))
"1b3a6d0k4780fwimi8l7mdbk280nilhhdmls17klapnfsp30zdi3"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system cmake-build-system)
(arguments
@ -1141,6 +1141,13 @@ (define-public qtox
(("__TIME__") "\"\"")
(("TIMESTAMP") "\"\""))
#t))
(add-after 'unpack 'disable-network-tests
(lambda _
;; These tests require network access.
(substitute* "cmake/Testing.cmake"
(("auto_test\\(core core\\)") "# auto_test(core core)")
(("auto_test\\(net bsu\\)") "# auto_test(net bsu)"))
#t))
;; Ensure that icons are found at runtime.
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)