diff --git a/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix b/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix index 20fa793a8a63..346f7de2b898 100644 --- a/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix +++ b/pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix @@ -23,5 +23,11 @@ buildPythonPackage rec { description = "SQLAlchemy backend for Telethon session storage"; license = licenses.mit; maintainers = with maintainers; [ nyanloutre ]; + + # Package requires SQLAlchemy <2 + # https://github.com/tulir/telethon-session-sqlalchemy/blob/d498503ddde332e190bfa47e70f0bfa59fe6b5ef/setup.py#L17 + # Repo is archived and so this is unlikely to change unless someone forks + # and takes over development + broken = versionAtLeast sqlalchemy.version "2"; }; }