mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
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
This commit is contained in:
parent
3b43d01c61
commit
9972487417
1 changed files with 2 additions and 11 deletions
|
@ -41,18 +41,9 @@ (define-public magic-wormhole-mailbox-server
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue