~ruther/guix-local

1434b4e6c78cf47ae0611a079098ef392cc2ea92 — Ian Eure 2 months ago cb927b5
gnu: python-pypresence: Update to 4.6.1 and fix the build.

* gnu/packages/messaging.scm (python-pypresence): Update to 4.6.1.
(native-inputs): Add build/test inputs.
(arguments): Declare the build backend.
(arguments): Disable tests.

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

M gnu/packages/messaging.scm
M gnu/packages/messaging.scm => gnu/packages/messaging.scm +20 -8
@@ 3368,14 3368,26 @@ Discord.")
(define-public python-pypresence
  (package
    (name "python-pypresence")
    (version "4.2.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "pypresence" version))
              (sha256
               (base32
                "0rp09lfxbc3syd1rhbai2516c3wyfxkzrsw8v4bd57qqr2cay7b9"))))
    (build-system python-build-system)
    (version "4.6.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pypresence" version))
       (sha256
        (base32
         "0krk217hq8m76m7n6kv60wkm9fmpm8am9kdk6yv85qdllcb9a685"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:build-backend "setuptools.build_meta"
      ;; Tests are broken, complaining "fixture 'client_id' not found."
      #:tests? #f))
    (native-inputs
     (list
      python-setuptools
      python-pytest
      python-pytest-asyncio
      python-wheel))
    (home-page "https://github.com/qwertyquerty/pypresence")
    (synopsis "Discord RPC client")
    (description "This package provides @code{python-pypresence}, a Discord