diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-23 17:50:34 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-23 20:58:34 +0000 |
commit | 997248741734e91bfee8178f3cf0108f56853811 (patch) | |
tree | 323b82b248d74bf412aa9defc17e1758787ed8e4 | |
parent | 3b43d01c61f5da986c179fc368aff7f0afd5f5e5 (diff) | |
download | guix-997248741734e91bfee8178f3cf0108f56853811.tar.gz guix-997248741734e91bfee8178f3cf0108f56853811.zip |
gnu: magic-wormhole-mailbox-server: Simplify package.
* gnu/packages/magic-wormhole.scm (magic-wormhole-mailbox-server)
[build-system]: Swap to pyproject-build-system.
[arguments] <#:phases>: Remove 'patch-tests phase.
[native-inputs]: Add python-pytest.
Change-Id: I23085e927965c2191bad242a0fb07132cb30e99d
-rw-r--r-- | gnu/packages/magic-wormhole.scm | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm index 40d4773099..cbb785a199 100644 --- a/gnu/packages/magic-wormhole.scm +++ b/gnu/packages/magic-wormhole.scm @@ -41,18 +41,9 @@ (sha256 (base32 "1yw8i8jv5iv1kkz1aqimskw7fpichjn6ww0fq0czbalwj290bw8s")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-tests - (lambda _ - ;; This test requires network access. - (substitute* "src/wormhole_mailbox_server/test/test_web.py" - (("test_log_http") "disabled_test_log_http")) - #t))))) + (build-system pyproject-build-system) (native-inputs - (list python-mock)) + (list python-mock python-pytest)) (propagated-inputs (list python-attrs python-autobahn |