diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix index 1f5fee4d71bb..d61140081ef1 100644 --- a/pkgs/development/python-modules/amqtt/default.nix +++ b/pkgs/development/python-modules/amqtt/default.nix @@ -26,6 +26,11 @@ buildPythonPackage rec { sha256 = "sha256-27LmNR1KC8w3zRJ7YBlBolQ4Q70ScTPqypMCpU6fO+I="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'websockets = "^9.0"' 'websockets = "^10.0"' + ''; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [