diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index a6e6de722744..c18d3b2bb84f 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, fetchpatch , attrs , argon2-cffi , base58 @@ -53,6 +54,14 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; + patches = [ + (fetchpatch { + # https://github.com/crossbario/autobahn-python/pull/1604 + url = "https://github.com/crossbario/autobahn-python/commit/ffe679fae4ebcdde964d4ee88cb82a9c65c40529.patch"; + sha256 = "sha256-QNnQkxMZJsFbiYUp4Os+dWo7jdCa96+kyb/2HxSMU8k="; + }) + ]; + src = fetchPypi { inherit pname version; sha256 = "sha256-i0Yuouaq1rTcDtRfuAC2y/6wMl5/5pg5B/Ei8r5KH+k=";