magic-wormhole: fix test for twisted 24.10.0 (#367669)

This commit is contained in:
Florian Klink
2024-12-28 14:56:00 +01:00
committed by GitHub
@@ -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
''