summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/autobahn/default.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-12-11 19:43:55 +0100
committerJörg Thalheim <joerg@thalheim.io>2022-12-11 19:44:02 +0100
commit449fda63f5837443e6bfa3265efcb63a600c7728 (patch)
tree3cf2b822eacbbae0381f107ff0f94536ae99f615 /pkgs/development/python-modules/autobahn/default.nix
parente163fe09843b500ca9efc9a6b8d8f96fa2973fdd (diff)
python3.pkgs.autobahn: fix twisted compat
Diffstat (limited to 'pkgs/development/python-modules/autobahn/default.nix')
-rw-r--r--pkgs/development/python-modules/autobahn/default.nix9
1 files changed, 9 insertions, 0 deletions
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=";