diff --git a/pkgs/development/python-modules/amqtt/default.nix b/pkgs/development/python-modules/amqtt/default.nix index 71c07c07cc9b..5e42a6ea1f5b 100644 --- a/pkgs/development/python-modules/amqtt/default.nix +++ b/pkgs/development/python-modules/amqtt/default.nix @@ -29,6 +29,11 @@ buildPythonPackage rec { hash = "sha256-8T1XhBSOiArlUQbQ41LsUogDgOurLhf+M8mjIrrAC4s="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'transitions = "^0.8.0"' 'transitions = "*"' + ''; + nativeBuildInputs = [ poetry-core ];