guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f99cc5b744216399638fe11d571bd22dade1f07f
Author: Vinicius Monego <[email protected]>
AuthorDate: Sun Jul 20 07:44:18 2025 -0300
gnu: magic-wormhole-transit-relay: Update to 0.4.0.
* gnu/packages/magic-wormhole.scm (magic-wormhole-transit-relay): Update
to 0.4.0.
[arguments]<#:phases>: Add phase 'fix-test' before 'check'.
[propagated-inputs]: Ad python-autobahn, python-service-identity.
Change-Id: Ibf0eb89561ef55d356d9b8338963a1ed4ba6e69b
---
gnu/packages/magic-wormhole.scm | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/magic-wormhole.scm b/gnu/packages/magic-wormhole.scm
index e373e919cd..cce44e9796 100644
--- a/gnu/packages/magic-wormhole.scm
+++ b/gnu/packages/magic-wormhole.scm
@@ -70,14 +70,14 @@ connection, or through a transit-relay.")
(define-public magic-wormhole-transit-relay
(package
(name "magic-wormhole-transit-relay")
- (version "0.2.1")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "magic-wormhole-transit-relay" version))
(sha256
(base32
- "0ppsx2s1ysikns1h053x67z2zmficbn3y3kf52bzzslhd2s02j6b"))))
+ "134yh50xyrr2jrws3w4q1gy660l0wnswj78ifxn2c48vl9fq6bci"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -89,14 +89,21 @@ connection, or through a transit-relay.")
(docs (string-append out
"/share/doc/magic-wormhole-transit-relay")))
(for-each (lambda (file)
(install-file file docs))
- (find-files "docs/"))))))))
+ (find-files "docs/")))))
+ (add-before 'check 'fix-test
+ (lambda _
+ ;; Fix for failing test (test_buffer_fills).
+ (substitute*
"src/wormhole_transit_relay/test/test_backpressure.py"
+ (("reactor\\.spawnProcess\\(proto, exe, args\\)")
+ "reactor.spawnProcess(proto, exe, args, None)")))))))
(native-inputs
(list python-mock
python-pytest
python-setuptools
python-wheel))
(propagated-inputs
- (list python-twisted))
+ ;; python-service-identity should be propagated from python-twisted.
+ (list python-autobahn python-service-identity python-twisted))
(home-page
"https://github.com/magic-wormhole/magic-wormhole-transit-relay")
(synopsis "Magic-Wormhole relay server")
(description