magic-wormhole: fix test for twisted 24.10.0 (#367669)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -45,6 +46,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-BxPF4iQ91wLBagdvQ/Y89VIZBkMxFiEHnK+BU55Bwr4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# TODO: drop patch for magic-wormhole > 0.17.0
|
||||
# fix test for twisted 24.10.0 (https://github.com/magic-wormhole/magic-wormhole/pull/554)
|
||||
(fetchpatch {
|
||||
name = "fix-twisted-24.10.0.patch";
|
||||
url = "https://github.com/magic-wormhole/magic-wormhole/commit/d7353cad6fe9d43620a0de33a634f395757d2e5c.patch";
|
||||
hash = "sha256-mvgVFW3Fa2I8/39ron0bYYsJNm2r97jnLFCfhtHSIP0=";
|
||||
})
|
||||
];
|
||||
postPatch =
|
||||
# enable tests by fixing the location of the wormhole binary
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user