mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 03:45:07 -06:00
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
This commit is contained in:
parent
69e548ee4a
commit
f99cc5b744
1 changed files with 11 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue