gnu: hangups: Run test suite.

* gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
phase.
This commit is contained in:
Efraim Flashner 2021-04-12 15:14:12 +03:00
parent 2323a38b01
commit 29f205f7e0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2430,6 +2430,11 @@ (define-public hangups
(substitute* "setup.py"
(("==") ">=")
((",<.*'") "'"))
#t))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "hangups"))
#t)))))
(propagated-inputs
`(("python-aiohttp" ,python-aiohttp)