1{ lib, buildPythonPackage, fetchPypi, isPy3k, sqlalchemy }:
2
3buildPythonPackage rec {
4 pname = "telethon-session-sqlalchemy";
5 version = "0.2.14";
6
7 disabled = !isPy3k;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "94aaf98afc051b4e167783f3d972bd9b51ab736a1e45df100bf52984e53eebac";
12 };
13
14 propagatedBuildInputs = [
15 sqlalchemy
16 ];
17
18 # No tests available
19 doCheck = false;
20
21 meta = with lib; {
22 homepage = https://github.com/tulir/telethon-session-sqlalchemy;
23 description = "SQLAlchemy backend for Telethon session storage";
24 license = licenses.mit;
25 maintainers = with maintainers; [ nyanloutre ];
26 };
27}