~ruther/guix-local

98101729837efa32843d8e584213e0df81faf3bd — Sharlatan Hellseher 2 years ago effadb3
gnu: hangups: Fix build.

* gnu/packages/messaging.scm (hangups): Fix build.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default check phase.
[native-inputs]: Add nss-certs-for-test, python-setuptools, and
python-wheel.

Change-Id: I00861c594156ef41b34892250b898f1ed585ae48
1 files changed, 8 insertions(+), 8 deletions(-)

M gnu/packages/messaging.scm
M gnu/packages/messaging.scm => gnu/packages/messaging.scm +8 -8
@@ 2590,7 2590,7 @@ QMatrixClient project.")
       (uri (pypi-uri "hangups" version))
       (sha256
        (base32 "12mq22lygh6vz2h5dpvyjk18hx3jphb4kkavqsy298c7hw60hn7l"))))
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases


@@ 2599,11 2599,13 @@ QMatrixClient project.")
           (lambda _
             (substitute* "setup.py"
               (("==") ">=")
               ((",<.*'") "'"))))
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "pytest" "hangups")))))))
               ((",<.*'") "'")))))))
    (native-inputs
     (list nss-certs-for-test
           python-httpretty
           python-pytest
           python-setuptools
           python-wheel))
    (propagated-inputs
     (list python-aiohttp
           python-appdirs


@@ 2615,8 2617,6 @@ QMatrixClient project.")
           python-reparser
           python-requests
           python-urwid))
    (native-inputs
     (list python-httpretty python-pytest))
    (home-page "https://hangups.readthedocs.io/")
    (synopsis "Instant messaging client for Google Hangouts")
    (description