1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy3k, 6 sqlalchemy, 7}: 8 9buildPythonPackage rec { 10 pname = "telethon-session-sqlalchemy"; 11 version = "0.2.16"; 12 format = "setuptools"; 13 14 disabled = !isPy3k; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "f847c57302a102eb88e29ed95b8f4efa69582db2966fd806c21376b9a66ad4a8"; 19 }; 20 21 propagatedBuildInputs = [ sqlalchemy ]; 22 23 # No tests available 24 doCheck = false; 25 26 meta = with lib; { 27 homepage = "https://github.com/tulir/telethon-session-sqlalchemy"; 28 description = "SQLAlchemy backend for Telethon session storage"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ nyanloutre ]; 31 32 # Package requires SQLAlchemy <2 33 # https://github.com/tulir/telethon-session-sqlalchemy/blob/d498503ddde332e190bfa47e70f0bfa59fe6b5ef/setup.py#L17 34 # Repo is archived and so this is unlikely to change unless someone forks 35 # and takes over development 36 broken = versionAtLeast sqlalchemy.version "2"; 37 }; 38}