Skip to content

Commit

Permalink
magic-wormhole: fix test for twisted 24.10.0 (#367669)
Browse files Browse the repository at this point in the history
  • Loading branch information
flokli authored Dec 28, 2024
2 parents db5ca03 + dd15820 commit beaf689
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/development/python-modules/magic-wormhole/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,

# build-system
setuptools,
Expand Down Expand Up @@ -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
''
Expand Down

0 comments on commit beaf689

Please sign in to comment.