diff --git a/pkgs/development/python-modules/magic-wormhole-transit-relay/default.nix b/pkgs/development/python-modules/magic-wormhole-transit-relay/default.nix index e92d2b0ec273..c58017f7bf77 100644 --- a/pkgs/development/python-modules/magic-wormhole-transit-relay/default.nix +++ b/pkgs/development/python-modules/magic-wormhole-transit-relay/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - fetchpatch, setuptools, autobahn, twisted, @@ -12,25 +11,16 @@ buildPythonPackage (finalAttrs: { pname = "magic-wormhole-transit-relay"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "magic-wormhole"; repo = "magic-wormhole-transit-relay"; tag = finalAttrs.version; - hash = "sha256-AKLmiOlxNDd8rxNeWTDTPxtSoEyTGZ5PMLgyVxcIHcg="; + hash = "sha256-UhV0M8Nl9Y850PQcJoDyIvIPRyBS8gyF2Ub9qF3aq0U="; }; - patches = [ - # TODO: drop when updating beyond version 0.4.0 - (fetchpatch { - name = "stock-Twisted-testing-reactor-seems-to-work.patch"; - url = "https://github.com/magic-wormhole/magic-wormhole-transit-relay/commit/3abb80fd5e55bd0ba8ee66278ccf76be5f904622.patch"; - hash = "sha256-qMaJ58kPWvEfnSZiFzxO6GlkBiyVMsgGDEa1deITZco="; - }) - ]; - postPatch = '' # Passing the environment to twistd is necessary to preserve Python's site path. substituteInPlace src/wormhole_transit_relay/test/test_backpressure.py --replace-fail \ @@ -42,7 +32,6 @@ buildPythonPackage (finalAttrs: { dependencies = [ autobahn - setuptools # pkg_resources is referenced at runtime twisted ];