mautrix-telegram: 0.12.2 -> unstable-2023-01-28

This commit is contained in:
Nick Cao 2023-01-14 20:11:14 +08:00
parent 7a382a6b58
commit 54468447bb
No known key found for this signature in database

View file

@ -9,28 +9,31 @@ let
python = python3.override { python = python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec {
version = "1.27.0a1"; version = "1.27.0a7";
pname = "tulir-telethon"; pname = "tulir-telethon";
src = super.fetchPypi { src = super.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-tABAY4UlTyMK1ZafIFawegjBAtcnq3HMNbE1L6WaT3E="; sha256 = "sha256-w4WILvLvJBKf3Nlj0omTCDDD4z+b0XFlCplQ/IHwIPs=";
}; };
doCheck = false; doCheck = false;
}); });
}; };
}; };
in python.pkgs.buildPythonPackage rec { in
python.pkgs.buildPythonPackage rec {
pname = "mautrix-telegram"; pname = "mautrix-telegram";
version = "0.12.2"; version = "unstable-2023-01-28";
disabled = python.pythonOlder "3.8"; disabled = python.pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mautrix"; owner = "mautrix";
repo = "telegram"; repo = "telegram";
rev = "v${version}"; rev = "f12abbe03846fd5897d58572ab24b70a58b337d2";
sha256 = "sha256-htCk0VLr6GfXbpYWF/2bmpko7gSVlkH6HwDjOMhW8is="; sha256 = "sha256-5ZZ85FOmTO26q2zhAIsF7mTlN4BLNLW2dQF+0culkUM=";
}; };
format = "setuptools";
patches = [ ./0001-Re-add-entrypoint.patch ]; patches = [ ./0001-Re-add-entrypoint.patch ];
propagatedBuildInputs = with python.pkgs; ([ propagatedBuildInputs = with python.pkgs; ([
@ -43,19 +46,24 @@ in python.pkgs.buildPythonPackage rec {
tulir-telethon tulir-telethon
asyncpg asyncpg
Mako Mako
# optional # speedups
cryptg cryptg
cchardet
aiodns aiodns
brotli brotli
# qr_login
pillow pillow
qrcode qrcode
# formattednumbers
phonenumbers phonenumbers
# metrics
prometheus-client prometheus-client
# sqlite
aiosqlite aiosqlite
] ++ lib.optionals withHQthumbnails [ ] ++ lib.optionals withHQthumbnails [
# hq_thumbnails
moviepy moviepy
] ++ lib.optionals withE2BE [ ] ++ lib.optionals withE2BE [
# e2be
python-olm python-olm
pycryptodome pycryptodome
unpaddedbase64 unpaddedbase64