diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-20 21:07:26 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-22 13:42:53 +0200 |
commit | 77c5302d1cdba1661d6c942647dd98d0bc7fb0fb (patch) | |
tree | de64546b7a8ec1293e5f025b5a579d535fe41664 /pkgs/development/python-modules/hbmqtt | |
parent | 53338e3402a57bbf8683f470a4a9aca2b72d515c (diff) | |
download | nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar.gz nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar.bz2 nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar.lz nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar.xz nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.tar.zst nixpkgs-77c5302d1cdba1661d6c942647dd98d0bc7fb0fb.zip |
python3Packages.hbmqtt: patch for websockets 9.0 compat
Diffstat (limited to 'pkgs/development/python-modules/hbmqtt')
-rw-r--r-- | pkgs/development/python-modules/hbmqtt/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hbmqtt/default.nix b/pkgs/development/python-modules/hbmqtt/default.nix index c457da91886..37a4762bfc1 100644 --- a/pkgs/development/python-modules/hbmqtt/default.nix +++ b/pkgs/development/python-modules/hbmqtt/default.nix @@ -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 ''; |