gnu: hangups: Run test suite.
authorEfraim Flashner <efraim@flashner.co.il>
Mon, 12 Apr 2021 12:14:12 +0000 (15:14 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Mon, 12 Apr 2021 12:16:58 +0000 (15:16 +0300)
* gnu/packages/messaging.scm (hangups)[arguments]: Use custom 'check
phase.

gnu/packages/messaging.scm

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