python3Packages.hbmqtt: patch for websockets 9.0 compat
This commit is contained in:
@@ -18,6 +18,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/beerfactory/hbmqtt/pull/241
|
||||
substituteInPlace hbmqtt/adapters.py \
|
||||
--replace "websockets.protocol" "websockets.legacy.protocol"
|
||||
|
||||
# test tries to bind same port multiple times and fails
|
||||
rm tests/test_client.py
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user